Bug 15718 - [master bug] gcc 4.5
: [master bug] gcc 4.5
Status: RESOLVED WORKSFORME
Product: Codex
Classification: Unclassified
Component: gnu
: devel grimoire
: All Linux
: P3 normal
Assigned To: Grimoire Bug List
http://gcc.gnu.org/gcc-4.5/changes.html
Depends on: 15720 15721 15723 15719
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-24 11:23 UTC by Jaka Kranjc
Modified: 2024-01-17 11:46 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaka Kranjc 2010-05-24 11:23:21 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
Comment 1 Florian Franzmann 2010-05-24 11:50:20 UTC
Did you try to cast glibc with gcc 4.5? Fails for me...
Comment 2 Eric Sandall 2010-05-24 12:48:04 UTC
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.
Comment 3 Jaka Kranjc 2010-05-24 16:52:31 UTC
Did you dispel g++ too?
Comment 4 Eric Sandall 2010-05-24 19:14:29 UTC
(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.
Comment 5 Eric Sandall 2010-05-25 18:38:01 UTC
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.
Comment 6 Thomas Orgis 2010-05-27 08:38:51 UTC
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?
Comment 7 Andraž 'ruskie' Levstik 2010-05-27 08:48:40 UTC
(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.
Comment 8 Ismael Luceno 2024-01-17 11:46:18 UTC
Too old to be useful.