[cfe-dev] Clang Linux driver - header directories for wrong architecture are selected for -m32

Jonathan Roelofs jonathan at codesourcery.com
Wed Apr 30 12:01:10 PDT 2014



On 4/30/14, 5:40 AM, Simon Atanasyan wrote:
> Hi,
>
> On Wed, Apr 30, 2014 at 2:46 PM, Aleksei Sidorin <a.sidorin at samsung.com> wrote:
>> I have a problem with current Clang master: it selects x64 headers for
>> 32-bit architecture and it leads to compiler errors.
>> I have Ubuntu 14.04 with GCC-4.8.2 and 4.6.4 installed + multilib. Clang 3.5
>> (master) doesn't add "/32" suffixes if "-m32" option is specified.
>
> 1. Could you consider to use Phabricator (http://reviews.llvm.org/)
> for the patch submitting?
Aleksei, please add me to the review when you do.
> 2. Could you add any test case to the patch to reproduce the bug? The
> following commit has the driver test case example:
> http://llvm.org/viewvc/llvm-project?rev=202873&view=rev
> 3. Very minor note - there is a typo in the variable name "NewSubling".
>
> Regards,
> Simon
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded



More information about the cfe-dev mailing list