Bug#607583: Fix FTBFS with ld --as-needed

2010-12-20 Thread Roland Stigge
Hi,

thanks for your report!

On 20/12/10 00:51, Matthias Klose wrote:
 Package: ptpd
 Version: 2.1.0-debian1-1
 Severity: normal
 Tags: patch
 User: ubuntu-de...@lists.ubuntu.com
 Usertags: origin-ubuntu natty ubuntu-patch
 User: debian-...@lists.debian.org
 Usertags: ld-as-needed
 
 Adding libraries in LDFLAGS is a bad idea.

Under which circumstances does the FTBFS occur (version of binutils)?
All the buildds did fine, and in a current clean sid chroot I could also
not reproduce it.

Thanks,

bye,
  Roland



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#607583: Fix FTBFS with ld --as-needed

2010-12-20 Thread Matthias Klose

On 20.12.2010 11:10, Roland Stigge wrote:

Hi,

thanks for your report!

On 20/12/10 00:51, Matthias Klose wrote:

Package: ptpd
Version: 2.1.0-debian1-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
User: debian-...@lists.debian.org
Usertags: ld-as-needed

Adding libraries in LDFLAGS is a bad idea.


Under which circumstances does the FTBFS occur (version of binutils)?
All the buildds did fine, and in a current clean sid chroot I could also
not reproduce it.


see the subject. if --as-needed is passed to the linker. Do it manually with 
-Wl,--as-needed. the binutils version doesn't matter.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#607583: Fix FTBFS with ld --as-needed

2010-12-19 Thread Matthias Klose

Package: ptpd
Version: 2.1.0-debian1-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
User: debian-...@lists.debian.org
Usertags: ld-as-needed

Adding libraries in LDFLAGS is a bad idea.

patch at:
http://launchpadlibrarian.net/60937601/ptpd_2.1.0-debian1-1_2.1.0-debian1-1ubuntu1.diff.gz



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org