Author Topic: Test build of GCC 4.7.3 available  (Read 13013 times)

Paul Smedley

  • Sr. Member
  • ****
  • Thank You
  • -Given: 11
  • -Receive: 46
  • Posts: 354
    • View Profile
Test build of GCC 4.7.3 available
« on: August 18, 2013, 11:40:13 am »
Hi All,

I've compiled GCC 4.7.3 including the patches from the recent builds of GCC 4.5.4 and it seems to be working reasonably well based on the example builds I've tried.

The build can be downloaded from: https://dl.dropboxusercontent.com/u/76425158/gcc-4.7.3-os2-20130818.zip and feedback is appreciated.

Per my other GCC builds, it requires an installed libc development environment.

Cheers,

Paul.



Paul Smedley

  • Sr. Member
  • ****
  • Thank You
  • -Given: 11
  • -Receive: 46
  • Posts: 354
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #1 on: August 31, 2013, 06:27:04 am »
Not that it seems that too many people care (based on the level of response to the initial build), but an updated build is coming.

Found/fixed some bugs that have been around for a while in my previous GCC 4.x builds.

Firefox 10.12ESR built with this now compiles/starts, GCC can build itself, and I'm mostly through building Qt4. I think it's getting pretty solid now.

GCC 4.7.x is likely to be the last release of GCC I will build, as with GCC 4.8.x they moved to a C++ implementation for the compiler, so the patches would need to be completely rewritten for GCC 4.8.  Based on the levels of interest in the OS and developer tools....... I will continue to investigate bugs in this and other GCC releases I've done, as well as bump the version for any further GCC minor releases (ie GCC 4.7.4)

Greg Pringle

  • Jr. Member
  • **
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 77
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #2 on: August 31, 2013, 04:08:18 pm »
Hello Paul:
 I greatly appreciate the compiler work you have done. I have used many of the versions with success.
Please keep them coming. In the past I have contributed, maybe you need some more :-)

I have been swamped and have not had time to test the test-build you just posted.

greg

Doug Bissett

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 38
  • Posts: 928
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #3 on: August 31, 2013, 05:52:14 pm »
Quote
Not that it seems that too many people care (based on the level of response to the initial build)

Paul, you should know by now, that three things come into play here:

1) People don't say anything when something works. When it doesn't work, most users assume that they are doing something wrong, and will spend some time trying to figure it out for themselves, before reporting a problem.

2) It is nearing the end of summer, in the northern hemisphere, so people are busy enjoying what is left of it, leaving little time for #1..

3). EVERYBODY is waiting for eCS 2.2 to show up again. (Hopefully, they get it right this time).

FWIW, I downloaded your previous attempt, meaning to get around to trying it, but #2 has intervened. Now, I will wait for your new version, and I still won't have the time to try it out. #3 will take priority, when it shows up.

Never fear. ALL eCS (OS/2) users appreciate what you do.

Paul Smedley

  • Sr. Member
  • ****
  • Thank You
  • -Given: 11
  • -Receive: 46
  • Posts: 354
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #4 on: September 01, 2013, 12:45:36 am »
G'day Greg,

I greatly appreciate the compiler work you have done. I have used many of the versions with success.
Please keep them coming. In the past I have contributed, maybe you need some more :-)

I have been swamped and have not had time to test the test-build you just posted.

Appreciate all of your past contributions.  I'll keep maintaining the current releases - but I think GCC 4.7.x will be able to serve the remaining OS/2 developers for some time yet. Heck GCC 3.3.x was years out of date when I first compiled a GCC 4.x version.

Mick Head

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 3
  • Posts: 45
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #5 on: September 01, 2013, 02:33:08 am »
I too appreciate your efforts, Paul.  Been waiting on 2.2 from mensys

Paul Smedley

  • Sr. Member
  • ****
  • Thank You
  • -Given: 11
  • -Receive: 46
  • Posts: 354
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #6 on: September 01, 2013, 11:42:52 am »
Updated build @ https://dl.dropboxusercontent.com/u/76425158/gcc-4.7.3-os2-20130901.zip

