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] |
Hi, On Friday 26 December 2008 22:51:28 Andreas Tobler wrote: > Sebastian Reitenbach wrote: > > Any idea what to change to get rid of the remaining 8 compilation errors? > > They all have the same problem. > > The attribute warning you can get rid of with the below, on both 3.3.5 > and 2.95: > Index: ffitestcxx.h > =================================================================== > --- ffitestcxx.h (revision 142916) > +++ ffitestcxx.h (working copy) > @@ -9,7 +9,7 @@ > > /* Define __UNUSED__ that also other compilers than gcc can run the > tests. */ > #undef __UNUSED__ > -#if defined(__GNUC__) > +#if defined(__GNUC__) && (__GNUC__ > 3) > #define __UNUSED__ __attribute__((__unused__)) > #else > #define __UNUSED__ > > > The "gcc: unrecognized option `-shared-libgcc'" you can not eliminate on > 2.95. The option is not known there. On 3.3.5 it should be there. It was > introduced somewhere in 3.x. 3.2.3 has it. > > Nevertheless, calming down the compiler will not help you in terms of > exception handling. The tests will fail in execution. Thanks for the patch, I did add it. The problem regarding the exception handling seems to be gone, the compilers/library that come with the system seem to be better in that regard. With the patch, it drops the number of unexpected failures from 8 to 2 on sparc64 and i386 (gcc-3.3). However, on sparc it now produces even more errors, see appended log files. It now whines about unused parameters. Sebastian > > Andreas
Attachment:
libffi-sparc.log.gz
Description: GNU Zip compressed data
Attachment:
libffi-sparc64.log.gz
Description: GNU Zip compressed data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |