[PATCH] D55828: [clang] [Driver] Disable -faddrsig by default on NetBSD

Kamil Rytarowski via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 19 21:19:01 PST 2018


On 19.12.2018 22:03, Michał Górny wrote:
> On Wed, 2018-12-19 at 21:51 +0100, Joerg Sonnenberger wrote:
>> On Tue, Dec 18, 2018 at 04:35:54PM +0000, Michał Górny via Phabricator via cfe-commits wrote:
>>> mgorny created this revision.
>>> mgorny added reviewers: krytarowski, pcc.
>>>
>>> Avoid passing -faddrsig by default on NetBSD.  This platform is still
>>> using old GNU binutils that crashes on executables containing those
>>> sections.
>>
>> I find that a strange claim, given that many Linux distributions in the
>> wild have much older GNU binutils.
>>
> 
> It only meant that newer versions don't crash, or so I have been told. 
> Nothing more.
> 

GNU strip(1) from NetBSD HEAD (2.27) is randomly affected by this:

http://netbsd.org/~kamil/llvm/strip.txt

GNU strip(1) 2.30 is reported to only output warnings.

This patch should be pulled to older versions.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 850 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181220/472bec12/attachment.sig>


More information about the cfe-commits mailing list