This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/14239] New: Problem building gcc3.3.3 for x86_64
- From: "jasonar79 at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Feb 2004 21:47:04 -0000
- Subject: [Bug bootstrap/14239] New: Problem building gcc3.3.3 for x86_64
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I am running kernel 2.6.1, which is configured for an AMD 64 processor. I
attempted to upgrade from gcc3.3.0 I originally just ran configure without
options; however, gcc incorrectly determined my system to be a 686, so I broke
out of that and reran configure specifying host and target. This gave me
compilation errors during 'make bootstrap'. Portions of a script of the
session have been posted below:
[root@localhost gcc-3.3.3-obj]# /root/gcc-3.3.3/configure
Configuring for a i686-pc-linux-gnu host.
[root@localhost gcc-3.3.3-obj]# /root/gcc-3.3.3/configure
--enable-languages=c,c
++,java --target=x86_64-linux-gnu --host=x86_64-linux-gnu
*** This configuration is not supported in the following subdirectories:
target-libf2c target-libobjc
(Any other directories should still work fine.)
......
SHLIB_MKMAP='/root/gcc-3.3.3/gcc/mkmap-symver.awk' \
SHLIB_MKMAP_OPTS='' \
SHLIB_MAPFILES='/root/gcc-3.3.3/gcc/libgcc-std.ver
/root/gcc-3.3.3/gcc/config/i386/libgcc-x86_64-glibc.ver' \
SHLIB_NM_FLAGS='-pg' \
MULTILIB_OSDIRNAMES='../lib64 ../lib' \
mkinstalldirs='/bin/sh /root/gcc-3.3.3/gcc/mkinstalldirs' \
/bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TM_DEFINES="" \
HEADERS="ansidecl.h i386/biarch64.h i386/i386.h i386/unix.h i386/att.h
dbxelf.h elfos.h svr4.h linux.h i386/x86-64.h i386/linux64.h
defaults.h" XM_DEFINES="POSIX" \
TARGET_CPU_DEFAULT="" \
/bin/sh /root/gcc-3.3.3/gcc/mkconfig.sh tconfig.h
./xgcc -B./ -B/usr/local/x86_64-linux-gnu/bin/ -isystem
/usr/local/x86_64-linux-gnu/include -isystem
/usr/local/x86_64-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include
-I. -I. -I/root/gcc-3.3.3/gcc -I/root/gcc-3.3.3/gcc/.
-I/root/gcc-3.3.3/gcc/config -I/root/gcc-3.3.3/gcc/../include -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-omit-frame-pointer
-fno-asynchronous-unwind-tables \
-c /root/gcc-3.3.3/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
/tmp/ccv9EPW3.s: Assembler messages:
/tmp/ccv9EPW3.s:33: Error: `completed.1(%rip)' is not a valid 32 bit base/index
expression
/tmp/ccv9EPW3.s:34: Error: suffix or operands invalid for `push'
/tmp/ccv9EPW3.s:35: Error: suffix or operands invalid for `movq'
/tmp/ccv9EPW3.s:37: Error: `p.0(%rip)' is not a valid 32 bit base/index
expression
/tmp/ccv9EPW3.s:38: Error: `(%rax)' is not a valid 32 bit base/index expression
/tmp/ccv9EPW3.s:44: Error: `p.0(%rip)' is not a valid 32 bit base/index
expression
/tmp/ccv9EPW3.s:46: Error: `p.0(%rip)' is not a valid 32 bit base/index
expression
/tmp/ccv9EPW3.s:47: Error: `(%rax)' is not a valid 32 bit base/index expression
/tmp/ccv9EPW3.s:51: Error: `completed.1(%rip)' is not a valid 32 bit base/index
expression
/tmp/ccv9EPW3.s:63: Error: suffix or operands invalid for `push'
/tmp/ccv9EPW3.s:64: Error: `__JCR_LIST__(%rip)' is not a valid 32 bit
base/index expression
/tmp/ccv9EPW3.s:65: Error: suffix or operands invalid for `movq'
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/root/gcc-3.3.3-obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/root/gcc-3.3.3-obj/gcc'
make: *** [bootstrap] Error 2
[root@localhost gcc-3.3.3-obj]# exit
Script done on Sat 21 Feb 2004 03:18:28 PM CST
-Jason Arnold
--
Summary: Problem building gcc3.3.3 for x86_64
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jasonar79 at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14239