From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 476 invoked by alias); 27 Mar 2011 03:55:43 -0000 Received: (qmail 468 invoked by uid 22791); 27 Mar 2011 03:55:42 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,TW_BF X-Spam-Check-By: sourceware.org Received: from dm-mail01.mozilla.org (HELO dm-mail01.mozilla.org) (63.245.208.150) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 27 Mar 2011 03:55:38 +0000 Received: from Rafael-Avila-de-Espindolas-MacBook-Air.local (v74-nslb.mozilla.org [10.2.74.4]) (Authenticated sender: respindola@mozilla.com) by dm-mail01.mozilla.org (Postfix) with ESMTP id DA62DB8007 for ; Sat, 26 Mar 2011 20:55:35 -0700 (PDT) Message-ID: <4D8EB535.2050804@mozilla.com> Date: Sun, 27 Mar 2011 03:55:00 -0000 From: =?ISO-8859-1?Q?Rafael_=C1vila_de_Esp=EDndola?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: libffi-discuss@sourceware.org Subject: Re: [patch] Check for libffi_cv_as_x86_pcrel should not look for just "warning" References: <4D4C62FE.4070409@mozilla.com> In-Reply-To: <4D4C62FE.4070409@mozilla.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org X-SW-Source: 2011/txt/msg00110.txt.bz2 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