This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/33033] New: FAIL: gcc.dg/20061124-1.c: undefined reference to `__sync_add_and_fetch_2'
- From: "christian dot joensson at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2007 08:50:02 -0000
- Subject: [Bug c/33033] New: FAIL: gcc.dg/20061124-1.c: undefined reference to `__sync_add_and_fetch_2'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Aurora SPARC Linux release 2.99 (Angel)/TI UltraSparc IIi (Sabre) sun4u:
binutils-2.17.50.0.3-6.sparc.sparc
bison-2.3-2.1.sparc
dejagnu-1.4.4-5.1.noarch
expect-5.43.0-5.1.sparc
gcc-4.1.1-30.1.sparc
glibc-2.5-3.1.sparcv9
glibc-2.5-3.1.sparc64
glibc-devel-2.5-3.1.sparc
glibc-devel-2.5-3.1.sparc64
glibc-headers-2.5-3.1.sparc
gmp-2.4.1 (local build from gcc's infrastructure)
mpfr-2.2.1 (local build from gcc's infrastructure)
kernel-2.6.21-1.3149.al3.12.sparc64
libgcc-4.1.1-30.1.sparc
libgcc-4.1.1-30.1.sparc64
libstdc++-4.1.1-30.1.sparc
libstdc++-4.1.1-30.1.sparc64
libstdc++-devel-4.1.1-30.1.sparc
libstdc++-devel-4.1.1-30.1.sparc64
make-3.81-1.1.sparc
tcl-8.4.13-3.al3.sparc
LAST_UPDATED: Mon Aug 6 09:19:03 UTC 2007 (revision 127237)
test results posted at
http://gcc.gnu.org/ml/gcc-testresults/2007-08/msg00248.html
In the gcc testsuite, (--with-cpu=v7) I get this failure:
PASS: gcc.dg/20061026.c (test for excess errors)
Executing on host: /usr/local/src/branch/objdir/gcc/xgcc
-B/usr/local/src/branch/objdir/gcc/
/usr/local/src/branch/gcc/gcc/testsuite/gcc.dg/20061124-1.c -ansi
-pedantic-errors -fno-show-column -lm -o ./20061124-1.exe (timeout =
1200)
/tmp/cc0xZZ4Z.o: In function `main':
20061124-1.c:(.text+0x14): undefined reference to `__sync_add_and_fetch_2'
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/tmp/cc0xZZ4Z.o: In function `main':
20061124-1.c:(.text+0x14): undefined reference to `__sync_add_and_fetch_2'
collect2: ld returned 1 exit status
FAIL: gcc.dg/20061124-1.c (test for excess errors)
Excess errors:
20061124-1.c:(.text+0x14): undefined reference to `__sync_add_and_fetch_2'
WARNING: gcc.dg/20061124-1.c compilation failed to produce executable
--
Summary: FAIL: gcc.dg/20061124-1.c: undefined reference to
`__sync_add_and_fetch_2'
Product: gcc
Version: 4.2.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: christian dot joensson at gmail dot com
GCC build triplet: sparc64-unknown-linu-gnu
GCC host triplet: sparc64-unknown-linu-gnu
GCC target triplet: sparc64-unknown-linu-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33033