https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504

--- Comment #25 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #23)
> > It's a build log from OpenSUSE OBS, so it contains all that you requested.
> 
> AFAICS this log is for a native compiler:
> 
> [  131s] checking build system type... powerpc64-suse-linux-gnu
> [  131s] checking host system type... powerpc64-suse-linux-gnu
> [  131s] checking target system type... powerpc64-suse-linux-gnu
> 
> but I gather that --with-cpu=default32 somehow forces it to default to
> 32-bit, making it really powerpc-suse-linux-gnu under the hood?  Again this
> Debian-like abomination if you ask me, which probably fools the logic in
> Makefile.rtl.

Yes, we're building a 64bit compiler defaulting to -m32.  Our
"ppc" target was never a true 32bit system but a 64bit system with a
32bit "default" runtime and 64bit multilibs, so most binaries in the
system were 32bit binaries but select ones could be 64bit.

Note the GCC binaries themselves become 32bit binaries as well (the way
we use it the host compiler is the very same, powerpc64-linux compiler
defaulting to 32bit code generation).

For "ppc64" this infrastructure is also used to build 32bit runtimes
for packages that do not multilib themselves (so we cannot really abandone
it completely).

Reply via email to