> From: Rainer Orth <r...@cebitec.uni-bielefeld.de>
> Date: Wed, 2 Nov 2011 13:37:33 +0100

> Rainer Orth <r...@cebitec.uni-bielefeld.de> writes:
> 
> > The next patch in the series moves crtstuff.c, extra_parts, EXTRA_PARTS,
> > EXTRA_MULTILIB_PARTS and referenced files to libgcc.  This will avoid
> > errors due to inconsistencies in extra_parts between gcc and libgcc in
> > the future.
> >
> > Much of this is pretty mechanical, but given that I cannot test most of
> > the platforms, there are likely to be mistakes in the process.
> 
> Given Joseph's approval, I'm about to check in the following rebased
> version of the patch, after regtesting on i386-pc-solaris2.11,
> sparc-sun-solaris2.11, x86_64-unknown-linux-gnu, i386-apple-darwin9.8.0,
> and powerpc-apple-darwin9.8.0.

For big changes such as this, please test on a cross
configuration as well.

For cris-elf, a patch in the range 180770:180778 supposedly
yours, cause massive testsuite failures on the form of not
finding functions in libgcc at link-time.  From gcc.log:

Executing on host: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/xgcc 
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/ 
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/complex-1.c
 
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/complex-1-lib.c
 
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/lib/main.c
   -w  -O0    -isystem 
/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include -isystem 
/tmp/hpautotest-gcc1/gcc/newlib/libc/include 
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./libgloss/cris/ 
-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./libgloss/cris 
-L/tmp/hpautotest-gcc1/gcc/libgloss/cris  
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/ 
-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib -sim3  -lm   -o 
/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/testsuite/gcc/complex-1.x0    (timeout 
= 300)
/tmp/ccAbw5Fs.o: In function `main_test':
complex-1.c:(.text+0x9e): undefined reference to `__nesf2'
complex-1.c:(.text+0xb8): undefined reference to `__nesf2'
complex-1.c:(.text+0xfa): undefined reference to `__nesf2'
complex-1.c:(.text+0x114): undefined reference to `__nesf2'
complex-1.c:(.text+0x142): undefined reference to `__nesf2'
/tmp/ccAbw5Fs.o:complex-1.c:(.text+0x162): more undefined references to 
`__nesf2' follow

brgds, H-P

Reply via email to