This is the mail archive of the gcc@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]

3.0 build failure on AIX (32 vs 64bit issue in mknumeric_limits)


building 3.0 on AIX fails for me:

	running mknumeric_limits
	/home/simon/src/gcc-3.0/objdir/gcc/xgcc -B/home/simon/src/gcc-3.0/objdir/gcc/ -B
	/opt/gcc-3.0/powerpc-ibm-aix4.3.3.0/bin/ -B/opt/gcc-3.0/powerpc-ibm-aix4.3.3.0/l
	ib/ -isystem /opt/gcc-3.0/powerpc-ibm-aix4.3.3.0/include  -maix64 -I.  -I/home/s
	imon/src/gcc-3.0/objdir/powerpc-ibm-aix4.3.3.0/ppc64/libstdc++-v3/include -DHAVE
	_CONFIG_H -fno-exceptions     -o /home/simon/src/gcc-3.0/objdir/powerpc-ibm-aix4
	.3.3.0/ppc64/libstdc++-v3/src/gen-num-limits ../../../../libstdc++-v3/src/gen-nu
	m-limits.cc
	Could not load program /home/simon/src/gcc-3.0/objdir/powerpc-ibm-aix4.3.3.0/ppc
	64/libstdc++-v3/src/gen-num-limits:
	Cannot run a 64-bit program on a 32-bit machine.
	gen-num-limits failed to execute, exiting.
	mknumeric_limits failed to execute properly: exiting
	gmake[1]: *** [configure-target-libstdc++-v3] Error 1
	gmake[1]: Leaving directory `/home/simon/src/gcc-3.0/objdir'
	gmake: *** [bootstrap-lean] Error 2

I presume the problem is the -maix64, but I am not sure how to change that...

here is some relevant information about the build:

config:
	 #This directory was configured as follows:
	 ../configure --with-gcc-version-trigger=/home/simon/src/gcc-3.0/gcc/version.c --
	 host=powerpc-ibm-aix4.3.3.0 --prefix=/opt/gcc-3.0 --norecursion 

build command:
	  $ nohup gmake CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean > make_out 2>&1 &


Any ideas?  I searched the archives and found a few messages about similar 32/64bit issues on AIX, but the fix 
was not clear to me.


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