Invalid use of -m32 on certain targets

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu Apr 12 13:49:00 UTC 2018


Hi!

I have been playing around with Zero on new (old) architectures and one
of them is hppa, which needs some additional work due to its stack growing
from bottom to top but that's another story.

Anyway, adding hppa to platform.m4 and running configure results in the
following error message:

configure:35290: checking whether the C compiler works
configure:35312: /usr/bin/hppa-linux-gnu-gcc -m32    -m32   conftest.c  >&5
hppa-linux-gnu-gcc: error: unrecognized command line option '-m32'
hppa-linux-gnu-gcc: error: unrecognized command line option '-m32'
configure:35316: $? = 1
configure:35354: result: no
configure: failed program was:

Didn't we recently have the discussion about which target gcc versions
understand "-m32" and which don't? Apparently, someone thought hppa's
gcc supports that option but apparently it doesn't.

Was there any conclusion on this discussion? I remember that some
people mentioned that the current situation is not ideal.

Adrian

-- 
  .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the build-dev mailing list