Re: [PATCH] Don't build 32-bit libgomp with -march=i486 on x86-64

2016-04-25 Thread Jakub Jelinek
On Wed, Apr 20, 2016 at 07:56:16AM -0700, H.J. Lu wrote: > On Wed, Apr 20, 2016 at 7:53 AM, Jakub Jelinek wrote: > > On Wed, Apr 20, 2016 at 07:43:27AM -0700, H.J. Lu wrote: > >> From 12c6ddcf67593ed7137764ca74043f1a9c2d8fda Mon Sep 17 00:00:00 2001 > >> From: "H.J. Lu" > >> Date: Wed, 30 Mar 201

Re: [PATCH] Don't build 32-bit libgomp with -march=i486 on x86-64

2016-04-20 Thread H.J. Lu
On Wed, Apr 20, 2016 at 7:53 AM, Jakub Jelinek wrote: > On Wed, Apr 20, 2016 at 07:43:27AM -0700, H.J. Lu wrote: >> From 12c6ddcf67593ed7137764ca74043f1a9c2d8fda Mon Sep 17 00:00:00 2001 >> From: "H.J. Lu" >> Date: Wed, 30 Mar 2016 05:56:08 -0700 >> Subject: [PATCH 2/3] Don't build 32-bit libgomp

Re: [PATCH] Don't build 32-bit libgomp with -march=i486 on x86-64

2016-04-20 Thread H.J. Lu
On Wed, Apr 20, 2016 at 7:53 AM, Jakub Jelinek wrote: > On Wed, Apr 20, 2016 at 07:43:27AM -0700, H.J. Lu wrote: >> From 12c6ddcf67593ed7137764ca74043f1a9c2d8fda Mon Sep 17 00:00:00 2001 >> From: "H.J. Lu" >> Date: Wed, 30 Mar 2016 05:56:08 -0700 >> Subject: [PATCH 2/3] Don't build 32-bit libgomp

Re: [PATCH] Don't build 32-bit libgomp with -march=i486 on x86-64

2016-04-20 Thread Jakub Jelinek
On Wed, Apr 20, 2016 at 07:43:27AM -0700, H.J. Lu wrote: > From 12c6ddcf67593ed7137764ca74043f1a9c2d8fda Mon Sep 17 00:00:00 2001 > From: "H.J. Lu" > Date: Wed, 30 Mar 2016 05:56:08 -0700 > Subject: [PATCH 2/3] Don't build 32-bit libgomp with -march=i486 on x86-64 > > Gcc uses the same -march= fo

Re: [PATCH] Don't build 32-bit libgomp with -march=i486 on x86-64

2016-04-20 Thread H.J. Lu
On Tue, Apr 19, 2016 at 8:08 AM, H.J. Lu wrote: > Gcc uses the same -march= for both -m32 and -m64 on x86-64 unless > --with-arch-32= is used. There is no need for -march=i486 to compile > 32-bit libgomp on x86-64. > > Tested on x86-64. OK for trunk? > > H.J. > --- > PR target/70454 >

[PATCH] Don't build 32-bit libgomp with -march=i486 on x86-64

2016-04-19 Thread H.J. Lu
Gcc uses the same -march= for both -m32 and -m64 on x86-64 unless --with-arch-32= is used. There is no need for -march=i486 to compile 32-bit libgomp on x86-64. Tested on x86-64. OK for trunk? H.J. --- PR target/70454 * configure.tgt (XCFLAGS): Don't add -march=i486 to compile