This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: expected binutils failure


It must be a PPC thing. Someone who is familiar with PPC may be able to
comment on it.

H.J.
----
On Sun, May 25, 2003 at 12:41:10PM -0400, Jack Howarth wrote:
> HJ,
>    I get...
> 
> Executing on host: gcc  -c  -o testglue.o
> /usr/share/dejagnu/testglue.c    (timeout = 300)
> Executing on host: gcc
> /home/howarth/new-debian-binutils/binutils-2.14.90.0.4/build-tree/binutils-2.14.90.0.4/binutils/testsuite/binutils-all/testprog.c testglue.o  -B/home/howarth/new-debian-binutils/binutils-2.14.90.0.4/build-tree/binutils-2.14.90.0.4/builddir-single/binutils/tmpdir/gas/ -Wl,-wrap,_exit -Wl,-wrap,exit -Wl,-wrap,main -Wl,-wrap,abort -g  -lm   -o tmpdir/testprog    (timeout = 300) 
> *** EXIT code 0
> ok
> /home/howarth/new-debian-binutils/binutils-2.14.90.0.4/build-tree/binutils-2.14.90.0.4/builddir-single/binutils/objcopy  tmpdir/testprog tmpdir/copyprog
> Executing on host:
> /home/howarth/new-debian-binutils/binutils-2.14.90.0.4/build-tree/binutils-2.14.90.0.4/builddir-single/binutils/objcopy  tmpdir/testprog tmpdir/copyprog   (timeout = 300)
> Executing on build: cmp tmpdir/testprog tmpdir/copyprog   (timeout =
> 300)
> tmpdir/testprog tmpdir/copyprog differ: char 72, line 1
> tmpdir/testprog tmpdir/copyprog differ: char 72, line 1
>  
> XFAIL: simple objcopy of executable
>  
> *** EXIT code 0
> ok
> PASS: run objcopy of executable
> /home/howarth/new-debian-binutils/binutils-2.14.90.0.4/build-tree/binutils-2.14.90.0.4/builddir-single/binutils/strip-new  tmpdir/striprog
> Executing on host:
> /home/howarth/new-debian-binutils/binutils-2.14.90.0.4/build-tree/binutils-2.14.90.0.4/builddir-single/binutils/strip-new  tmpdir/striprog
> (timeout = 300)
>  
> *** EXIT code 0
> ok
> 
> ...if I...
> 
> cd binutils
> gcc
> /home/howarth/new-debian-binutils/binutils-2.14.90.0.4/build-tree/binutils-2.14.90.0.4/binutils/testsuite/binutils-all/testprog.c testglue.o  -B/home/howarth/new-debian-binutils/binutils-2.14.90.0.4/build-tree/binutils-2.14.90.0.4/builddir-single/binutils/tmpdir/gas/ -Wl,-wrap,_exit -Wl,-wrap,exit -Wl,-wrap,main -Wl,-wrap,abort -g  -lm   -o tmpdir/testprog
> 
> ...I get a successful compilation...
> 
> ls -l tmpdir/testprog
> -rwxr-xr-x    1 root     root        12497 May 25 12:37 tmpdir/testprog
> 
> However if I run the binary I get...
> 
> 
>  ./tmpdir/testprog
> ok
>  
> *** EXIT code 0
> 
>                                               Jack
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]