public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug faq/10464] New: compile error
@ 2009-07-30  9:46 yangshaoxing at 163 dot com
  2009-07-30  9:49 ` [Bug faq/10464] " yangshaoxing at 163 dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: yangshaoxing at 163 dot com @ 2009-07-30  9:46 UTC (permalink / raw)
  To: glibc-bugs

when i compiled glibc 2.10.1 on my system(redflag desktop 6 sp2,linux kernel 
2.6.30.3 or 2.6.27,gcc 4.4.1),it said error.the error message was:
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

-- 
           Summary: compile error
           Product: glibc
           Version: 2.10
            Status: NEW
          Severity: normal
          Priority: P2
         Component: faq
        AssignedTo: aj at suse dot de
        ReportedBy: yangshaoxing at 163 dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: redflag desktop 6 sp2,linux kernel 2.6.30.3 or
                    2.6.27,gcc 4.4.1
  GCC host triplet: redflag desktop 6 sp2,linux kernel 2.6.30.3 or
                    2.6.27,gcc 4.4.1
GCC target triplet: redflag desktop 6 sp2,linux kernel 2.6.30.3 or
                    2.6.27,gcc 4.4.1


http://sourceware.org/bugzilla/show_bug.cgi?id=10464

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug faq/10464] compile error
  2009-07-30  9:46 [Bug faq/10464] New: compile error yangshaoxing at 163 dot com
@ 2009-07-30  9:49 ` yangshaoxing at 163 dot com
  2009-07-30  9:50 ` yangshaoxing at 163 dot com
  2009-07-30 11:04 ` aj at suse dot de
  2 siblings, 0 replies; 4+ messages in thread
From: yangshaoxing at 163 dot com @ 2009-07-30  9:49 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From yangshaoxing at 163 dot com  2009-07-30 09:49 -------
Created an attachment (id=4101)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4101&action=view)
compile error message

thank you 

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10464

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug faq/10464] compile error
  2009-07-30  9:46 [Bug faq/10464] New: compile error yangshaoxing at 163 dot com
  2009-07-30  9:49 ` [Bug faq/10464] " yangshaoxing at 163 dot com
@ 2009-07-30  9:50 ` yangshaoxing at 163 dot com
  2009-07-30 11:04 ` aj at suse dot de
  2 siblings, 0 replies; 4+ messages in thread
From: yangshaoxing at 163 dot com @ 2009-07-30  9:50 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=10464

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug faq/10464] compile error
  2009-07-30  9:46 [Bug faq/10464] New: compile error yangshaoxing at 163 dot com
  2009-07-30  9:49 ` [Bug faq/10464] " yangshaoxing at 163 dot com
  2009-07-30  9:50 ` yangshaoxing at 163 dot com
@ 2009-07-30 11:04 ` aj at suse dot de
  2 siblings, 0 replies; 4+ messages in thread
From: aj at suse dot de @ 2009-07-30 11:04 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aj at suse dot de  2009-07-30 11:03 -------


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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |DUPLICATE


http://sourceware.org/bugzilla/show_bug.cgi?id=10464

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-30 11:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-30  9:46 [Bug faq/10464] New: compile error yangshaoxing at 163 dot com
2009-07-30  9:49 ` [Bug faq/10464] " yangshaoxing at 163 dot com
2009-07-30  9:50 ` yangshaoxing at 163 dot com
2009-07-30 11:04 ` aj at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).