Summary: | devel/llvm60: clang++60 failed to include standard header files if '-stdlib=libstdc++' option is specified | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Yasuhiro Kimura <yasu> |
Component: | Individual Port(s) | Assignee: | Brooks Davis <brooks> |
Status: | Closed Works As Intended | ||
Severity: | Affects Some People | CC: | marklmi26-fbsd |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(brooks) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | 230184 | ||
Bug Blocks: |
Description
Yasuhiro Kimura
2018-07-30 09:28:25 UTC
I don't expect this to work. You almost certainly need to specify the path to libstdc++'s headers manually. So far as I know llvm does not provide the source to a libstdc++. Some port would be required to supply the source code for -stdlib=libstdc++ to find and use. (For FreeBSD "builworld" and such there are licensing issues for libstdc++. Thus a port likely being involved.) I won't be fixing this. To fix it reliably, we'd have to provide a dependency on a gcc port to provide a libstdc++ in a known location and patch the -stdlib=libstdc++ code to match. If want libstdc++, use gcc. |