On Mon, May 12, 2003 at 10:21:39PM -0400, Jack Howarth wrote: > HJ, > I can reproduce the problem and you did too. Look in your log... > > /home/hjl/build/binutils/build-ppc-linux/binutils/binutils.log > > Executing on host: gcc -c -o testglue.o > /usr/share/dejagnu/testglue.c (timeout = 300) > Executing on host: gcc > /home/hjl/src/binutils/binutils/binutils/testsuite/binutils-all/testprog.c testglue.o -B/home/hjl/build/binutils/build-i686-linux/binutils/tmpdir/gas/ -Wl,-wrap,exit -Wl,-wrap,main -Wl,-wrap,abort -g -lm -o tmpdir/testprog (timeout = 300) > testglue.o(.text+0x290): In function `__wrap__exit': > : undefined reference to `__real__exit' > collect2: ld returned 1 exit status > compiler exited with status 1 > output is: > testglue.o(.text+0x290): In function `__wrap__exit': > : undefined reference to `__real__exit' > collect2: ld returned 1 exit status > > UNTESTED: simple objcopy of executable > UNTESTED: run objcopy of executable > UNTESTED: run stripped executable > UNTESTED: run stripped executable with saving a symbol > > It is still happening with current binutils cvs. > Another dejagnu 1.4.3 bug. No wonder why many people don't bother with it. Here is a patch. I have no idea if it is a correct fix. H.J.