This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/28830] New: FAIL: tr1/2_general_utilities/memory/shared_ptr/thread/lockfree_weaktoshared.cc
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2006 01:06:20 -0000
- Subject: [Bug libstdc++/28830] New: FAIL: tr1/2_general_utilities/memory/shared_ptr/thread/lockfree_weaktoshared.cc
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Executing on host: /home/dave/gnu/gcc-4.2/objdir/./gcc/g++ -shared-libgcc
-B/hom
e/dave/gnu/gcc-4.2/objdir/./gcc -nostdinc++
-L/home/dave/gnu/gcc-4.2/objdir/hppa
-linux/libstdc++-v3/src
-L/home/dave/gnu/gcc-4.2/objdir/hppa-linux/libstdc++-v3/
src/.libs -B/home/dave/opt/gnu/gcc/gcc-4.2.0/hppa-linux/bin/
-B/home/dave/opt/gn
u/gcc/gcc-4.2.0/hppa-linux/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-4.2.0/hppa-l
inux/include -isystem /home/dave/opt/gnu/gcc/gcc-4.2.0/hppa-linux/sys-include
-g
-O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0
-g
-O2 -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++
-I/home/dave/gnu/gcc-4.2/objdir/h
ppa-linux/libstdc++-v3/include/hppa-linux
-I/home/dave/gnu/gcc-4.2/objdir/hppa-l
inux/libstdc++-v3/include -I/home/dave/gnu/gcc-4.2/gcc/libstdc++-v3/libsupc++
-I
/home/dave/gnu/gcc-4.2/gcc/libstdc++-v3/include/backward
-I/home/dave/gnu/gcc-4.
2/gcc/libstdc++-v3/testsuite/util testsuite_abi.o testsuite_allocator.o
testsuit
e_character.o testsuite_hooks.o twister_rand_gen.o verified_cmd_line_input.o
pro
g_bar.o dbg_ex_allocator_base.o elapsed_timer.o -Wl,--gc-sections
/home/dave/gnu
/gcc-4.2/gcc/libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/th
read/lockfree_weaktoshared.cc -pthread -lm -o ./lockfree_weaktoshared.exe
(timeout = 600)
/tmp/ccljP9Ft.o: In function
`std::tr1::_Sp_counted_base<(std::tr1::_Lock_policy
)0>::add_ref_lock()':
/home/dave/gnu/gcc-4.2/objdir/hppa-linux/libstdc++-v3/include/tr1/boost_shared_p
tr.h:259: undefined reference to `__sync_bool_compare_and_swap_4'
/home/dave/gnu/gcc-4.2/objdir/hppa-linux/libstdc++-v3/include/tr1/boost_shared_p
tr.h:259: undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/tmp/ccljP9Ft.o: In function
`std::tr1::_Sp_counted_base<(std::tr1::_Lock_policy
)0>::add_ref_lock()':
/home/dave/gnu/gcc-4.2/objdir/hppa-linux/libstdc++-v3/include/tr1/boost_shared_p
tr.h:259: undefined reference to `__sync_bool_compare_and_swap_4'
/home/dave/gnu/gcc-4.2/objdir/hppa-linux/libstdc++-v3/include/tr1/boost_shared_p
tr.h:259: undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
FAIL: tr1/2_general_utilities/memory/shared_ptr/thread/lockfree_weaktoshared.cc
(test for excess errors)
Excess errors:
/home/dave/gnu/gcc-4.2/objdir/hppa-linux/libstdc++-v3/include/tr1/boost_shared_p
tr.h:259: undefined reference to `__sync_bool_compare_and_swap_4'
/home/dave/gnu/gcc-4.2/objdir/hppa-linux/libstdc++-v3/include/tr1/boost_shared_p
tr.h:259: undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
WARNING:
tr1/2_general_utilities/memory/shared_ptr/thread/lockfree_weaktoshared.
cc compilation failed to produce executable
extra_tool_flags are:
-pthread
--
Summary: FAIL:
tr1/2_general_utilities/memory/shared_ptr/thread/lockfre
e_weaktoshared.cc
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa*-*-linux*
GCC host triplet: hppa*-*-linux*
GCC target triplet: hppa*-*-linux*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28830