[cfe-dev] compiler-rt fails to build with the packages are installed on the system
Sylvestre Ledru
sylvestre at debian.org
Thu Nov 7 09:03:57 PST 2013
On 02/11/2013 01:27, Richard Smith wrote:
> On Wed, Oct 30, 2013 at 8:29 PM, Sylvestre Ledru <sylvestre at debian.org
> <mailto:sylvestre at debian.org>> wrote:
>
> On 29/10/2013 22:02, Richard Smith wrote:
>> On Tue, Oct 29, 2013 at 1:44 AM, Sylvestre Ledru
>> <sylvestre at debian.org <mailto:sylvestre at debian.org>> wrote:
>>
>> Hello,
>>
>> Recently, compiler-rt build started to fail when the package
>> are also
>> installed on the system.
>>
> In this case, that's *still* not going to do the right thing, even
> though it may make the symptoms go away for now -- for instance,
> <stdint.h> has an #include_next, and you really don't want that to go
> pulling in the builtin headers from the wrong build of Clang. You should
> fix your clang patch to search in a smarter way: maybe you could look
> for "$argv0/../include/clang/3.4/include" instead of looking for an
> absolute path?
I implemented this solution. It seems it will do the job.
Thanks for the suggestion.
Sylvestre
More information about the cfe-dev
mailing list