Bug 10463 - compile error
Summary: compile error
Status: RESOLVED DUPLICATE of bug 333
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.10
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-30 05:25 UTC by yangyycc
Modified: 2014-07-01 07:28 UTC (History)
1 user (show)

See Also:
Host: redflag linux desktop 6 sp2,linux kernel 2.6.30.3 or 2.6.27,gcc
Target: redflag linux desktop 6 sp2,linux kernel 2.6.30.3 or 2.6.27,gcc
Build: redflag linux desktop 6 sp2,linux kernel 2.6.30.3 or 2.6.27,gcc
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yangyycc 2009-07-30 05:25:57 UTC
gcc   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs -Wl,-dynamic-
linker=/rj/glibc/lib/ld-linux.so.2  -B/rjaz/glibcpz/csu/  -Wl,--version-
script=/rjaz/glibcpz/libc.map -Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-
z,relro -Wl,--hash-style=both -nostdlib -nostartfiles -e __libc_main -
L/rjaz/glibcpz -L/rjaz/glibcpz/math -L/rjaz/glibcpz/elf -L/rjaz/glibcpz/dlfcn -
L/rjaz/glibcpz/nss -L/rjaz/glibcpz/nis -L/rjaz/glibcpz/rt -
L/rjaz/glibcpz/resolv -L/rjaz/glibcpz/crypt -L/rjaz/glibcpz/nptl -Wl,-rpath-
link=/rjaz/glibcpz:/rjaz/glibcpz/math:/rjaz/glibcpz/elf:/rjaz/glibcpz/dlfcn:/rja
z/glibcpz/nss:/rjaz/glibcpz/nis:/rjaz/glibcpz/rt:/rjaz/glibcpz/resolv:/rjaz/glib
cpz/crypt:/rjaz/glibcpz/nptl -o /rjaz/glibcpz/libc.so -
T /rjaz/glibcpz/shlib.lds /rjaz/glibcpz/csu/abi-
note.o /rjaz/glibcpz/elf/soinit.os /rjaz/glibcpz/libc_pic.os /rjaz/glibcpz/elf/s
ofini.os /rjaz/glibcpz/elf/interp.os /rjaz/glibcpz/elf/ld.so -lgcc
/rjaz/glibcpz/libc_pic.os: In function `__libc_fork':
/rjaz/glibc-2.10.1/posix/../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:79: 
undefined reference to `__sync_bool_compare_and_swap_4'
/rjaz/glibcpz/libc_pic.os: In function `__nscd_drop_map_ref':
/rjaz/glibc-2.10.1/nscd/nscd-client.h:320: undefined reference to 
`__sync_fetch_and_add_4'
/rjaz/glibcpz/libc_pic.os: In function `nscd_getpw_r':
/rjaz/glibc-2.10.1/nscd/nscd_getpw_r.c:232: undefined reference to 
`__sync_fetch_and_add_4'
/rjaz/glibcpz/libc_pic.os: In function `__nscd_drop_map_ref':
/rjaz/glibc-2.10.1/nscd/nscd-client.h:320: undefined reference to 
`__sync_fetch_and_add_4'
/rjaz/glibcpz/libc_pic.os: In function `nscd_getgr_r':
/rjaz/glibc-2.10.1/nscd/nscd_getgr_r.c:321: undefined reference to 
`__sync_fetch_and_add_4'
/rjaz/glibcpz/libc_pic.os: In function `__nscd_drop_map_ref':
/rjaz/glibc-2.10.1/nscd/nscd-client.h:320: undefined reference to 
`__sync_fetch_and_add_4'
/rjaz/glibcpz/libc_pic.os:/rjaz/glibc-2.10.1/nscd/nscd_gethst_r.c:413: more 
undefined references to `__sync_fetch_and_add_4' follow
/rjaz/glibcpz/libc_pic.os: In function `__nscd_get_map_ref':
/rjaz/glibc-2.10.1/nscd/nscd_helper.c:432: undefined reference to 
`__sync_val_compare_and_swap_4'
/rjaz/glibcpz/libc_pic.os: In function `*__GI___libc_freeres':
/rjaz/glibc-2.10.1/malloc/set-freeres.c:39: undefined reference to 
`__sync_bool_compare_and_swap_4'
collect2: ld return 1
make[1]: *** [/rjaz/glibcpz/libc.so] error 1
make[1]: Leaving directory `/rjaz/glibc-2.10.1'
make: *** [all] error 2
Comment 1 Ulrich Drepper 2009-07-30 05:29:40 UTC

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