[cfe-dev] Bug 16022 - Clang ignores include path arguments when compiling assembly files
hannes at omnicloud.com
Fri May 17 06:40:51 PDT 2013
This was a solution I figured was possible (by sending the arguments
directly to the assembler) but I couldn't find any documentation about it.
I will see if I have time to create a patch myself. I solved it by
switching to "as" for now.
On Thu, May 16, 2013 at 2:57 AM, Richard Smith <richard at metafoo.co.uk>wrote:
> On Wed, May 15, 2013 at 5:46 PM, Hannes Landeholm <hannes at omnicloud.com>wrote:
>> I just want to direct some attention to this bug as I just got hit by it
>> and feel like it should be a one liner to fix if you know the clang source
>> code. I don't so my attempt to figure out a patch failed. Right now it
>> forces me to switch to another compiler and it would be a lot of work for
>> me to do that.
>> The steps to reproduce is also really simple.
>> I would also be interested in someone knows of a workaround or can point
>> me in the general direction of where the arguments are passed to the
>> assembler in the clang source tree.
> Workaround: add -Xassembler before your -I arguments.
> If you'd like to fix this, the relevant code is in lib/Driver/Tools.cpp;
> the right place is probably somewhere in the vicinity of the various
> Assemble::ConstructJob functions.
>> Thanks for reading,
>> Hannes Landeholm
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev