Created attachment 426144 [details] build log for llvm 3.5 I have been trying to get around this error for two months. I cant get prefix set up on my system. llvm 3.5 fails telling me that I need a libstdc++ newer than 4.7. My system is OS X 10.7.5 (Kernel Version 11.4.2) I have tried to work around this with no success. Using more modern C compilers than those supplied by xcode, via macports, hasn't helped. Please help.
I've tried working around this in https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=48f8f07777a371fac6294c46ea98f24fbdcdd5d3
Thank you! I will give this a try tomorrow.
No dice, same error, same build :(
Created attachment 427260 [details] build log from work around. I was wrong. It's the same spot but a different error, and I don't quite get what it's telling me.
In file included from /Users/stelicho/Gentoo/tmp/var/tmp/portage/sys-devel/llvm-3.5.2/work/llvm-3.5.2.src/include/llvm/ADT/SmallVector.h:17: /Users/stelicho/Gentoo/tmp/var/tmp/portage/sys-devel/llvm-3.5.2/work/llvm-3.5.2.src/include/llvm/ADT/iterator_range.h:37:29: error: no member named 'move' in namespace 'std' : begin_iterator(std::move(begin_iterator)), ~~~~~^ /Users/stelicho/Gentoo/tmp/var/tmp/portage/sys-devel/llvm-3.5.2/work/llvm-3.5.2.src/include/llvm/ADT/iterator_range.h:38:27: error: no member named 'move' in namespace 'std' end_iterator(std::move(end_iterator)) {} ~~~~~^ /Users/stelicho/Gentoo/tmp/var/tmp/portage/sys-devel/llvm-3.5.2/work/llvm-3.5.2.src/include/llvm/ADT/iterator_range.h:49:33: error: no member named 'move' in namespace 'std' return iterator_range<T>(std::move(x), std::move(y)); ~~~~~^ that would mean 'std' is somehow incompatible, we'll have to figure out why
Can is it libstdc specifically?
it seems like we need one, but libstdc++ 3.5 should be installed here I think I hosed some dep because my platform provides this lib, so I didn't notice.
What version of OSX are you installing on? Also, do you have llvm-3.4.2 installed in your bootstrap prefix now?
I'm on OS X 10.7.5 Lion (Darwin 11.4.2) stage2.log says: >>> sys-devel/llvm-3.4.2 merged. * Messages for package sys-devel/llvm-3.4.2: * Failed to set PT_PAX markings -m Release/bin/llvm-rtdyld. * Failed to set XATTR_PAX markings -m Release/bin/llvm-rtdyld.
I guess I should ask, where should I see it installed in the prefix? it's not in /usr/bin
the early stages will install stuff in tmp/usr/bin, I think the problem originates here, since the libs and stuff may be in two different locations
we moved away from llvm/clang on macOS