All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Clang and SDK relocation
@ 2018-11-06 18:24 Matthew Weber
  2018-11-06 21:00 ` Romain Naour
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Weber @ 2018-11-06 18:24 UTC (permalink / raw)
  To: buildroot

While working on a patchset for adding the compiler-rt sanitizers.  We
noticed an issue if we moved the build as an SDK (path changed on
system so that the orig build doesn't exist).  The include search
paths provided to Clang seem to be ignored (sysroot/-I).  These
options do work if using the tools from the original build location.
Do you guys happen to know of any options I could start investigating
to adjust to make a relative path or prefix with sysroot fix in the
Clang build?

I'll keep looking through the code and see what I can find.

Thanks!
Matt

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Clang and SDK relocation
  2018-11-06 18:24 [Buildroot] Clang and SDK relocation Matthew Weber
@ 2018-11-06 21:00 ` Romain Naour
  0 siblings, 0 replies; 2+ messages in thread
From: Romain Naour @ 2018-11-06 21:00 UTC (permalink / raw)
  To: buildroot

Hi Matt,

Le 06/11/2018 ? 19:24, Matthew Weber a ?crit?:
> While working on a patchset for adding the compiler-rt sanitizers.  We
> noticed an issue if we moved the build as an SDK (path changed on
> system so that the orig build doesn't exist).  The include search
> paths provided to Clang seem to be ignored (sysroot/-I).  These
> options do work if using the tools from the original build location.
> Do you guys happen to know of any options I could start investigating
> to adjust to make a relative path or prefix with sysroot fix in the
> Clang build?

AFAIK, we didn't test to relocate the SDK with LLVM/Clang.
It's also a problem if we want to include LLVM/Clang as an external toolchain.

> 
> I'll keep looking through the code and see what I can find.

Ok thanks!

Best regards,
Romain

> 
> Thanks!
> Matt
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-06 21:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-06 18:24 [Buildroot] Clang and SDK relocation Matthew Weber
2018-11-06 21:00 ` Romain Naour

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.