Invalid use of -m32 on certain targets

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Thu Apr 12 16:56:00 UTC 2018


> 12 apr. 2018 kl. 15:49 skrev John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de>:
> 
> 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.

I agree. It's not ideal, and should be fixed. It's on my todo list but keep sinking to the bottom. If you want, you can open a bug on it and I just might get around to it a bit quicker. :)

/Magnus

> 
> 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