NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.35k stars 13.59k forks source link

gcc 3.x broken by glibc update #369

Closed peti closed 11 years ago

peti commented 11 years ago

Both gcc 3.3.6 and 3.4.6 fail to compile after the recent glibc update:

../../gcc-3.4.6/gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../gcc-3.4.6/gcc/unwind-dw2.c:1031: error: field `info' has incomplete type

Building gcc 3.3.6 is important, because it provides the ancient libstdc++.so.5 library that some software still needs.

viric commented 11 years ago

On Mon, Mar 11, 2013 at 03:57:53AM -0700, Peter Simons wrote:

Both gcc 3.3.6 and 3.4.6 fail to compile after the recent glibc update:

../../gcc-3.4.6/gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../gcc-3.4.6/gcc/unwind-dw2.c:1031: error: field `info' has incomplete type

Building gcc 3.3.6 is important, because it provides the ancient libstdc++.so.5 library that some software still needs.

The java netscape plugin, for example.

viric commented 11 years ago

I'll try to work on it today

viric commented 11 years ago

I tried and failed. I tried to get it have the siginfo_t definition (the info of incomplete type in http://hydra.nixos.org/build/4305372/nixlog/1/tail-reload), but that depends on some _POSIX_C_SOURCE definitions and more, and other things didn't go on. No idea.

vcunat commented 11 years ago

I googled a bit and probably fixed all the gcc33 and gcc34 problems. Some depending packages also built on my machine, so I suppose it's fine now.

I originally didn't know these versions were still useful. Review or try your use cases and comment or close this, please.

viric commented 11 years ago

On Sat, Mar 16, 2013 at 01:34:45PM -0700, Vladimír Čunát wrote:

I googled a bit and probably fixed all the gcc43 and gcc44 problems. Some depending packages also built on my machine, so I suppose it's fine now.

I originally didn't know these versions are still useful. Review or try your use cases and comment or close this, please.

Great! Thank you!

vcunat commented 11 years ago

You're welcome :-)

peti commented 11 years ago

snx now builds again. Great job, vcunat. Thank you very much, you are my hero!