From: Jeffrey Walton <noloader@gmail.com>
To: Jeff Law <law@redhat.com>
Cc: GCC Development <gcc@gcc.gnu.org>
Subject: Re: Can LTO minor version be updated in backward compatible way ?
Date: Mon, 22 Jul 2019 17:57:00 -0000 [thread overview]
Message-ID: <CAH8yC8kH5oNFk=GWRWBrE79S1cZ5tfQWLk-BcU9-GF+GS3nFuA@mail.gmail.com> (raw)
In-Reply-To: <71c86eab-4178-e841-f968-b4425f851dd3@redhat.com>
On Wed, Jul 17, 2019 at 2:10 PM Jeff Law <law@redhat.com> wrote:
>
> ...
> SuSE's announcement today is quite ironic. Red Hat's toolchain team is
> planning to propose switching to LTO by default for Fedora 32 and were
> working through various details yesterday. Our proposal will almost
> certainly include stripping out the LTO bits from .o's and any static
> libraries.
Be sure to include an ARMv7 test case where on source file uses a the
default arch flags, and one source file uses -march=armv7-a
-mfpu=neon. (With runtime feature checking):
for example:
a.cpp - default flags
b.cpp - -march=armv7-a -mfpu=neon
We can't seem to get around errors like this during link driven through GCC:
[ 303s] /usr/lib/gcc/armv7hl-suse-linux-gnueabi/9/include/arm_neon.h:4835:48:
fatal error: You must enable NEON instructions (e.g.
'-mfloat-abi=softfp' '-mfpu=neon') to use these intrinsics.
[ 303s] 4835 | return (uint32x4_t)__builtin_neon_vshl_nv4si
((int32x4_t) __a, __b);
[ 303s] | ^
[ 303s] compilation terminated.
The only thing we have found to sidestep the problem is, disable LTO for ARM.
Jeff
next prev parent reply other threads:[~2019-07-22 17:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-17 14:12 Romain Geissler
2019-07-17 16:15 ` Michael Matz
2019-07-17 17:30 ` Andi Kleen
2019-07-17 18:10 ` Jeff Law
2019-07-18 16:13 ` Florian Weimer
2019-07-18 23:00 ` [EXT] " Romain Geissler
2019-07-19 8:30 ` Florian Weimer
2019-07-22 7:52 ` Richard Biener
2019-07-22 11:15 ` Florian Weimer
2019-07-22 11:20 ` Richard Biener
2019-07-22 14:25 ` Martin Liška
2019-07-22 14:31 ` Jeff Law
2019-07-23 8:49 ` Martin Liška
2019-07-23 13:17 ` Jeff Law
2019-07-22 17:57 ` Jeffrey Walton [this message]
2019-07-18 11:40 ` Richard Biener
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='CAH8yC8kH5oNFk=GWRWBrE79S1cZ5tfQWLk-BcU9-GF+GS3nFuA@mail.gmail.com' \
--to=noloader@gmail.com \
--cc=gcc@gcc.gnu.org \
--cc=law@redhat.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).