Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] can't compile glibc-2.12.2 !!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ial
Apprentice
Apprentice


Joined: 27 Dec 2008
Posts: 161
Location: Warsaw (Warszawa)

PostPosted: Tue Jan 25, 2011 10:07 pm    Post subject: [SOLVED] can't compile glibc-2.12.2 !!! Reply with quote

Again, after routine system update (previuos was 2 weeks ago), now 'emerge -vuDN system' wants to emerge glibc-2.12.2 but the compilation derails, the last moments are:
Code:
a - login/getutline_r.os
a - login/utmp_file.os
a - login/utmpname.os
a - login/updwtmp.os
a - login/getpt.os
a - login/grantpt.os
a - login/unlockpt.os
a - login/ptsname.os
a - login/setutxent.os
a - login/getutxent.os
a - login/endutxent.os
a - login/getutxid.os
a - login/getutxline.os
a - login/pututxline.os
a - login/utmpxname.os
a - login/updwtmpx.os
a - login/getutmpx.os
a - login/getutmp.os
a - elf/dl-iteratephdr.os
a - elf/dl-addr.os
a - elf/dl-profstub.os
a - elf/dl-libc.os
a - elf/dl-sym.os
a - elf/dl-tsd.os
a - elf/dl-vdso.os
: /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc_pic.a
x86_64-pc-linux-gnu-gcc -Wl,-O1  -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,-z,combreloc  -nostdlib -nostartfiles -r -o /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/librtld.map.o '-Wl,-(' /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/dl-allobjs.os /var/tmp/portage/sys-libs/glibc-2.12.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/librtld.mapT
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc_pic.a(init-first.os):(.data+0x0): multiple definition of `__libc_multiple_libcs'
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/dl-allobjs.os:(.bss+0xe8): first defined here
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc_pic.a(dl-addr.os): In function `_dl_addr_inside_object':
dl-addr.c:(.text+0x0): multiple definition of `_dl_addr_inside_object'
/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/dl-allobjs.os:(.text+0x11ce0): first defined here
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.12.2/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/librtld.map] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2'
make: *** [all] Error 2
emake failed
 * ERROR: sys-libs/glibc-2.12.2 failed:
 *   make for amd64 failed
 *
 * Call stack:
 *           ebuild.sh, line   56:  Called src_compile
 *         environment, line 3837:  Called eblit-run 'src_compile'
 *         environment, line 1222:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  202:  Called src_compile
 *         environment, line 3837:  Called eblit-run 'src_compile'
 *         environment, line 1222:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  210:  Called toolchain-glibc_src_compile
 *   src_compile.eblit, line  124:  Called die
 * The specific snippet of code:
 *              emake || die "make for ${ABI} failed"
 *
 * If you need support, post the output of 'emerge --info =sys-libs/glibc-2.12.2',
 * the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.12.2'.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.12.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.12.2/temp/environment'.
 * S: '/var/tmp/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2'
                   
 >>> Failed to emerge sys-libs/glibc-2.12.2, Log file:
                   
 >>>  '/var/tmp/portage/sys-libs/glibc-2.12.2/temp/build.log'


revdep-rebuild and perl-cleaner have made no difference.

PLEASE, HELP!


Last edited by ial on Tue Jan 25, 2011 10:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
ial
Apprentice
Apprentice


Joined: 27 Dec 2008
Posts: 161
Location: Warsaw (Warszawa)

PostPosted: Tue Jan 25, 2011 10:46 pm    Post subject: Reply with quote

already solved, the problem was trivial: "-march=core2" instead of "-march=nocona"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum