You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build Discover.scala uses the wrong includes when an alternate clang and/or clang++
are specified.
The configuration below used to debug/verify in Issue #2779. Skip
lightly over the bug that the system linker is used lld instead of lld-15,
that is not the fault of Build.scala.
When the above executes, it looks like Discover.scala Line 53 executes
val llvmIncludeDir =
Try(Process("llvm-config --includedir").lineStream_!.toSeq)
.getOrElse(Seq.empty)
This gives the configuration for the installed system clang, say clang-17, and not
the requested clang. A similar problem exists at line 78.
This is an insidious bug because there may well be a mismatch between the
include and libraries files implied by the use of the alternate compiler and
those actually used. One may see either false positives or false negatives.
The text was updated successfully, but these errors were encountered:
Build Discover.scala uses the wrong includes when an alternate clang and/or clang++
are specified.
The configuration below used to debug/verify in Issue #2779. Skip
lightly over the bug that the system linker is used
lld
instead oflld-15
,that is not the fault of Build.scala.
When the above executes, it looks like Discover.scala Line 53 executes
This gives the configuration for the installed system clang, say clang-17, and not
the requested clang. A similar problem exists at line 78.
This is an insidious bug because there may well be a mismatch between the
include and libraries files implied by the use of the alternate compiler and
those actually used. One may see either false positives or false negatives.
The text was updated successfully, but these errors were encountered: