Message ID | 555A11B4.8020605@codesourcery.com |
---|---|
State | New |
Headers | show |
This seems reasonable to me. Alan, any thoughts from you? Thanks, David On Mon, May 18, 2015 at 12:22 PM, Sandra Loosemore <sandra@codesourcery.com> wrote: > We've found that configuring a powerpc-linux-gnu cross toolchain with > --enable-targets=all no longer enables -m64 support in GCC 5, due to the > patch for PR target/65286. (We want to build with a -m64 multilib, in > particular.) > > The attached patch seems to fix the breakage, but I'm not sure that it might > not break some other configuration. If this isn't the right fix, can one of > the target experts suggest a better one? > > Here's a link to the discussion of the patch that caused the breakage: > > https://gcc.gnu.org/ml/gcc-patches/2015-03/msg00321.html > > -Sandra >
On Tue, May 19, 2015 at 02:18:23PM -0400, David Edelsohn wrote: > This seems reasonable to me. > > Alan, any thoughts from you? Looks good.
On 05/19/2015 05:34 PM, Alan Modra wrote: > On Tue, May 19, 2015 at 02:18:23PM -0400, David Edelsohn wrote: >> This seems reasonable to me. >> >> Alan, any thoughts from you? > > Looks good. Thanks. I've checked the patch into mainline (r223418). I assume this is also a candidate for backporting to the same branches where the PR target/65286 patch went? -Sandra
On Tue, May 19, 2015 at 8:03 PM, Sandra Loosemore <sandra@codesourcery.com> wrote: > On 05/19/2015 05:34 PM, Alan Modra wrote: >> >> On Tue, May 19, 2015 at 02:18:23PM -0400, David Edelsohn wrote: >>> >>> This seems reasonable to me. >>> >>> Alan, any thoughts from you? >> >> >> Looks good. > > > Thanks. I've checked the patch into mainline (r223418). I assume this is > also a candidate for backporting to the same branches where the PR > target/65286 patch went? Okay. Thanks, David
Index: gcc/config.gcc =================================================================== --- gcc/config.gcc (revision 449971) +++ gcc/config.gcc (working copy) @@ -2376,6 +2379,7 @@ powerpc*-*-linux*) maybe_biarch=${cpu_is_64bit} case ${enable_targets} in *powerpc64*) maybe_biarch=yes ;; + all) maybe_biarch=yes ;; esac case ${target} in powerpc64*-*-linux*spe* | powerpc64*-*-linux*paired*)