[bind10-dev] (was: failed build)
Christos Zoulas
christos at zoulas.com
Tue Jun 29 12:54:21 UTC 2010
On Jun 29, 7:48am, jreed at isc.org ("Jeremy C. Reed") wrote:
-- Subject: Re: [bind10-dev] (was: failed build)
| On Tue, 29 Jun 2010, Jelte Jansen wrote:
|
| > > So in commit r2316, I did:
| > > "
| > > I noticed this because libcfgclient's tests only linked with cc/data.o
| > > but build using Sunstudio showed it used libcc's session also.
| > > So instead of just linking with cc/session.o (which does work),
| > > I chose to link with libcc -- and noticed it was not using libtool.
| > > "
| > >
| >
| > interesting. It only linked to data.o because the Session class here
| > is provided by fake_session.*. I'm a tiny bit surprised it even gets
| > to the linker stage at all, and I'm going to go ahead and guess that
| > your segfault may have to do with the linker picking the wrong one
| > there (did that also happen before you changed the makefile?).
|
| Sorry, before I changed the Makefile, I couldn't check because it didn't
| build at all. Here is the error message:
I think that the right way to solve the problem is to always use
${COMPILER} -pthread instead of sprinkling adhoc -lpthread.
christos
More information about the bind10-dev
mailing list