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]

libffi build issues with Sun Studio 12 compiler


Hi,

I got some build issues of libffi inside mozilla-central with Sun Studio 12 compiler on OpenSolaris.

The problems are described at
https://bugzilla.mozilla.org/show_bug.cgi?id=519401#c4

1) -Wall, -fexceptions are not valid for Sun Studio compiler.

2) In ffitarget.h, Sun Studio doesn't define __i386__ and __x86_64__.
We can add || defined(__i386) and || defined (__x86_64).

3) ffi_common.h
FFI_ASSERT_AT should use (void)0.

I would like to ask advices for problem 1).
What should we do for AM_CFLAGS in Makefile.in?
What's the best way to handle it?

Thanks,

Ginn


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