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: libffi on OpenBSD 4.3


Sebastian Reitenbach wrote:
> Hi,
> 
> I want to use libffi on OpenBSD 4.3 sparc64, to get the gnustep gui stuff 
> running. but when running the testsuite, then there are 9 unexpected errors, 
> and 15 unsupported tests. exactly the same turns out on i386.
> This was done using the sytem compiler:
> gcc -v
> Reading specs from /usr/lib/gcc-lib/sparc64-unknown-openbsd4.3/3.3.5/specs
> Configured with:
> Thread model: single
> gcc version 3.3.5 (propolice)
> on both systems.
> 
> I found this thread from February:
> http://sourceware.org/ml/libffi-discuss/2008/msg00055.html
> Therefore I thought, maybe a gcc issue.
> So on the sparc64, I installed gcc 4.2. and compiled libffi again, using 
> this compiler.
> 
> egcc -v
> Using built-in specs.
> Target: sparc64-unknown-openbsd4.3
> Configured 
> with: /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/configure
> --with-gmp=/usr/local --verbose --program-transform-name=s,^,e, --disable-nls
> --disable-checking --with-system-zlib --disable-libmudflap --disable-libgomp
> --disable-tls --with-as=/usr/bin/as --with-ld=/usr/bin/ld --with-gnu-ld
> --with-gnu-as --enable-languages=c,c++,fortran,objc --enable-cpp --with-gnu-as
> --with-gnu-ld --enable-shared --prefix=/usr/local --sysconfdir=/etc
> --mandir=/usr/local/man --infodir=/usr/local/info
> Thread model: single
> gcc version 4.2.0 20070307 (prerelease)
> 
> However, I had to move gcc, gpp, g++ in /usr/bin out of the way and link the 
> gcc 4.2 binaries there instead because make check did always took the gcc 
> 3.3.5, also when I specified the environment variables, when issuing make 
> check.
> 
> howevery, when running make check with gcc 4.2 I get only 8 unexpected 
> errors.
> 
> I wonder whether the tests break, or I do miss some feature?

We really need to see what the failures were.  This should be in the log.

Andrew.


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