bug-mes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mes] ARM mes on wip-arm - Other test failures


From: Danny Milosavljevic
Subject: Re: [bug-mes] ARM mes on wip-arm - Other test failures
Date: Tue, 12 Mar 2019 12:30:38 +0100

> >> +if test $mes_libc = arm; then  
> >
> > "= mes", right?  
> 
> eh, I meant to say: $mes_cpu = arm, not sure
> about restricting to $mes_libc = mes, WDYT?

Yeah, probably best to do it always for mes_cpu = arm (for comparability).

> >> > FAIL: lib/tests/io/90-stat.c [no case for __arm__]  
> >
> > This one is strange.  I've added a case for __arm__ and then:
> > (1) When I "rm -rf gcc-lib" and then do "make check", it still fails
> > (2) But when I then invoke "lib/tests/io/90-stat" manually it succeeds (!)  
> 
> Do yo mean gcc-lib/lib/tests/io/90-stat ?

Yes.

> 
> > It might be that the test timeout is too low - the division algorithm
> > isn't exactly optimized ;)  
> 
> Yeah, you can bump the timout in build-aux/test-c.sh.  Does the
> gcc-lib/lib/tests/io/90-stat.log file say something interesting?

./../lib/tests/io/90-stat.c: In function 'main':
./../lib/tests/io/90-stat.c:69:12: warning: implicit declaration of function 
'open' [-Wimplicit-function-declaration]
   int fd = open ("../COPYING", 0);
            ^
./../lib/tests/io/90-stat.c:76:22: warning: passing argument 2 of 'fstat' from 
incompatible pointer type [-Wincompatible-pointer-types]
   int r = fstat (fd, &sbuf);
                      ^
In file included from ./../lib/tests/io/90-stat.c:24:0:
../include/sys/stat.h:86:5: note: expected 'struct stat *' but argument is of 
type 'struct xstat *'
 int fstat (int filedes, struct stat *buf);
     ^
FAIL lib/tests/io/90-stat.c (exit status: 1)

And gcc-lib/lib/tests/io/90-stat.2:

st_dev=25
st_ino=11447422
st_mode=33188
st_nlink=1
st_uid=27481
st_gid=998
st_rdev=0
st_size=35147
st_blksize=4096
st_blocks=72
st_atime=
[cut off in original]

Attachment: pgpiV2xgt1sNj.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]