From: Jeffrey Walton <noloader@gmail.com>
To: Thomas Andrejak <thomas.andrejak@gmail.com>
Cc: "bug-gnulib@gnu.org List" <bug-gnulib@gnu.org>
Subject: Re: Issue when testing with --as-needed enabled
Date: Sun, 24 Jan 2021 06:38:26 -0500 [thread overview]
Message-ID: <CAH8yC8krzW-ryr5ZKTr40PoMdbvGf2cVRRpzisVHPGy3L42R_A@mail.gmail.com> (raw)
In-Reply-To: <CABjmheOeLhasS2a_DGKjpOabJHpbsv-6winDNj6DSBTwzCXLxw@mail.gmail.com>
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
next prev parent reply other threads:[~2021-01-24 11:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-27 9:45 Issue when testing with --as-needed enabled Thomas Andrejak
2020-11-27 20:34 ` Bruno Haible
2020-11-28 23:18 ` Thomas Andrejak
2020-12-01 12:56 ` Thomas Andrejak
2020-12-29 22:29 ` Thomas Andrejak
2021-01-24 11:38 ` Jeffrey Walton [this message]
2021-01-03 22:34 ` Bruno Haible
2021-01-23 22:53 ` Thomas Andrejak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH8yC8krzW-ryr5ZKTr40PoMdbvGf2cVRRpzisVHPGy3L42R_A@mail.gmail.com \
--to=noloader@gmail.com \
--cc=bug-gnulib@gnu.org \
--cc=thomas.andrejak@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).