Bug ID 1037126
Summary binutils: enable as-needed by default
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware All
OS Linux
Status NEW
Severity Minor
Priority P5 - None
Component Development
Assignee matz@suse.com
Reporter jengelh@inai.de
QA Contact qa-bugs@suse.de
CC rguenther@suse.com
Found By ---
Blocker ---

Inside the build service environment created by /usr/bin/build, $SUSE_ASNEEDED
is set and ld behaves as if it were passed -Wl,--as-needed. Outside that box,
in a "normal" system, SUSE_ASNEEDED=0. This behavior is puzzling to some people
every now and then.
https://lists.opensuse.org/opensuse-packaging/2017-05/msg00000.html

I think we should always enable --as-needed for the openSUSE "normal" system. 

Debian systems also behave such that an incorrect -l order leads to builds
stopping.


You are receiving this mail because: