Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 218627

Summary: dev-libs/elfutils-0.131-r1 compilation fails with gcc-4.3
Product: Gentoo Linux Reporter: Peter Volkov (RETIRED) <pva>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    

Description Peter Volkov (RETIRED) gentoo-dev 2008-04-20 18:56:32 UTC
Compilation of dev-libs/elfutils-0.131-r1 fails with the following error:

i686-pc-linux-gnu-gcc -D_GNU_SOURCE -DHAVE_CONFIG_H  -DSRCDIR=\"/var/tmp/portage/dev-libs/elfutils-0.131-r1/work/elfutils-0.131/src\" -DOBJDIR=\"/var/tmp/portage/dev-libs/elfutils-0.131-r1/work/elfutils-0.131/src\" -I. -I.. -I. -I./../libelf -I./../libebl -I./../libdw -I./../libdwfl -I./../lib -I..   -Wall -Wshadow -std=gnu99    -Wformat=2  -O2 -march=i686 -pipe -mtune=i686 -MT ldgeneric.o -MD -MP -MF .deps/ldgeneric.Tpo -c -o ldgeneric.o ldgeneric.c
ldgeneric.c:163: error: redefinition of 'linked_from_dso_p'
ld.h:1092: error: previous definition of 'linked_from_dso_p' was here
make: *** [ldgeneric.o] Error 1
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2008-04-20 18:58:06 UTC
Seems that it's trivial to fix, just remove unnecessary function declaration either from ld.h or ldgeneric.c, but I'm not sure what declaration should be removed, so no patch.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-20 19:14:38 UTC
Dupe of bug 204610 ?
Comment 3 SpanKY gentoo-dev 2008-04-20 19:38:52 UTC

*** This bug has been marked as a duplicate of bug 204610 ***