Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198638 - glibc 2.7 memmove re-definition / inline build failure
Summary: glibc 2.7 memmove re-definition / inline build failure
Status: RESOLVED DUPLICATE of bug 196926
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-10 10:35 UTC by Adrian Bassett
Modified: 2007-11-10 10:38 UTC (History)
0 users

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 Adrian Bassett 2007-11-10 10:35:41 UTC
glibc 2.7 fails to build on x86 using gcc-4.2.2

Reproducible: Always

Steps to Reproduce:
1.emerge glibc
2.
3.

Actual Results:  
Build fails because line 58 of strings3.h re-defines memmove.  I guess this is connected with gcc-4.2.2's changes with regard to inlining?  See 'Additional Information' for detailed failure ouput.

Expected Results:  
Successful build.

In file included from ../include/bits/string3.h:2,
                 from ../string/string.h:429,
                 from ../include/string.h:50,
                 from warning-nop.c:54:
../string/bits/string3.h:58: error: redefinition of 'memmove'
../string/string.h:59: warning: 'memset' declared inline after being called
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug/warning-nop.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7/work/glibc-2.7/debug'
make[1]: *** [debug/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7/work/glibc-2.7'
make: *** [all] Error 2
 * 
 * ERROR: sys-libs/glibc-2.7 failed.
 * Call stack:
 *           ebuild.sh, line 1701:  Called dyn_compile
 *           ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *           ebuild.sh, line   44:  Called src_compile
 *    glibc-2.7.ebuild, line  148:  Called eblit-run 'src_compile'
 *    glibc-2.7.ebuild, line  144:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  179:  Called toolchain-glibc_src_compile
 *   src_compile.eblit, line  122:  Called die
 * The specific snippet of code:
 *              make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed"
 *  The die message:
 *   make for default failed
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-10 10:38:53 UTC

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