Ticket #177 (new defect)

Opened 2 years ago

Last modified 16 months ago

LDFLAGS is ignored

Reported by: https://www.google.com/accounts/o8/id?id=aitoawknrszrpyrkzt6uzvtm_irrfa9yy1esmu8 Owned by: -
Priority: major Milestone: undecided
Keywords: Cc:

Description

If LDFLAGS is set to -Wl,--as-needed (or what else) the buildsystem doesn't honour the flags.

Change History

Changed 2 years ago by http://nedko.arnaudov.name/

  • milestone changed from undecided to 0.4 (preview 4)

Changed 2 years ago by http://nedko.arnaudov.name/

  • milestone changed from 0.4 (preview 4) to undecided

It works on my machine. Please provide exact steps to reproduce.

Changed 16 months ago by http://nedko.arnaudov.name/

LDFLAGS work (confirmed by Alessio). however flag order is incorrect. waf author suggests to upgrade waf:

nedko ita: what is the proper way to pass --as-needed linker flag from packaging scripts to waf?
ita_ nedko:  LDFLAGS=....   waf configure build
nedko ita: thanks, so we are doing it right. We have issue that waf uses wrong(?) order of flags
nedko ita_: waf 1.6.1 it is atm
nedko ita_: http://debomatic64.debian.net/unstable/pool/ladish_1+dfsg0-2/ladish_1+dfsg0-2.buildlog
ita_ nedko: use a more recent version like 1.6.10
nedko ita_: will upgrading waf fix this issue?
ita_ nedko: try
nedko ita_: ok
ita_ i remember the flag order changed at some point for some reason
Note: See TracTickets for help on using tickets.