This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi 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: of unexpected failures 131 with libffi-3.0.12



----- Original Message -----
From: Anthony Green <green@moxielogic.com>
Date: Sunday, February 24, 2013 6:32 am
Subject: Re: of unexpected failures 131 with libffi-3.0.12
To: Dennis Clarke <dclarke@blastwave.org>
Cc: libffi-discuss@sourceware.org


> On Sun, Feb 24, 2013 at 4:02 AM, Dennis Clarke <dclarke@blastwave.org> 
> wrote:
> >
> >
> > Am pretty sure that these are all false positives :
> >
> >
> >                 === libffi Summary ===
> >
> > # of unexpected failures        131
> > # of unresolved testcases       131
> > # of unsupported tests          11
> 
> The even number of pass/fail suggests some kind of linking error.
> What does testsuite/libffi.log say?

ah ha .. well it seems clear that the Makefile is broken in that the CFLAGS were ignored completely. All the binaries we 32-bit and that is wrong : 

$ pwd
/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001
$ find . -type f -name libffi.log
./sparc-sun-solaris2.10/testsuite/libffi.log
$ ls -l ./sparc-sun-solaris2.10/testsuite/libffi.log
-rwxr-xr-x   1 dclarke  other     234331 Feb 24 08:54 ./sparc-sun-solaris2.10/testsuite/libffi.log
$ more ./sparc-sun-solaris2.10/testsuite/libffi.log
Test Run By dclarke on Sun Feb 24 08:54:12 2013
Native configuration is sparc-sun-solaris2.10

                === libffi tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for
 target.
Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for tar
get.
Using ../../testsuite/config/default.exp as tool-and-target-specific interface f
ile.
Running ../../testsuite/libffi.call/call.exp ...
set_ld_library_path_env_vars: ld_library_path=:/usr/local/build/libffi-3.0.12_Su
nOS5.10_sparcv9.001/sparc-sun-solaris2.10/testsuite/../.libs
Executing on host: /opt/solarisstudio12.3/bin/cc ../../testsuite/libffi.call/clo
sure_fn0.c    -I/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-s
olaris2.10/testsuite/../include -I../../testsuite/../include  -I/usr/local/build
/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-solaris2.10/testsuite/../include/
.. -L/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-solaris2.10/
testsuite/../.libs  -lffi -lm   -o ./closure_fn0.exe    (timeout = 300)
spawn /opt/solarisstudio12.3/bin/cc ../../testsuite/libffi.call/closure_fn0.c -I
/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-solaris2.10/tests
uite/../include -I../../testsuite/../include -I/usr/local/build/libffi-3.0.12_Su
nOS5.10_sparcv9.001/sparc-sun-solaris2.10/testsuite/../include/.. -L/usr/local/b
uild/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-solaris2.10/testsuite/../.lib
s -lffi -lm -o ./closure_fn0.exe
ld: fatal: file /usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-s
olaris2.10/testsuite/../.libs/libffi.so: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to ./closure_fn0.exe
compiler exited with status 1
output is:
ld: fatal: file /usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-s
olaris2.10/testsuite/../.libs/libffi.so: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to ./closure_fn0.exe

FAIL: libffi.call/closure_fn0.c (test for excess errors)
Excess errors:
ld: fatal: file /usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-s
olaris2.10/testsuite/../.libs/libffi.so: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to ./closure_fn0.exe

UNRESOLVED: libffi.call/closure_fn0.c compilation failed to produce executable
Executing on host: /opt/solarisstudio12.3/bin/cc ../../testsuite/libffi.call/clo
sure_fn1.c    -I/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-s
olaris2.10/testsuite/../include -I../../testsuite/../include  -I/usr/local/build
/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-solaris2.10/testsuite/../include/
.. -L/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-solaris2.10/
testsuite/../.libs  -lffi -lm   -o ./closure_fn1.exe    (timeout = 300)
spawn /opt/solarisstudio12.3/bin/cc ../../testsuite/libffi.call/closure_fn1.c -I
/usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-solaris2.10/tests
uite/../include -I../../testsuite/../include -I/usr/local/build/libffi-3.0.12_Su
nOS5.10_sparcv9.001/sparc-sun-solaris2.10/testsuite/../include/.. -L/usr/local/b
uild/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-solaris2.10/testsuite/../.lib
s -lffi -lm -o ./closure_fn1.exe
ld: fatal: file /usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-s
olaris2.10/testsuite/../.libs/libffi.so: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to ./closure_fn1.exe
compiler exited with status 1
output is:
ld: fatal: file /usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-s
olaris2.10/testsuite/../.libs/libffi.so: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to ./closure_fn1.exe

FAIL: libffi.call/closure_fn1.c (test for excess errors)
Excess errors:
ld: fatal: file /usr/local/build/libffi-3.0.12_SunOS5.10_sparcv9.001/sparc-sun-s
olaris2.10/testsuite/../.libs/libffi.so: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to ./closure_fn1.exe

UNRESOLVED: libffi.call/closure_fn1.c compilation failed to produce executable
Executing on host: /opt/solarisstudio12.3/bin/cc ../../testsuite/libffi.call/clo
etc
etc
etc

So I need to locate the Makefile at fault here and ensure CFLAGS is the same as
everything else. 

dc 






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