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: [patch] Check for libffi_cv_as_x86_pcrel should not look for just "warning"


Ping.

FYI, this is https://bugzilla.mozilla.org/show_bug.cgi?id=631928

On 11-02-04 3:35 PM, Rafael Avila de Espindola wrote:
The check that sets libffi_cv_as_x86_pcrel currently check for "warning"
or "illegal". The problem is that when trying to build libffi with LTO
clang will produce the warning

clang: warning: argument unused during compilation: '-emit-llvm'

The attached patch just uses the $CC error code instead. Is that OK or
is there some strange assembler out there that rejects the assembly bug
exists with 0?

Cheers, Rafael


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