This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: linux libio patches


On Thu, Oct 09, 1997 at 02:38:20PM -0700, Richard Henderson wrote:
> Would other people verify that this works for them wrt linux
> libc5 and libstdc++?  It works for me on trivial tests on
> Linux/Alpha, RH 4.2 vintage + binutils 2.8.1.  It build for 
> me on an i686 down the way, but I didn't install it.

I'm running Linux x86 2.1.57, libc 5.4.39.  This patch:

> diff -u -p -d -r1.1.1.1 linux.ml
> --- linux.ml	1997/08/21 22:58:35	1.1.1.1
> +++ linux.ml	1997/10/09 21:09:09
> @@ -4,3 +4,6 @@ LIBS    = $(ARLIB) $(SHLIB) $(SHLINK) ms
>  SHFLAGS = -Wl,-soname,$(MSHLINK)
>  SHDEPS  = -lm
>  DEPLIBS = ../$(SHLIB)
> +
> +# Linux has libio in libc for stdio.
> +IOSTREAM_LIST=

does not apply for me because I do not have libio/config/linux.ml.

Anyway, I went ahead and reconfigured and rebuilt egcs without this one
reject and 'make check' gives me this:

                === libio tests ===

Using /usr/local/bin/../share/dejagnu/baseboards/unix.exp as board
description file for target.
Using /usr/local/bin/../share/dejagnu/config/unix.exp as generic interface
file for target.
Using ./config/default.exp as tool-and-target-specific interface file.
Running ./libio.tests/hounddog.exp ...
Running ./libio.tests/putbackdog.exp ...
Running ./libio.tests/tFile.exp ...
Running ./libio.tests/tfformat.exp ...
FAIL: tfformat.c compilation 
Running ./libio.tests/tiformat.exp ...
FAIL: tiformat.c compilation 
Running ./libio.tests/tiomanip.exp ...
Running ./libio.tests/tiomisc.exp ...
Running ./libio.tests/tstdiomisc.exp ...
FAIL: tstdiomisc.c compilation 

                === libio Summary ===

# of expected passes            33
# of unexpected failures        3
# of expected failures          4

*Much* better, but still not quite there.  I will grab new .tar.gz's of
everything tomorrow at work and bring those home and reapply your patch. 
Maybe the file got lost during patch upgrades.

One update..  the 3 failures here are because the testsuite couldn't find
libio.a.  I hacked around this, and now this is the only failure:

FAIL: tfformat.c execution 

I can provide more information.  Just let me know what to do.

-- 
Steve Madsen  <steve@moonglade.com>              PGP key available


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