This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

glibc CVS does not build on i586...


but builds perfectly fine on x86-64 for me.

Error messages are:

/home/aj/cvs/build/libc_pic.os: In function `__libc_fork':
/home/aj/cvs/libc/posix/../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:76: undefined reference to `__sync_bool_compare_and_swap_4'
/home/aj/cvs/build/libc_pic.os: In function `__nscd_drop_map_ref':
/home/aj/cvs/libc/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'
/home/aj/cvs/build/libc_pic.os: In function `nscd_getpw_r':
/home/aj/cvs/libc/nscd/nscd_getpw_r.c:232: undefined reference to `__sync_fetch_and_add_4'
/home/aj/cvs/build/libc_pic.os: In function `__nscd_drop_map_ref':
/home/aj/cvs/libc/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'
/home/aj/cvs/build/libc_pic.os: In function `nscd_getgr_r':
/home/aj/cvs/libc/nscd/nscd_getgr_r.c:307: undefined reference to `__sync_fetch_and_add_4'
/home/aj/cvs/build/libc_pic.os: In function `__nscd_drop_map_ref':
/home/aj/cvs/libc/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'
/home/aj/cvs/build/libc_pic.os:/home/aj/cvs/libc/nscd/nscd_gethst_r.c:400: more undefined references to `__sync_fetch_and_add_4' follow
/home/aj/cvs/build/libc_pic.os: In function `__nscd_get_map_ref':
/home/aj/cvs/libc/nscd/nscd_helper.c:357: undefined reference to `__sync_val_compare_and_swap_4'
/home/aj/cvs/build/libc_pic.os: In function `*__GI___libc_freeres':
/home/aj/cvs/libc/malloc/set-freeres.c:39: undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
make[1]: *** [/home/aj/cvs/build/libc.so] Error 1

This is gcc 4.1.3.  Is that version somehow broken?

Andreas
-- 
 Andreas Jaeger, Director Platform/openSUSE, aj@suse.de
  SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
   Maxfeldstr. 5, 90409 Nürnberg, Germany
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]