[Boost-bugs] [Boost C++ Libraries] #6348: unresolved symbols when kinking with gcc-3.4.6

Subject: [Boost-bugs] [Boost C++ Libraries] #6348: unresolved symbols when kinking with gcc-3.4.6
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-02 21:38:24


#6348: unresolved symbols when kinking with gcc-3.4.6
-------------------------------------+--------------------------------------
 Reporter: viboes | Owner: az_sw_dude
     Type: Support Requests | Status: new
Milestone: To Be Determined | Component: date_time
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 This tester is reporting some unresolved symbols at link time.

 {{{
 Test output: Sandia-gcc-3.4.6 - thread - test_condition_lib / gcc-3.4.6
 Rev 76256 / Sun, 1 Jan 2012 14:31:22 +0000
 Report Time: Mon, 2 Jan 2012 07:46:13 +0000
 Compile [2012-01-01 15:09:10 UTC]: succeed
 "/sierra/Sntools/extras/compilers/gcc-3.4.6/bin/g++" -ftemplate-depth-128
 -O0 -fno-inline -Wall -g -pthread -fPIC -m32 -DBOOST_ALL_NO_LIB=1
 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1
 -I".." -c -o
 "/scratch/kbelco/boost/results/boost/bin.v2/libs/thread/test/test_condition_lib.test/gcc-3.4.6/debug
 /address-model-32/threading-multi/test_condition.o"
 "../libs/thread/test/test_condition.cpp"

 Link [2012-01-01 15:09:10 UTC]: fail

     "/sierra/Sntools/extras/compilers/gcc-3.4.6/bin/g++" -o
 "/scratch/kbelco/boost/results/boost/bin.v2/libs/thread/test/test_condition_lib.test/gcc-3.4.6/debug
 /address-model-32/threading-multi/test_condition_lib" -Wl,--start-group
 "/scratch/kbelco/boost/results/boost/bin.v2/libs/thread/test/test_condition_lib.test/gcc-3.4.6/debug
 /address-model-32/threading-multi/test_condition.o"
 "/scratch/kbelco/boost/results/boost/bin.v2/libs/thread/test/test_condition_lib.test/gcc-3.4.6/debug
 /address-model-32/threading-multi/tss_null.o"
 "/scratch/kbelco/boost/results/boost/bin.v2/libs/test/build/gcc-3.4.6/debug
 /address-model-32/link-static/threading-
 multi/libboost_unit_test_framework.a"
 "/scratch/kbelco/boost/results/boost/bin.v2/libs/thread/build/gcc-3.4.6/debug
 /address-model-32/link-static/threading-multi/libboost_thread.a"
 -Wl,-Bstatic -Wl,-Bdynamic -lrt -Wl,--end-group -g -pthread -m32


 `.gnu.linkonce.t._ZN5boost9date_time11int_adapterIxE12from_specialENS0_14special_valuesE'
 referenced in section `.rodata' of
 /scratch/kbelco/boost/results/boost/bin.v2/libs/thread/build/gcc-3.4.6/debug
 /address-model-32/link-static/threading-multi/libboost_thread.a(thread.o):
 defined in discarded section
 `.gnu.linkonce.t._ZN5boost9date_time11int_adapterIxE12from_specialENS0_14special_valuesE'
 of
 /scratch/kbelco/boost/results/boost/bin.v2/libs/thread/build/gcc-3.4.6/debug
 /address-model-32/link-static/threading-multi/libboost_thread.a(thread.o)
 `.gnu.linkonce.t._ZN5boost9date_time11int_adapterIxE12from_specialENS0_14special_valuesE'
 referenced in section `.rodata' of
 /scratch/kbelco/boost/results/boost/bin.v2/libs/thread/build/gcc-3.4.6/debug
 /address-model-32/link-static/threading-multi/libboost_thread.a(thread.o):
 defined in discarded section
 `.gnu.linkonce.t._ZN5boost9date_time11int_adapterIxE12from_specialENS0_14special_valuesE'
 of
 /scratch/kbelco/boost/results/boost/bin.v2/libs/thread/build/gcc-3.4.6/debug
 /address-model-32/link-static/threading-multi/libboost_thread.a(thread.o)
 `.gnu.linkonce.t._ZN5boost9date_time11int_adapterIxE12from_specialENS0_14special_valuesE'
 referenced in section `.rodata' of
 /scratch/kbelco/boost/results/boost/bin.v2/libs/thread/build/gcc-3.4.6/debug
 /address-model-32/link-static/threading-multi/libboost_thread.a(thread.o):
 defined in discarded section
 `.gnu.linkonce.t._ZN5boost9date_time11int_adapterIxE12from_specialENS0_14special_valuesE'
 of
 /scratch/kbelco/boost/results/boost/bin.v2/libs/thread/build/gcc-3.4.6/debug
 /address-model-32/link-static/threading-multi/libboost_thread.a(thread.o)
 `.gnu.linkonce.t._ZN5boost9date_time11int_adapterIxE12from_specialENS0_14special_valuesE'
 referenced in section `.rodata' of
 /scratch/kbelco/boost/results/boost/bin.v2/libs/thread/build/gcc-3.4.6/debug
 /address-model-32/link-static/threading-multi/libboost_thread.a(thread.o):
 defined in discarded section
 `.gnu.linkonce.t._ZN5boost9date_time11int_adapterIxE12from_specialENS0_14special_valuesE'
 of
 /scratch/kbelco/boost/results/boost/bin.v2/libs/thread/build/gcc-3.4.6/debug
 /address-model-32/link-static/threading-multi/libboost_thread.a(thread.o)
 `.gnu.linkonce.t._ZN5boost9date_time11int_adapterIxE12from_specialENS0_14special_valuesE'
 referenced in section `.rodata' of
 /scratch/kbelco/boost/results/boost/bin.v2/libs/thread/build/gcc-3.4.6/debug
 /address-model-32/link-static/threading-multi/libboost_thread.a(thread.o):
 defined in discarded section
 `.gnu.linkonce.t._ZN5boost9date_time11int_adapterIxE12from_specialENS0_14special_valuesE'
 of
 /scratch/kbelco/boost/results/boost/bin.v2/libs/thread/build/gcc-3.4.6/debug
 /address-model-32/link-static/threading-multi/libboost_thread.a(thread.o)
 collect2: ld returned 1 exit status
 }}}

 Boost.Thread doesn't link with Boost.Date and doesn't have this issue on
 other platform/compilers. Is there something specific on this platform
 that makes the link mandatory, or there is something that can be done in
 Boost.Thread to don't need to link?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6348>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC