[ltt-dev] Fwd: Bug#604955: ust: FTBFS with binutils-gold

Mathieu Desnoyers compudj at krystal.dyndns.org
Thu Nov 25 22:47:31 EST 2010


Well the build error was about one test program for which the
-lpthread/-lrt was missing. I fixed that one. I'll let you guys decide
if you want to add it globally to the package or not.

I went with the simple non-intrusive fix.

Thanks,

Mathieu


* David Goulet (david.goulet at polymtl.ca) wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> It is mainline however not global. It's only applied to libust.
> 
> So, what's the issue here if libust is already implemented with those flags ?
> 
> Thanks!
> David
> 
> On 10-11-25 08:04 PM, Mathieu Desnoyers wrote:
> > Just fixed by adding the -lpthread -lrt directly to the Makefile.am
> > concerned. Can you guys check that UST mainline is fixed for you ?
> > 
> > Thanks,
> > 
> > Mathieu
> > 
> > 
> > * Yannick Brosseau (yannick.brosseau at polymtl.ca) wrote:
> >> Should we integrate these libs in our LDFLAGS directly?
> >>
> >> -------- Original Message --------
> >> Subject: 	Bug#604955: ust: FTBFS with binutils-gold
> >> Resent-Date: 	Thu, 25 Nov 2010 18:09:06 +0000, Thu, 25 Nov 2010 18:09:08  
> >> +0000
> >> Resent-From: 	Bhavani Shankar R <bhavi at ubuntu.com>
> >> Resent-To: 	debian-bugs-dist at lists.debian.org
> >> Resent-CC: 	Jon Bernard <jbernard at debian.org>
> >> Date: 	Thu, 25 Nov 2010 23:35:07 +0530
> >> From: 	Bhavani Shankar R <bhavi at ubuntu.com>
> >> Reply-To: 	Bhavani Shankar R <bhavi at ubuntu.com>, 604955 at bugs.debian.org
> >> To: 	submit at bugs.debian.org
> >>
> >>
> >>
> >> Package: ust
> >> Tags: patch
> >> Usertags: origin-ubuntu natty ubuntu-patch
> >> Severity: important
> >>
> >> Hello dear maintainer
> >>
> >> Regarding the above subject, Your package FTBFS on ubuntu due to
> >> indirect linking
> >>
> >> cf: https://launchpad.net/ubuntu/+source/ust/0.8-1/+build/2050578/+files/buildlog_ubuntu-natty-amd64.ust_0.8-1_FAILEDTOBUILD.txt.gz
> >>
> >> The minimal patch below should fix the problem
> >>
> >> diff -Nru ust-0.8/debian/rules ust-0.8/debian/rules
> >> --- ust-0.8/debian/rules	2010-11-16 17:24:08.000000000 +0000
> >> +++ ust-0.8/debian/rules	2010-11-18 06:28:44.000000000 +0000
> >> @@ -1,4 +1,7 @@
> >>  #!/usr/bin/make -f
> >> +
> >> +LDFLAGS+=-lrt -lpthread
> >> +
> >>  %:
> >>  	dh $@
> >>
> >>
> >> Regards
> >>
> >> -- 
> >> Bhavani Shankar.R
> >> https://launchpad.net/~bhavi, a proud ubuntu community developer.
> >> What matters in life is application of mind!,
> >> It makes great sense to have some common sense..!
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> ltt-dev mailing list
> >> ltt-dev at lists.casi.polymtl.ca
> >> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> >>
> > 
> 
> - -- 
> David Goulet
> LTTng project, DORSAL Lab.
> 
> 1024D/16BD8563
> BE3C 672B 9331 9796 291A  14C6 4AF7 C14B 16BD 8563
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> 
> iEYEARECAAYFAkzvG1MACgkQSvfBSxa9hWPbYgCg3bV5DjYjbgP4THAQY4ut9xdf
> BQAAoLC/c02xPibwcdrRDTBrSSlqDH/3
> =BmG3
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list