bug-gnulib
[Top][All Lists]
Advanced

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

Re: Issue when testing with --as-needed enabled


From: Jeffrey Walton
Subject: Re: Issue when testing with --as-needed enabled
Date: Sun, 24 Jan 2021 06:38:26 -0500

On Tue, Dec 1, 2020 at 7:56 AM Thomas Andrejak
<thomas.andrejak@gmail.com> wrote:
>
> Can you explain what GCC options can interfere with this ?

--as-needed caused problems in the past. I think it was a linker bug.
On occasion you needed to tame the linker with -Wl,--no-as-needed. The
weird thing was, the need for -Wl,--no-as-needed was intermittent.

Aslo see 
http://gcc.1065356.n8.nabble.com/g-Wl-as-needed-pthread-behaviour-td970392.html.

Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]