Bug 199694 - [lang/clang34] Fails on the missing 'atomic' header
Summary: [lang/clang34] Fails on the missing 'atomic' header
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-25 18:39 UTC by Yuri Victorovich
Modified: 2015-04-27 04:49 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brooks)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2015-04-25 18:39:10 UTC
When the port uses the header 'atomic', 'thread', or similar, clang from port fails, and base clang doesn't.

For example, port finance/bitcoin-armory with this latest patch from bug#199490 fails on 8.4 where it falls back on clang port. (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199490)

See build failure (that doesn't happen on 10.1):
http://pd.valinor.palantiri.org/data/84amd64-default/2015-04-25_15h30m27s/logs/errors/BitcoinArmory-0.93.1.log
Comment 1 Brooks Davis freebsd_committer freebsd_triage 2015-04-27 00:01:05 UTC
The missing headers are provided by the C++ library which is not part of clang.  The finance/bitcoin-armory update specifies USES=compiler:c++11-lang, but should specify compiler:c++11-lib to get a C++11 standard library and compiler.
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2015-04-27 04:48:44 UTC
Thanks!

I didn't know this. And it only breaks on the older BSD versions.