This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,nvptx] Truncate config/nvptx/oacc-parallel.c
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Nathan Sidwell <nathan at acm dot org>
- Cc: Tom de Vries <tdevries at suse dot de>, Cesar Philippidis <cesar at codesourcery dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 1 Aug 2018 19:34:34 +0200
- Subject: Re: [PATCH,nvptx] Truncate config/nvptx/oacc-parallel.c
- References: <1e40ad5b-dfc2-fc93-f4df-424fc5e468aa@codesourcery.com> <e267798f-5760-9ac7-956d-71f5206d61dd@suse.de> <20180801115503.GN17988@tucnak> <77b7afc6-2e79-fc43-6263-3327d0407c92@acm.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Aug 01, 2018 at 10:13:06AM -0700, Nathan Sidwell wrote:
> On 08/01/2018 04:55 AM, Jakub Jelinek wrote:
>
> > The ABI compatibility is mainly for libgomp.so which hasn't (ever) bumped
> > the soname and I don't plan to do that any time soon, but even for the
> > offloaded libgomp.a I guess one might compile with GCC 5 and link with GCC
> > 9 and expect things not to fail miserably. This is a *.a library, can't you
>
> I think it should fail horribly. If it succeeded, the performance would
> suck. Far better to shout at the user sooner.
Ok, I can live with that for OpenACC and GCC 5, just would not like to force
people to rebuild everything every time GCC is bumped even for OpenACC (and
once exported symbols from libgomp.so need to stay forever, unless soname is
bumnped).
Jakub