[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PATCH: Fix libgloss.exp
From: |
H. J. Lu |
Subject: |
PATCH: Fix libgloss.exp |
Date: |
Mon, 12 May 2003 22:26:22 -0700 |
User-agent: |
Mutt/1.2.5.1i |
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.
dejagnu-_exit.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- PATCH: Fix libgloss.exp,
H. J. Lu <=