: /mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/rtld-libc.aT
mv -f /mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/rtld-libc.aT /mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/rtld-libc.a
make[3]: Leaving directory `/mnt/store/build/portage/sys-libs/glibc-2.6/work/glibc-2.6/elf'
x86_64-pc-linux-gnu-gcc -Wl,--sort-common -Wl,-zcombreloc -Wl,-O1 -Wl,-zrelro -Wl,--hash-style=both -nostdlib -nostartfiles -r -o /mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os '-Wl,-(' /mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/dl-allobjs.os /mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/rtld-libc.a -lgcc '-Wl,-)' \
-Wl,-Map,/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os.map
x86_64-pc-linux-gnu-gcc -Wl,--sort-common -Wl,-zcombreloc -Wl,-O1 -Wl,-zrelro -Wl,--hash-style=both -nostdlib -nostartfiles -shared -Wl,-z,now \
-Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs -Wl,--verbose 2>&1 | \
LC_ALL=C \
sed -e '/^=========/,/^=========/!d;/^=========/d' \
-e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
> /mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so.lds
x86_64-pc-linux-gnu-gcc -Wl,--sort-common -Wl,-zcombreloc -Wl,-O1 -Wl,-zrelro -Wl,--hash-style=both -nostdlib -nostartfiles -shared -o /mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so \
-Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs -Wl,-z,now \
/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os -Wl,--version-script=/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/ld.map \
-Wl,-soname=ld-linux.so.2 -T /mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so.lds
/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `_dl_lookup_symbol_x':
(.text+0xb238): undefined reference to `__sync_fetch_and_add_4'
/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `_dl_lookup_symbol_x':
(.text+0xb29a): undefined reference to `__sync_val_compare_and_swap_4'
/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `_dl_profile_fixup':
(.text+0xef6c): undefined reference to `__sync_val_compare_and_swap_4'
/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `_dl_profile_fixup':
(.text+0xefd0): undefined reference to `__sync_fetch_and_add_4'
/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `_dl_fixup':
(.text+0xf237): undefined reference to `__sync_val_compare_and_swap_4'
/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `_dl_fixup':
(.text+0xf29a): undefined reference to `__sync_fetch_and_add_4'
/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `dl_open_worker':
dl-open.c:(.text+0x147d8): undefined reference to `__sync_val_compare_and_swap_4'
dl-open.c:(.text+0x147fb): undefined reference to `__sync_fetch_and_add_4'
/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `_dl_close_worker':
(.text+0x15b69): undefined reference to `__sync_val_compare_and_swap_4'
/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.os: In function `_dl_close_worker':
(.text+0x15b8f): undefined reference to `__sync_fetch_and_add_4'
collect2: ld returned 1 exit status
make[2]: *** [/mnt/store/build/portage/sys-libs/glibc-2.6/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so] Error 1
make[2]: Leaving directory `/mnt/store/build/portage/sys-libs/glibc-2.6/work/glibc-2.6/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/store/build/portage/sys-libs/glibc-2.6/work/glibc-2.6'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.6 failed.
Call stack:
ebuild-daemon.sh, line 191: Called execute_phases 'compile'
ebuild.sh, line 623: Called dyn_compile
ebuild-default-functions.sh, line 255: Called src_compile
ebuild.sh, line 4150: Called src_compile
ebuild.sh, line 4160: Called toolchain-glibc_src_compile
!!! make for x86 failed
!!! If you need support, post the topmost build error, NOT this status message.