Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751841 - sys-devel/llvm and sys-devel/clang version (and slot) mismatch on MacOS
Summary: sys-devel/llvm and sys-devel/clang version (and slot) mismatch on MacOS
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 755644
  Show dependency tree
 
Reported: 2020-10-30 04:50 UTC by Alexander Bezrukov
Modified: 2020-12-31 20:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A fix to enable clang-10.0.0 on MacOS (clang-10.0.0.ebuild.patch,762 bytes, patch)
2020-10-30 04:50 UTC, Alexander Bezrukov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bezrukov 2020-10-30 04:50:54 UTC
Created attachment 669254 [details, diff]
A fix to enable clang-10.0.0 on MacOS

I am trying to bootstrap prefix on MacOS 10.14 and 10.15. The bootstrapping script produces a bunch of errors and I am trying to fix at least some of these. The previous bug reports in the series are these: bug 751037, bug 751067, bug 751406, bug 751412, bug 751421, bug 751511, 751835.


This bug report deals with version (and slot) mismatch of llvm and clang. The latest unmasked llvm version is 10.0.0 and clang is 8.0.1. After fixing this issue I was able to pass stage 2 and to begin stage 3.

I am attaching a patch which enables clang-10.0.0. It also adds setting of c++ standard (C++14) for compilation. I found by experimentation that this is the right setting for successful build.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-01 10:58:40 UTC
Thanks!
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-18 02:35:07 UTC
@prefix, any update?
Comment 3 Fabian Groffen gentoo-dev 2020-11-18 07:28:44 UTC
unfortunately bootstrapping on macOS is broken for a very long time :(
Comment 4 Fabian Groffen gentoo-dev 2020-12-31 20:09:07 UTC
we've bumped versions, this doesn't seem to be a problem currently