This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
ppc-eabisim is broken in mainline
- From: Joern RENNECKE <joern dot rennecke at st dot com>
- To: David Edelsohn <edelsohn at gnu dot org>, Aldy Hernandez <aldyh at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 10 May 2005 18:54:12 +0100
- Subject: ppc-eabisim is broken in mainline
Between 20050505 and 20050510, the ppc-eabisim configuration was broken.
I'm seeing this error:
/mnt/scratch/nightly/2005-05-10-orv/ppc/./gcc/xgcc
-B/mnt/scratch/nightly/2005-05-10-orv/ppc/./gcc/ -nostdinc
-B/mnt/scratch/nightly/2005-05-10-orv/ppc/powerpc-eabisim/newlib/
-isystem
/mnt/scratch/nightly/2005-05-10-orv/ppc/powerpc-eabisim/newlib/targ-include
-isystem /mnt/scratch/nightly/2005-05-10-orv/srcw/newlib/libc/include
-B/usr/local/powerpc-eabisim/bin/ -B/usr/local/powerpc-eabisim/lib/
-isystem /usr/local/powerpc-eabisim/include -isystem
/usr/local/powerpc-eabisim/sys-include
-L/mnt/scratch/nightly/2005-05-10-orv/ppc/./ld -O2 -DIN_GCC
-DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -g
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I -I../../srcw/gcc
-I../../srcw/gcc/ -I../../srcw/gcc/../include
-I../../srcw/gcc/../libcpp/include -mrelocatable-lib -mno-eabi
-mstrict-align -xassembler-with-cpp -c eabi.S -o libgcc/./eabi.o
/mnt/scratch/nightly/2005-05-10-orv/ppc/gcc//: Assembler messages:
/mnt/scratch/nightly/2005-05-10-orv/ppc/gcc//:1: Warning: line numbers
must be positive; line number 0 rejected
eabi.S:136: Error: Relocation cannot be done when using -mrelocatable
eabi.S:137: Error: Relocation cannot be done when using -mrelocatable
eabi.S:138: Error: Relocation cannot be done when using -mrelocatable
eabi.S:139: Error: Relocation cannot be done when using -mrelocatable
eabi.S:142: Error: Relocation cannot be done when using -mrelocatable
make[2]: *** [libgcc/./eabi.o] Error 1
make[2]: Leaving directory `/mnt/scratch/nightly/2005-05-10-orv/ppc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/mnt/scratch/nightly/2005-05-10-orv/ppc/gcc'
make: *** [all-gcc] Error 2
build failed
Some experimentation shows that the assembler from the two dates behaves
the same,
and eabi.S is identical, but the preprocessed source files differ. cc1
used to define
_RELOCATABLE, but it does not any more.
The definition used to be:
# 0 "<built-in>"
#define _RELOCATABLE 1