Changelog:
- 20130818 - Initial GCC 4.7.3 release (c/c++ only)
- Fixed crashes of some executables compiled with GCC 4.7.3
- Fixed support for linker options like '-Zlinker "DISABLE 1058,1121"'
- Fixed garbage in libstdc++.la breaking support for static-libgcc with c++ apps
- Fixed 'g++ -shared xxx.o' generates -lm.dll not xxx.dll
- Probably some other stuff I forget
- 20130901 - 2nd Public GCC 4.7.3 build (c/c++ only)

Doing a build now with Fortran and Go enabled

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 7
  • -Receive: 87
  • Posts: 1098
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #7 on: September 02, 2013, 06:56:28 pm »
Tested by running the FFMpeg FATE test-suite. With 4.4.6 and a P4 all tests pass. With a core2duo (now dead) and 4.4.6 there were perhaps a dozen failures, probably related to SSE3 alignment issues (possibly nasm bugs?). With 4.7.3 there were quite a few errors including hangs forcing me to kill the script.
To test, clone master, configure with something like configure --enable-gpl --disable-debug --disable-doc --samples=/fate.ffmpeg/fate-suite --enable-os2threads --cpu=i686
make && make fate-rsync && make fate.
Need the --cpu=i686 to pull in the GCC atomics. I'd guess the problems are alignment related but could be related to the GCC atomic operations.

Paul Smedley

  • Sr. Member
  • ****
  • Thank You
  • -Given: 11
  • -Receive: 46
  • Posts: 354
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #8 on: September 04, 2013, 11:59:55 am »
New release:
https://dl.dropboxusercontent.com/u/76425158/gcc-4.7.3-os2-20130904.zip

- Fixed -Zmap to allow optional parameters
- Added legacy -Zmt and -Zmtd as allowed options
- 20130904 - 3rd Public GCC 4.7.3 build (c/c++ only)

Paul Smedley

  • Sr. Member
  • ****
  • Thank You
  • -Given: 11
  • -Receive: 46
  • Posts: 354
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #9 on: September 07, 2013, 09:52:35 am »
New build of GCC 4.7.3 and also binutils 2.23.2 added to http://os2ports.smedley.id.au

Thanks for those that took the time to test provide feedback. (+ve and -ve)

Paul Smedley

  • Sr. Member
  • ****
  • Thank You
  • -Given: 11
  • -Receive: 46
  • Posts: 354
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #10 on: September 07, 2013, 12:15:51 pm »
I also built Python 2.7.5 today - http://smedley.id.au/tmp/python-2.7.5-os2-20130907.zip

Not on my site yet as it has had minimal testing

Ian Manners

  • Global Moderator
  • Full Member
  • *****
  • Thank You
  • -Given: 29
  • -Receive: 17
  • Posts: 239
  • I am the computer, it is me.
    • View Profile
    • OS/2 Site
Re: Test build of GCC 4.7.3 available
« Reply #11 on: September 07, 2013, 06:40:15 pm »
Hi Paul,

Thanks for all your work, just want to add my voice to those you are letting you know that we appreciate it greatly :)
Cheers
Ian B Manners

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 7
  • -Receive: 87
  • Posts: 1098
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #12 on: September 07, 2013, 09:15:54 pm »
Hi Paul, also a thanks here though everytime I download a build, you post a new one :)
Can you brand your builds, perhaps with the date? I see other builds with things like,
gcc 4.0.1 (GCC) (Apple Inc. build 5493)
gcc 4.4.7 (FreeBSD Ports Collection) 20111108 (prerelease)
gcc 4.4.5 (Debian 4.4.5-8)
and such. Perhaps a version.h or configure option?
Thanks

Paul Smedley

  • Sr. Member
  • ****
  • Thank You
  • -Given: 11
  • -Receive: 46
  • Posts: 354
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #13 on: September 07, 2013, 11:10:07 pm »
HI Dave,

Will see what I can do - I think GCC 3.3.5 had something similar too...

Still need to investigate your ffmpeg issue too.

Cheers,

Paul

Paul Smedley

  • Sr. Member
  • ****
  • Thank You
  • -Given: 11
  • -Receive: 46
  • Posts: 354
    • View Profile
Re: Test build of GCC 4.7.3 available
« Reply #14 on: September 08, 2013, 12:05:45 am »
fate tests fail here with:
Test eval failed. Look at tests/data/fate/eval.err for details.

http://smedley.id.au/tmp/eval.err