This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/25134] New: AIX 5.3 64bit - xgcc error: 1252-191 Only .llong should be used for relocatable expressions
- From: "michele_mazza at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Nov 2005 09:30:39 -0000
- Subject: [Bug libstdc++/25134] New: AIX 5.3 64bit - xgcc error: 1252-191 Only .llong should be used for relocatable expressions
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hello,
gcc version: gcc-3.3.3
system type: IBM AIX 64bit 5.3.3
I am trying to compile a 64bit version of gcc-3.4.2 using gcc-3.3.3 (32bit) on
a PowerPC AIX 5.3 64bit.
My configure:
export OBJECT_MODE=64
export CC=gcc
export CXX=g++
export CFLAGS="-O2 -maix64 -g -mminimal-toc"
export CXXFLAGS="-O2 -maix64 -g -mminimal-toc"
export LIBCFLAGS="-O2 -maix64 -g -mminimal-toc"
export LIBCXXFLAGS="-O2 -maix64 -g -mminimal-toc -fno-implicit-templates"
export BOOT_CFLAGS="-O2 -maix64 -g -mminimal-toc"
../configure --prefix=/home/fmr/workarea/usr/local
--exec-prefix=/home/fmr/workarea/usr/local --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --disable-nls --enable-threads
--enable-version-specific-runtime-libs --target=powerpc-ibm-aix5.3.0.0
The make command produces the following error:
...
name@.a ; ar -X32_64 -X32_64 rc tmp-@shlib_base_name@.a
@multilib_dir@/shr.o ; mv tmp-@shlib_base_name@.a @shlib_base_name@.a ; rm
-f @multilib_dir@/shr.o' \
SHLIB_MULTILIB=''; \
gcc -O2 -maix64 -g -mminimal-toc -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wno-error -DHAVE_CONFIG_H
-I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include \
-DSTANDARD_STARTFILE_PREFIX=\"../../../\"
-DSTANDARD_EXEC_PREFIX=\"/home/fmr/workarea/usr/local/lib/gcc/\"
-DSTANDARD_LIBEXEC_PREFIX=\"/home/fmr/workarea/usr/local/libexec/gcc/\"
-DDEFAULT_TARGET_VERSION=\"3.4.3\"
-DDEFAULT_TARGET_MACHINE=\"powerpc-ibm-aix5.3.0.0\"
-DSTANDARD_BINDIR_PREFIX=\"/home/fmr/workarea/usr/local/bin/\"
-DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" ||
test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test
"X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
-c ../../gcc/gcc.c )
(SHLIB_LINK='/home/fmr/workarea/gcc-3.4.3/objdir/gcc/xgcc
-B/home/fmr/workarea/gcc-3.4.3/objdir/gcc/
-B/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/bin/
-B/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem
/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/include -isystem
/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/sys-include -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -shared
-nodefaultlibs -Wl,-bE:@shlib_map_file@ -o @multilib_dir@/shr.o
@multilib_flags@ @shlib_objs@ -lc `case @shlib_base_name@ in *pthread*)
echo -L/usr/lib/threads -lpthreads -lc_r /usr/lib/libc.a ;; *) echo -lc ;;
esac` ; rm -f tmp-@shlib_base_name@.a ; ar -X32_64 -X32_64 rc
tmp-@shlib_base_name@.a @multilib_dir@/shr.o ; mv tmp-@shlib_base_name@.a
@shlib_base_name@.a ; rm -f @multilib_dir@/shr.o' \
SHLIB_MULTILIB=''; \
gcc -O2 -maix64 -g -mminimal-toc -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -I.
-I../../gcc -I../../gcc/. -I../../gcc/../include \
-DSTANDARD_STARTFILE_PREFIX=\"../../../\"
-DSTANDARD_EXEC_PREFIX=\"/home/fmr/workarea/usr/local/lib/gcc/\"
-DSTANDARD_LIBEXEC_PREFIX=\"/home/fmr/workarea/usr/local/libexec/gcc/\"
-DDEFAULT_TARGET_VERSION=\"3.4.3\"
-DDEFAULT_TARGET_MACHINE=\"powerpc-ibm-aix5.3.0.0\"
-DSTANDARD_BINDIR_PREFIX=\"/home/fmr/workarea/usr/local/bin/\"
-DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" ||
test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test
"X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
-c ../../gcc/gccspec.c )
gcc -O2 -maix64 -g -mminimal-toc -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -o xgcc gcc.o
gccspec.o intl.o \
prefix.o version.o ../libiberty/libiberty.a -liconv
gcc -c -O2 -maix64 -g -mminimal-toc -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -I.
-I../../gcc -I../../gcc/. -I../../gcc/../include ../../gcc/cppspec.c
gcc -O2 -maix64 -g -mminimal-toc -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -o cpp gcc.o
cppspec.o intl.o \
prefix.o version.o ../libiberty/libiberty.a -liconv
/home/fmr/workarea/gcc-3.4.3/objdir/gcc/xgcc -B/home/fmr/workarea/gcc-3.4.3
/objdir/gcc/ -B/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/bin/
-B/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem
/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/include -isystem
/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/sys-include -dumpspecs
> tmp-specs
mv tmp-specs specs
if [ -f /usr/include/limits.h ] ; then \
cat ../../gcc/limitx.h ../../gcc/glimits.h ../../gcc/limity.h >
tmp-xlimits.h; \
else \
cat ../../gcc/glimits.h > tmp-xlimits.h; \
fi
mv tmp-xlimits.h xlimits.h
if [ -f specs.ready ] ; then \
true; \
else \
echo timestamp > specs.ready; \
fi
(MAKE="make"; srcdir=`cd ../../gcc/fixinc && ${PWDCMD-pwd}` ; \
CC="gcc"; CFLAGS=" -O2 -maix64 -g -mminimal-toc -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-error
-DHAVE_CONFIG_H -DGENERATOR_FILE"; LDFLAGS=""; \
WARN_CFLAGS="-W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wno-error";
LIBERTY=`${PWDCMD-pwd}`/"../libiberty/libiberty.a"; \
export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS LIBERTY; \
cd ./fixinc && \
/bin/sh ${srcdir}/mkfixinc.sh powerpc-ibm-aix5.3.0.0
powerpc-ibm-aix5.3.0.0)
constructing ../fixinc.sh for powerpc-ibm-aix5.3.0.0 to run on
powerpc-ibm-aix5.3.0.0
make TARGETS=oneprocess SHELL="/bin/sh" CC="gcc" CFLAGS=" -O2 -maix64 -g
-mminimal-toc -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE"
LDFLAGS="" LIBERTY="/home/fmr/workarea/gcc-3.4.3
/objdir/gcc/../libiberty/libiberty.a" install-bin
make[2]: Entering directory `/home/fmr/workarea/gcc-3.4.3
/objdir/gcc/fixinc'
/bin/sh ../../../gcc/fixinc/genfixes machname.h
No forbidden identifiers defined by this target
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -maix64 -g -mminimal-toc -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-error
-DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wno-error -I. -I..
-I../../../gcc/fixinc -I../../../gcc/fixinc/..
-I../../../gcc/fixinc/../config -I../../../gcc/fixinc/../../include
../../../gcc/fixinc/fixincl.c
../../../gcc/fixinc/fixincl.c: In function `test_test':
../../../gcc/fixinc/fixincl.c:631: warning: `res' might be used
uninitialized in this function
../../../gcc/fixinc/fixincl.c: In function `start_fixer':
../../../gcc/fixinc/fixincl.c:1023: warning: `pz_cmd_save' might be used
uninitialized in this function
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -maix64 -g -mminimal-toc -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-error
-DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wno-error -I. -I..
-I../../../gcc/fixinc -I../../../gcc/fixinc/..
-I../../../gcc/fixinc/../config -I../../../gcc/fixinc/../../include
../../../gcc/fixinc/fixtests.c
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -maix64 -g -mminimal-toc -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-error
-DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wno-error -I. -I..
-I../../../gcc/fixinc -I../../../gcc/fixinc/..
-I../../../gcc/fixinc/../config -I../../../gcc/fixinc/../../include
../../../gcc/fixinc/fixfixes.c
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -maix64 -g -mminimal-toc -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-error
-DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wno-error -I. -I..
-I../../../gcc/fixinc -I../../../gcc/fixinc/..
-I../../../gcc/fixinc/../config -I../../../gcc/fixinc/../../include
../../../gcc/fixinc/server.c
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -maix64 -g -mminimal-toc -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-error
-DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wno-error -I. -I..
-I../../../gcc/fixinc -I../../../gcc/fixinc/..
-I../../../gcc/fixinc/../config -I../../../gcc/fixinc/../../include
../../../gcc/fixinc/procopen.c
gcc -c -DIN_GCC -DHAVE_CONFIG_H -O2 -maix64 -g -mminimal-toc -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-error
-DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wno-error -I. -I..
-I../../../gcc/fixinc -I../../../gcc/fixinc/..
-I../../../gcc/fixinc/../config -I../../../gcc/fixinc/../../include
../../../gcc/fixinc/fixlib.c
gcc -DIN_GCC -DHAVE_CONFIG_H -O2 -maix64 -g -mminimal-toc -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-error
-DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wno-error -I. -I..
-I../../../gcc/fixinc -I../../../gcc/fixinc/..
-I../../../gcc/fixinc/../config -I../../../gcc/fixinc/../../include -o
fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o
/home/fmr/workarea/gcc-3.4.3/objdir/gcc/../libiberty/libiberty.a
echo timestamp > full-stamp
./fixincl -v < /dev/null
'fixincl version 1.1'
chmod 755 ../fixinc.sh
make[2]: Leaving directory `/home/fmr/workarea/gcc-3.4.3/objdir/gcc/fixinc'
rm -rf include; mkdir include
chmod a+rx include
(TARGET_MACHINE='powerpc-ibm-aix5.3.0.0'; srcdir=`cd ../../gcc;
${PWDCMD-pwd}`; \
SHELL='/bin/sh' ;\
export TARGET_MACHINE srcdir SHELL ; \
/bin/sh ./fixinc.sh `${PWDCMD-pwd}`/include /usr/include ; \
rm -f include/syslimits.h; \
if [ -f include/limits.h ]; then \
mv include/limits.h include/syslimits.h; \
else \
cp ../../gcc/gsyslimits.h include/syslimits.h; \
fi; \
chmod a+r include/syslimits.h)
Fixing headers into /home/fmr/workarea/gcc-3.4.3/objdir/gcc/include for
powerpc-ibm-aix5.3.0.0 target
Finding directories and links to directories
Searching /usr/include/.
Searching /usr/include/./X11
Searching /usr/include/./Xm
Searching /usr/include/./Mrm
Searching /usr/include/./uil
Making symbolic directory links
Fixing directory /usr/include into /home/fmr/workarea/gcc-3.4.3
/objdir/gcc/include
Applying io_quotes_def to sys/fs/kdm_dmi.h
Applying io_quotes_def to sys/dlpi_aix.h
Applying io_quotes_use to sys/dlpi_aix.h
Applying io_quotes_def to sys/ioctl.h
Applying io_quotes_use to sys/ioctl.h
Applying nested_sys_limits to sys/limits.h
Applying io_quotes_use to sys/mtio.h
Applying aix_volatile to sys/signal.h
Fixed: sys/signal.h
Applying io_quotes_def to sys/stropts.h
Applying gnu_types to sys/types.h
Fixed: sys/types.h
Applying aix_syswait_2 to sys/wait.h
Applying next_wait_union to sys/wait.h
Fixed: sys/wait.h
Applying sun_auth_proto to rpc/auth.h
Fixed: rpc/auth.h
Applying sun_auth_proto to rpc/clnt.h
Fixed: rpc/clnt.h
Applying sun_auth_proto to rpc/svc.h
Fixed: rpc/svc.h
Applying sun_auth_proto to rpc/xdr.h
Fixed: rpc/xdr.h
Applying io_quotes_def to isode/pepsy.h
Applying io_quotes_use to net/bpf.h
Fixed: net/bpf.h
Applying strict_ansi_only to assert.h
Fixed: assert.h
Applying avoid_wchar_t_type to ctype.h
Fixed: ctype.h
Applying void_null to curses.h
Fixed: curses.h
Applying io_quotes_use to netinet/if_802_5.h
Fixed: netinet/if_802_5.h
Applying io_quotes_def to netinet/in.h
Applying ip_missing_semi to netinet/ip.h
Applying io_quotes_def to netinet/ip6_opts.h
Applying void_null to locale.h
Fixed: locale.h
Applying sun_malloc to malloc.h
Applying hpux8_bogus_inlines to math.h
Applying math_exception to math.h
Applying math_huge_val_ifndef to math.h
Applying rs6000_double to math.h
Fixed: math.h
Applying svr4_undeclared_getrnge to regexp.h
Applying strict_ansi_only to setjmp.h
Fixed: setjmp.h
Applying gnu_types to stddef.h
Fixed: stddef.h
Applying stdio_stdarg_h to stdio.h
Applying stdio_va_list to stdio.h
Fixed: stdio.h
Applying gnu_types to stdlib.h
Fixed: stdlib.h
Applying sysv68_string to string.h
Fixed: string.h
Applying io_quotes_def to usersec.h
Fixing directory /usr/include/X11 into /home/fmr/workarea/gcc-3.4.3
/objdir/gcc/include/root/usr/lpp/X11/include/X11
Applying io_quotes_def to X11/Xmu/Atoms.h
Cleaning up unneeded directories:
fixincludes is done
echo timestamp > stmp-fixinc
if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
for file in .. ../../gcc/ginclude/float.h ../../gcc/ginclude/iso646.h
../../gcc/ginclude/stdarg.h ../../gcc/ginclude/stdbool.h
../../gcc/ginclude/stddef.h ../../gcc/ginclude/varargs.h ../../gcc/unwind.h
; do \
if [ X$file != X.. ]; then \
realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
echo timestamp > include/$realfile; \
rm -f include/$realfile; \
cp $file include; \
chmod a+r include/$realfile; \
fi; \
done
rm -f include/limits.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/README
cp ../../gcc/README-fixinc include/README
chmod a+r include/README
echo timestamp > stmp-int-hdrs
objext='.o' \
LIB1ASMFUNCS='' \
LIB2FUNCS_ST='_eprintf __gcc_bcmp' \
LIBGCOV='_gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta' \
LIB2ADD='' \
LIB2ADD_ST='' \
LIB2ADDEH='../../gcc/unwind-dw2.c ../../gcc/unwind-dw2-fde.c
../../gcc/unwind-sjlj.c ../../gcc/gthr-gnat.c ../../gcc/unwind-c.c' \
LIB2ADDEHSTATIC='../../gcc/unwind-dw2.c ../../gcc/unwind-dw2-fde.c
../../gcc/unwind-sjlj.c ../../gcc/gthr-gnat.c ../../gcc/unwind-c.c' \
LIB2ADDEHSHARED='../../gcc/unwind-dw2.c ../../gcc/unwind-dw2-fde.c
../../gcc/unwind-sjlj.c ../../gcc/gthr-gnat.c ../../gcc/unwind-c.c' \
LIB2ADDEHDEP='unwind.inc unwind-dw2-fde.h' \
LIBUNWIND='' \
LIBUNWINDDEP='' \
SHLIBUNWIND_LINK='' \
SHLIBUNWIND_INSTALL='' \
FPBIT='fp-bit.c' \
FPBIT_FUNCS='_pack_sf _unpack_sf _addsub_sf _mul_sf _div_sf _fpcmp_parts_sf
_compare_sf _eq_sf _ne_sf _gt_sf _ge_sf _lt_sf _le_sf _unord_sf _si_to_sf
_sf_to_si _negate_sf _make_sf _sf_to_df _sf_to_tf _thenan_sf _sf_to_usi
_usi_to_sf' \
LIB2_DIVMOD_FUNCS='_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv
_udivmoddi4' \
DPBIT='dp-bit.c' \
DPBIT_FUNCS='_pack_df _unpack_df _addsub_df _mul_df _div_df _fpcmp_parts_df
_compare_df _eq_df _ne_df _gt_df _ge_df _lt_df _le_df _unord_df _si_to_df
_df_to_si _negate_df _make_df _df_to_sf _df_to_tf _thenan_df _df_to_usi
_usi_to_df' \
TPBIT='' \
TPBIT_FUNCS='_pack_tf _unpack_tf _addsub_tf _mul_tf _div_tf _fpcmp_parts_tf
_compare_tf _eq_tf _ne_tf _gt_tf _ge_tf _lt_tf _le_tf _unord_tf _si_to_tf
_tf_to_si _negate_tf _make_tf _tf_to_df _tf_to_sf _thenan_tf _tf_to_usi
_usi_to_tf' \
MULTILIBS=`/home/fmr/workarea/gcc-3.4.3/objdir/gcc/xgcc
-B/home/fmr/workarea/gcc-3.4.3/objdir/gcc/
-B/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/bin/
-B/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem
/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/include -isystem
/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/sys-include
--print-multi-lib` \
EXTRA_MULTILIB_PARTS='' \
SHLIB_LINK='/home/fmr/workarea/gcc-3.4.3/objdir/gcc/xgcc
-B/home/fmr/workarea/gcc-3.4.3/objdir/gcc/
-B/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/bin/
-B/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem
/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/include -isystem
/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/sys-include -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -shared
-nodefaultlibs -Wl,-bE:@shlib_map_file@ -o @multilib_dir@/shr.o
@multilib_flags@ @shlib_objs@ -lc `case @shlib_base_name@ in *pthread*)
echo -L/usr/lib/threads -lpthreads -lc_r /usr/lib/libc.a ;; *) echo -lc ;;
esac` ; rm -f tmp-@shlib_base_name@.a ; ar -X32_64 -X32_64 rc
tmp-@shlib_base_name@.a @multilib_dir@/shr.o ; mv tmp-@shlib_base_name@.a
@shlib_base_name@.a ; rm -f @multilib_dir@/shr.o' \
SHLIB_INSTALL='../install-sh -c -m 644 @shlib_base_name@.a
$(DESTDIR)$(slibdir)/' \
SHLIB_EXT='.a' \
SHLIB_MULTILIB='' \
SHLIB_MKMAP='../../gcc/mkmap-flat.awk' \
SHLIB_MKMAP_OPTS='' \
SHLIB_MAPFILES='../../gcc/libgcc-std.ver' \
SHLIB_NM_FLAGS='-Bpg -X32_64' \
MULTILIB_OSDIRNAMES='' \
mkinstalldirs='/bin/sh ../../gcc/mkinstalldirs' \
/bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TARGET_CPU_DEFAULT="" \
HEADERS="ansidecl.h" DEFINES="USE_COLLECT2" \
/bin/sh ../../gcc/mkconfig.sh tconfig.h
echo '#define FLOAT' > fp-bit.c
cat ../../gcc/config/fp-bit.c >> fp-bit.c
cat ../../gcc/config/fp-bit.c > dp-bit.c
make \
CFLAGS="-O2 -maix64 -g -mminimal-toc -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes " \
CONFIG_H="config.h auto-host.h ../../gcc/../include/ansidecl.h" \
MAKEOVERRIDES= \
-f libgcc.mk all
make[2]: Entering directory `/home/fmr/workarea/gcc-3.4.3/objdir/gcc'
for d in libgcc pthread libgcc/pthread ppc64 libgcc/ppc64 pthread/ppc64
libgcc/pthread/ppc64; do \
if [ -d $d ]; then true; else /bin/sh ../../gcc/mkinstalldirs $d; fi; \
done
mkdir -p -- libgcc
mkdir -p -- pthread
mkdir -p -- libgcc/pthread
mkdir -p -- ppc64
mkdir -p -- libgcc/ppc64
mkdir -p -- pthread/ppc64
mkdir -p -- libgcc/pthread/ppc64
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/home/fmr/workarea/gcc-3.4.3/objdir/gcc/xgcc -B/home/fmr/workarea/gcc-3.4.3
/objdir/gcc/ -B/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/bin/
-B/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem
/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/include -isystem
/home/fmr/workarea/usr/local/powerpc-ibm-aix5.3.0.0/sys-include -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I.
-I../../gcc -I../../gcc/. -I../../gcc/../include -DL_muldi3 -c
../../gcc/libgcc2.c -o libgcc/./_muldi3.o
Assembler:
/tmp//ccjfXhND.s: line 402: 1252-191 Only .llong should be used for
relocatable expressions.
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/home/fmr/workarea/gcc-3.4.3/objdir/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/fmr/workarea/gcc-3.4.3/objdir/gcc'
make: *** [all-gcc] Error 2
/home/fmr/workarea/gcc-3.4.3/objdir #
I have already tested the following setting (I wanted to make xgcc working with
the -maix64 option) but the error is still present:
export OBJECT_MODE=64
export CC="gcc -maix64"
export CXX="g++ -maix64"
export LD="g++ -maix64"
export CFLAGS="-O2 -maix64 -mminimal-toc"
export CXXFLAGS="-O2 -maix64 -mminimal-toc"
export LDFLAGS="-O -maix64"
export LIBCFLAGS="-O2 -maix64 -mminimal-toc"
export LIBCXXFLAGS="-O2 -maix64 -mminimal-toc -fno-implicit-templates"
export BOOT_CFLAGS="-O2 -maix64 -mminimal-toc"
export BOOT_CXXFLAGS="-O2 -maix64 -mminimal-toc"
export BOOT_LDFLAGS="-O2 -maix64 -mminimal-toc"
export CFLAGS_FOR_TARGET="-O2 -maix64 -mminimal-toc"
export CXXFLAGSFOR_TARGET="-O2 -maix64 -mminimal-toc"
Thanks and best regards, Michele Mazza
--
Summary: AIX 5.3 64bit - xgcc error: 1252-191 Only .llong should
be used for relocatable expressions
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: michele_mazza at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25134