[cfe-dev] Add -fno-plt,-fplt to ignored flags
Jordan Glover via cfe-dev
cfe-dev at lists.llvm.org
Fri Jul 7 05:26:14 PDT 2017
Thanks for the reply.
-fno-plt flag is going to be used as default build flag for every package available in Archlinux [1]. There were concerns about that change breaking clang but it was decided to add patch similar as mine [2]. Also some developers advised to submit such patch upstream [3][4].
Jordan Glover
[1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/pacman&id=0cd22d4454e0e1b3ae589b95274f808001465c15
[2] https://git.archlinux.org/svntogit/packages.git/tree/trunk/0001-GCC-compatibility-Ignore-the-fno-plt-flag.patch?h=packages/llvm
[3] https://lists.archlinux.org/pipermail/arch-dev-public/2017-July/028928.html
[4] https://lists.archlinux.org/pipermail/arch-dev-public/2017-July/028929.html
> -------- Original Message --------
> Subject: Re: [cfe-dev] Add -fno-plt,-fplt to ignored flags
> From: joerg at bec.de
> To: Jordan Glover <Golden_Miller83 at protonmail.ch>
> cfe-dev at lists.llvm.org <cfe-dev at lists.llvm.org>
> On Fri, Jul 07, 2017 at 07:32:00AM -0400, Jordan Glover via cfe-dev wrote:
>> In GCC there is a -fno-plt [1] flag not implemented in Clang which results in compilation failure:
>> clang-4.0: error: unknown argument: "-fno-plt"
> Can you please slap whoever decided to use a random new GCC flag without
> checking for its existance first?
> I have seen no evidence of this flag used in the wild so far, so I"m
> quite reluctant to accept this change.
> Joerg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170707/f4239c57/attachment.html>
More information about the cfe-dev
mailing list