https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95712
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #11)
> > generated for aarch64-linux-gnu that I configured for and it has:
>
> You have used --disable-bootstrap.
No I did not, --disable-bootstrap is the default for the case where we are
doing cross.
OH I did not notice it was s390 to s390 cross building but buildroot is not
handling that case correctly. Rather it is thinking it is always building a
cross even when build==host==target .
> --build=s390x-ibm-linux-gnu --host=s390x-buildroot-linux-gnu
> --target=s390x-buildroot-linux-gnu
That is broken. This is not a cross compiler but rather a build of the native
gcc and therefor is not the correct options.
So the problem is rather how buildroot is not doing the right configure options
to gcc for building a cross build. NOT A BUG.