Bug 5515

Summary: compile errors on Linux 2.6.20
Product: glibc Reporter: Dave Gibelli <dgibelli>
Component: libcAssignee: Ulrich Drepper <drepper.fsp>
Status: RESOLVED DUPLICATE    
Severity: normal CC: glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Dave Gibelli 2007-12-20 15:29:32 UTC
/home/daveg/downloads/glibc-2.7-obj/libc_pic.os: In function 
`__nscd_drop_map_ref':
/home/daveg/downloads/glibc-2.7/nscd/nscd-client.h:320: undefined reference to 
`__sync_fetch_and_add_4'
/home/daveg/downloads/glibc-2.7-obj/libc_pic.os: In function `nscd_getpw_r':
/home/daveg/downloads/glibc-2.7/nscd/nscd_getpw_r.c:232: undefined reference to 
`__sync_fetch_and_add_4'
/home/daveg/downloads/glibc-2.7-obj/libc_pic.os: In function 
`__nscd_drop_map_ref':
/home/daveg/downloads/glibc-2.7/nscd/nscd-client.h:320: undefined reference to 
`__sync_fetch_and_add_4'
/home/daveg/downloads/glibc-2.7-obj/libc_pic.os: In function `nscd_getgr_r':
/home/daveg/downloads/glibc-2.7/nscd/nscd_getgr_r.c:321: undefined reference to 
`__sync_fetch_and_add_4'
/home/daveg/downloads/glibc-2.7-obj/libc_pic.os: In function 
`__nscd_drop_map_ref':
/home/daveg/downloads/glibc-2.7/nscd/nscd-client.h:320: undefined reference to 
`__sync_fetch_and_add_4'
/home/daveg/downloads/glibc-2.7-obj/libc_pic.os:/home/daveg/downloads/glibc-
2.7/                                       nscd/nscd_gethst_r.c:400: more 
undefined references to 
`__sync_fetch_and_add_4'                                        follow
/home/daveg/downloads/glibc-2.7-obj/libc_pic.os: In function 
`__nscd_get_map_ref':
/home/daveg/downloads/glibc-2.7/nscd/nscd_helper.c:404: undefined reference to 
`__sync_val_compare_and_swap_4'
/home/daveg/downloads/glibc-2.7-obj/libc_pic.os: In function 
`*__GI___libc_freeres':
/home/daveg/downloads/glibc-2.7/malloc/set-freeres.c:39: undefined reference to 
`__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
make[1]: *** [/home/daveg/downloads/glibc-2.7-obj/libc.so] Error 1
make[1]: Leaving directory `/home/daveg/downloads/glibc-2.7'
make: *** [all] Error 2
Comment 1 Ulrich Drepper 2007-12-20 16:13:58 UTC

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