Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218603 - sys-devel/gcc-4.3.0 should depend on >=glibc-2.7-r2 (at least for amd64)
Summary: sys-devel/gcc-4.3.0 should depend on >=glibc-2.7-r2 (at least for amd64)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/bugzilla/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-20 16:10 UTC by Samuli Suominen (RETIRED)
Modified: 2008-06-09 18:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2008-04-20 16:10:01 UTC
background:

16:39 <@drac> SpanKY: gcc-4.3 ebuild could use an elibc_glibc? ( amd64? ( >=sys-libs/glibc-2.7-r2 ) ) 
16:40 <@drac> SpanKY: it fails to build with previous ones
16:40 <@drac> SpanKY: at least on amd64
16:40 <@drac> bonsaikitten: ^
16:41 <+bonsaikitten> drac: thanks
16:42 <@grobian> drac: isn't that a weird requirement?
16:42 <@drac> is a dep. which prevents user hitting a obscure compile error weird?
16:42 <@drac> or practical?
16:43 <@grobian> I mean, the dep doesn't feel right, gcc should compile on an older system too
16:43 <@grobian> that it doesn't is another thing
16:43 <@drac> well, it's /var/tmp/portage/sys-devel/gcc-4.3.0/work/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/char_traits.h:295: 
              error: 'EOF' was not declared in this scope
16:43 <@drac> reproduced by me, just hit by bonsaikitten
16:44 <@drac> with 2.6.1
16:44 <@drac> which is the current stable on amd64
16:44 <@grobian> so, fix-includes is borkened?
16:45 <@grobian> http://gcc.gnu.org/ml/gcc-bugs/2007-02/msg02468.html
16:45 <@dirtyepic> 4.3 requires glibc-2.7-r2
16:46 <@dirtyepic> that's the first version where the multilib stuff is fixed
16:46 <@grobian> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30915
16:46 <@grobian> #28 :) lol
16:47 <@drac> haha
16:47 <@drac> :/
16:47 <@drac> but the dep makes sense now :)
16:47 <@grobian> (different jakub, beware)
16:49 <@grobian> bonsaikitten: did you try the patch from that bug?
16:49 <+bonsaikitten> grobian: no, I just updated glibc and things started working
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2008-05-02 14:30:00 UTC
Same on ia64
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2008-05-03 11:40:30 UTC
Bah, i understood it backwards. glibc fails to compile on ia64 with gcc-4.3. I need to investigate it.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2008-06-09 18:56:11 UTC
21:41 <+CIA-8> vapier * gentoo-x86/sys-devel/gcc/ (gcc-4.3.1.ebuild ChangeLog): 
21:41 <+CIA-8> Force newer glibc on amd64 to workaround multilib header issue.
21:41 <+CIA-8> (Portage version: 2.2_pre7-r1/cvs/Linux 2.6.25 AMD Athlon(tm) 64 
               X2 Dual Core Processor 4200+)