Package: binutils-doc
Version: 2.35.2-2
Severity: normal
X-Debbugs-Cc: none, Dave Love <dave.l...@manchester.ac.uk>

The Info and man pages for ld say "--no-as-needed restores the default
behaviour", but the default changed at some stage to --as-needed.

  $ cc -shared -lm -o x.so
  $ lddtree x.so
  x.so => ./x.so (interpreter => none)
  $ cc -shared -Wl,--no-as-needed -lm -o x.so
  $ lddtree x.so
  x.so => ./x.so (interpreter => none)
      libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6
          ld-linux-x86-64.so.2 => /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
      libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6

-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-9-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

binutils-doc depends on no packages.

binutils-doc recommends no packages.

Versions of packages binutils-doc suggests:
ii  binutils  2.35.2-2

-- no debconf information

Reply via email to