Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <0FBC20BB-5CD4-48D6-AF1A-41E08BA368E4@shiz.me>
Date: Tue, 23 Feb 2016 22:06:37 +0100
From: Shiz <hi@...z.me>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] fix unresolved symbol issues on ARMv7 due to raise/divmod dependency


> On 23 Feb 2016, at 21:45, Rich Felker <dalias@...c.org> wrote:
> 
> The --as-needed stuff is also not needed; it's a nop for static
> libraries, which -lgcc always is. But I'm unclear why this patch is
> needed to begin with, and why -lc was there already. The compiler
> should be passing in the right -l options.

These are filtered out in the musl-clang front-end; only user-given
-l flags are passed to the linker.
This is to prevent implementation-specific library segmentation,
which the compiler may have knowledge about, from leaking into the linking.

- Shiz

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.