This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fixincludes to the toplevel: toplevel changes


	Having a build-side libibery has broken bootstrap on AIX.  The
Makefile machinery is attempting to build all libiberty multilibs, but is
not using libtool and not using all of the correct options for utilities
other than GCC.  In other words, it invokes GCC with "-maix64" option to
produce a 64-bit object file but does not invoke AR with the option to
create a 64-bit archive.

Multilibs should not be needed build-side, so can you check if passing --disable-multilib to build-side configures will fix it? See the attached patch.


Paolo

2004-09-01 Paolo Bonzini <bonzini@gnu.org>

	* configure.in (build_configargs): Add --disable-multilib.
	* configure: Regenerate.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.316
diff -u -r1.316 configure.in
--- configure.in	1 Sep 2004 07:44:54 -0000	1.316
+++ configure.in	1 Sep 2004 15:16:25 -0000
@@ -1893,7 +1893,7 @@
 # For the build-side libraries, we just need to pretend we're native,
 # and not use the same cache file.  Multilibs are neither needed nor
 # desired.
-build_configargs="--cache-file=../config.cache --build=${build_alias} --host=${build_alias} ${baseargs}"
+build_configargs="--disable-multilib --cache-file=../config.cache --build=${build_alias} --host=${build_alias} ${baseargs}"
 
 # For host modules, accept cache file option, or specification as blank.
 case "${cache_file}" in
Index: configure
===================================================================
RCS file: /cvs/gcc/gcc/configure,v
retrieving revision 1.178
diff -u -r1.178 configure
--- configure	1 Sep 2004 07:44:54 -0000	1.178
+++ configure	1 Sep 2004 15:16:25 -0000
@@ -3298,7 +3298,7 @@
 # For the build-side libraries, we just need to pretend we're native,
 # and not use the same cache file.  Multilibs are neither needed nor
 # desired.
-build_configargs="--cache-file=../config.cache --build=${build_alias} --host=${build_alias} ${baseargs}"
+build_configargs="--disable-multilib --cache-file=../config.cache --build=${build_alias} --host=${build_alias} ${baseargs}"
 
 # For host modules, accept cache file option, or specification as blank.
 case "${cache_file}" in

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]