[Bug other/47591] libiberty Makefile uses native cc (solaris) with option -print-multi-os-directory

michael.haubenwallner at salomon dot at gcc-bugzilla@gcc.gnu.org
Fri Sep 9 15:46:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47591

--- Comment #2 from Michael Haubenwallner <michael.haubenwallner at salomon dot at> 2011-09-09 15:32:53 UTC ---
Created attachment 25235
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25235
output of 'gmake install' for gcc-4.6.1, using xlc v6 on aix5.3

Same here, however with gcc-4.6.1 (as well as gcc-4.5.3) on
powerpc-ibm-aix5.3.0.0 (gmp configured with ABI=32).

As xlc (used as cc) doesn't understand -print-multi-os-directory, it does print
its manpage to stdout, passed to 'mkdir' as arguments.
Luckily I've not done the 'make install' as root, otherways I would have
something like a new directory "/dev/null." now.

So please take into account that "mkdir `cc --help`" gets run with AIX xlc.

Thank you!

BTW: Detecting CC="cc -qlanglvl=extc89" exposed another (minor) problem in the
toplevel Makefile, eventually setting LDFLAGS="-Wl,-bbigtoc" when using gcc as
host compiler - see the first two lines in this output file for the results.
However, this doesn't lead to any build error.



More information about the Gcc-bugs mailing list