[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#379748: marked as done (information about unused direct dependencies and --as-needed in LDFLAGS)



Your message dated Fri, 17 Feb 2023 13:45:25 +0000
with message-id <Y++E9VXmMyjYuONl@layer-acht.org>
and subject line --as-needed enabled by default since bullseye
has caused the Debian Bug report #379748,
regarding information about unused direct dependencies and --as-needed in LDFLAGS
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
379748: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379748
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: developers-reference
Severity: wishlist

hi,

i just asked myself why we do not make use of --as-needed. While
searching the web i ended up with the following Blog entries by Ulrich
Drepper, which do pretty well explain when to use --as-needed and in
which cases it leads to problems:

 http://udrepper.livejournal.com/10946.html
 http://udrepper.livejournal.com/11056.html

it might be handy to have this information covered within the developers
reference somewhere.

bye,
    - michael


--- End Message ---
--- Begin Message ---
hi,

I'm sorry noone responded to this bug in almost 17 years. 

I'm closing this bug report now, as --as-needed is enabled by default
since bullseye with debhelper 9, see

https://wiki.debian.org/HardeningWalkthrough#debhelper_9

this was prepared around 2010 as the page history of
https://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
shows.

so only two packages set it today in d/rules:
https://codesearch.debian.net/search?q=--as-needed+debian%2Frules&literal=1


-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

The climate crisis makes a minimum voting age of 18 look so extremely unfair.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: