Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584548 - =sys-devel/llvm-3.5.0: emake failed: ‘{anonymous}::ChainedIncludesSource* llvm::IntrusiveRefCntPtr<{anonymous}::ChainedIncludesSource>::Obj’ is private
Summary: =sys-devel/llvm-3.5.0: emake failed: ‘{anonymous}::ChainedIncludesSource* llv...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords: STABLE
Depends on:
Blocks:
 
Reported: 2016-05-30 17:39 UTC by Alexander
Modified: 2017-05-13 16:52 UTC (History)
1 user (show)

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


Attachments
build.log.gz (build.log-llvm-3.5.0_gentoo.gz,120.81 KB, application/gzip)
2016-06-04 07:11 UTC, Alexander
Details
emerge --info (file_584548.txt,9.10 KB, text/plain)
2016-06-04 07:13 UTC, Alexander
Details
environment (file_584548.txt,169.10 KB, text/plain)
2016-06-04 07:18 UTC, Alexander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2016-05-30 17:39:07 UTC
* Messages for package sys-devel/llvm-3.5.0:

* ERROR: sys-devel/llvm-3.5.0::gentoo failed (compile phase):
*   emake failed

/var/tmp/notmpfs/portage/sys-devel/llvm-3.5.0/work/llvm-3.5.0.src/tools/clang/lib/Frontend/ChainedIncludesSource.cpp:211:10:   required from here
/var/tmp/notmpfs/portage/sys-devel/llvm-3.5.0/work/llvm-3.5.0.src/include/llvm/ADT/IntrusiveRefCntPtr.h:137:8: error: ‘{anonymous}::ChainedIncludesSource* llvm::IntrusiveRefCntPtr<{anonymous}::ChainedIncludesSource>::Obj’ is private
     T* Obj;
        ^
/var/tmp/notmpfs/portage/sys-devel/llvm-3.5.0/work/llvm-3.5.0.src/include/llvm/ADT/IntrusiveRefCntPtr.h:158:13: error: within this context
       S.Obj = 0;
             ^


https://gist.github.com/alexws54tk/1770b8c70328f56f087397bc18870dbd
Comment 1 Coacher 2016-06-03 19:17:17 UTC
Please attach build.log and other files here. gzip them if needed.
Please also attach the output of `emerge --info'.
Comment 2 Alexander 2016-06-04 07:11:41 UTC
Created attachment 436362 [details]
build.log.gz

Attaching build.log here.
Comment 3 Alexander 2016-06-04 07:13:29 UTC
Created attachment 436364 [details]
emerge --info
Comment 4 Alexander 2016-06-04 07:18:00 UTC
Created attachment 436366 [details]
environment

emerge -pqv '=sys-devel/llvm-3.5.0'

[ebuild   R   ] sys-devel/llvm-3.5.0  USE="clang gold* libffi multitarget* ncurses python* static-analyzer xml -debug -doc -libedit -ocaml {-test}" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7 (-pypy)" VIDEO_CARDS="-radeon*"
Comment 5 Vladislav Rassokhin 2016-06-21 18:12:48 UTC
Experienced same problem.

`llvm-3.5.2-gcc-5.1.patch` fixes problem.

So workaround is
```bash
mkdir -p /etc/portage/patches/sys-devel/llvm-3.5.0/
cp /usr/portage/sys-devel/llvm/files/llvm-3.5.2-gcc-5.1.patch /etc/portage/patches/sys-devel/llvm-3.5.0/
```
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-21 18:19:47 UTC
Any specific reason you're using 3.5.0 rather than the current stable 3.7.1-r2? I can backport the fix for you if you insist but if you are really stuck with 3.5, I suggest you try ~arch 3.5.2 since it had some fixes since 3.5.0.
Comment 7 Alexander 2016-06-21 18:29:27 UTC
Thank you for fast reactions.

Problem was reported at 30.05 on stable 3.5.0. When 3.7.1-r2 were stabilized is 16.06 five days ago.
Comment 8 Alexander 2017-05-13 16:52:39 UTC
Now absent in tree. Closing.