[bind10-dev] (was: failed build)

Jeremy C. Reed jreed at isc.org
Tue Jun 29 12:56:48 UTC 2010


On Tue, 29 Jun 2010, Jelte Jansen wrote:

> > I will revert this run_unittests_LDADD += 
> > $(top_builddir)/src/lib/cc/libcc.la change but first want to see if 
> > anyone knows of the correct fix for this.
> 
> linking to the 'raw' version also works (.libs/libcc.a), so apparently 
> libtool is dropping things in here. We had the same problems with 
> boost and asio, so there is, as Nathanael already noticed, the 
> workaround is available because of that one;

(replying to same email again...)

So linking with .libs/libcc.a instead of libcc.la (or instead of just 
.libs/data.o) does build, but make check still fails:

[ RUN      ] CCSession.session1
bash: line 5:  6207 Abort                   (core dumped) ${dir}$tst
FAIL: run_unittests


t at 1 (l at 1) program terminated by signal ABRT (Abort)
0xfeec155c: __lwp_kill+0x0008:  bcc,a,pt  %icc,__lwp_kill+0x18  ! 
0xfeec156c
Current function is isc::config::ModuleCCSession::ModuleCCSession
  221       init(spec_file_name, config_handler, command_handler);
(dbx) where -h
current thread: t at 1
  [1] __lwp_kill(0x0, 0x6, 0x0, 0x6, 0xfc00, 0x0), at 0xfeec155c 
  [2] raise(0x6, 0x0, 0xfeea4ce8, 0xffffffff, 0xfeee8288, 0x6), at 
0xfee5fef8 
  [3] abort(0xff14d1d8, 0x1, 0xff14cb60, 0xa8274, 0xfeeeb298, 0x0), at 
0xfee40118 
  [4] __Cimpl::default_terminate(0xff14d1d8, 0x1, 0xff1513f8, 
0xff14c9f0, 0x17240, 0xff1353ec), at 0xff1353f0 
  [5] __Cimpl::ex_terminate(0xff14d3c0, 0x0, 0x0, 0xff14d3c0, 
0xff14c9f0, 0x1), at 0xff135200 
  [6] _ex_rethrow_body(0xff14d3c0, 0x0, 0x0, 0x16ad8, 0x0, 0x0), at 
0xff135fa8 
  [7] __Crun::ex_chk_unexpected(0xff14d19c, 0x0, 0xde1a8, 0x16ad8, 
0x166d0, 0x0), at 0xff1363c4 
=>[8] isc::config::ModuleCCSession::ModuleCCSession(this = 0xffbff6ec, 
spec_file_name = CLASS, config_handler = (nil), command_handler = 
(nil)), line 221 in "ccsession.cc"
  [9] CCSession_session1_Test::TestBody(this = 0xe12d0), line 166 in 
"ccsession_unittests.cc"
  [10] testing::Test::Run(0xe12d0, 0x83c6bb64, 0xde9c0, 0xde180, 0x0, 
0xe08b0), at 0xff3462a0 
  [11] testing::internal::TestInfoImpl::Run(0xe0be0, 0x4, 0xde4c8, 
0xe12d0, 0xe08b0, 0xde980), at 0xff347038 
  [12] testing::TestCase::Run(0xe09d0, 0x0, 0x0, 0x4, 0xe08b0, 0xe08b0), 
at 0xff347f88 
  [13] testing::internal::UnitTestImpl::RunAllTests(0xe08b0, 0xffbffba4, 
0x0, 0x0, 0xdd5a0, 0x0), at 0xff351870 
  [14] testing::UnitTest::Run(0xff391640, 0xffbffba4, 0xa7a78, 
0xff1372cc, 0xfedc05c0, 0xff391640), at 0xff34e93c 
  [15] main(argc = 1, argv = 0xffbffba4), line 23 in "run_unittests.cc"








More information about the bind10-dev mailing list