Bugzilla – Bug 15718
[master bug] gcc 4.5
Last modified: 2024-01-17 11:46:18 UTC
There are no significant changes this time, so it is less likely to break spells. I (and Florian) had to remove the CXX=/bin/false prefix to configure AND dispel g++ to get g++ 4.5.0 to compile (rc1 and final). The first part broke the build with or without the previous version of g++ installed. The line was added to combat the dreaded "compiler cannot create executables", but doesn't help anymore, because it breaks the configure's cpp (preprocessor) check. The fact that we had to dispel g++ is bad too, so maybe we should fix the regression in the upstream configure instead. There is also a minor annoyance with ldconfig, but it is purely cosmetic: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41816
Did you try to cast glibc with gcc 4.5? Fails for me...
I couldn't get g++ to find a valid /bin/cpp whether or not I removed CXX=/bin/false in g++/BUILD. I haven't done any more testing to try and get this fixed.
Did you dispel g++ too?
(In reply to comment #3) > Did you dispel g++ too? I believe so before I even built gcc, but I'll try again and make sure.
I dispelled g++ before even casting gcc and that gets my g++ 4.5.0 cast to get further (still compiling, so we'll see if it finishes). I also removed the CXX=/bin/false from g++/BUILD.
Just wondering... as this crap with mismatch of g++ comes up again: What about the merged-gcc branch? We could integrate that one and dispense with the separate gcc spells, which mainly increase build time and cause trouble. GCC doesn't really like being cut into pieces... do we need to enforce this?
(In reply to comment #6) > Just wondering... as this crap with mismatch of g++ comes up again: What about > the merged-gcc branch? We could integrate that one and dispense with the > separate gcc spells, which mainly increase build time and cause trouble. > GCC doesn't really like being cut into pieces... do we need to enforce this? No we don't... the reason at the time was lack of sub depends. We have those now. The merged gcc branch needs some extra work to ensure a good transition, possibly any bugfixes since then and we can go with it.
Too old to be useful.