public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Yuri Kanivetsky <yuri.kanivetsky@gmail.com>
To: gcc@gcc.gnu.org
Subject: Is --as-needed the default these days?
Date: Sun, 24 Mar 2024 20:00:12 +0200	[thread overview]
Message-ID: <CAMhVC3Z0ys9YoDG8FD5qq35_rSN-RY-vxnAS725DoB9hZb6B8w@mail.gmail.com> (raw)

Hi,

It looks like somewhere between gcc-5.3.0 and gcc-6.2.1 --as-needed
became the default:

https://gist.github.com/x-yuri/1b4c19891be50b2b8801689de1487009

In other words it looks like on Alpine Linux 3.4 -lintl always adds
libintl, on >= 3.5 only if some of its symbols are really needed.

Can you possibly give a link to the commit or a changelog entry?

Regards,
Yuri

             reply	other threads:[~2024-03-24 18:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-24 18:00 Yuri Kanivetsky [this message]
2024-03-24 18:23 ` Jonathan Wakely
2024-03-24 18:52   ` Yuri Kanivetsky
2024-03-24 19:01     ` Andrew Pinski
2024-03-24 19:28       ` Yuri Kanivetsky

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMhVC3Z0ys9YoDG8FD5qq35_rSN-RY-vxnAS725DoB9hZb6B8w@mail.gmail.com \
    --to=yuri.kanivetsky@gmail.com \
    --cc=gcc@gcc.gnu.org \
    /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).