Summary: | sys-devel/llvm-3.3-r1: please add support to detect gcc's libstdc++ and c++ headers on Gentoo/FreeBSD | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Yuta SATOH <nigoro.dev> |
Component: | FreeBSD | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED OBSOLETE | ||
Severity: | enhancement | CC: | bsd+disabled, ryao |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | FreeBSD | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
files/clang-3.3-gentoo-freebsd-fix-cxx-paths.patch
files/clang-3.3-gentoo-freebsd-fix-lib-path.patch sample patch for clang-3.3.ebuild files/clang-3.3-gentoo-freebsd-add-x86triples.patch sample patch for clang-3.3.ebuild sample patch for clang-3.3.ebuild |
Description
Yuta SATOH
2013-06-21 12:23:09 UTC
Created attachment 351544 [details, diff]
files/clang-3.3-gentoo-freebsd-fix-cxx-paths.patch
Created attachment 351550 [details, diff]
files/clang-3.3-gentoo-freebsd-fix-lib-path.patch
When -m32 is set, fixed empty -L is output.
Created attachment 351552 [details, diff]
sample patch for clang-3.3.ebuild
(In reply to Yuta SATOH from comment #1) > Created attachment 351544 [details, diff] [details, diff] > files/clang-3.3-gentoo-freebsd-fix-cxx-paths.patch did you copy this verbatim from linux stuff ? maybe you could just call the linux version here. (In reply to Yuta SATOH from comment #2) > Created attachment 351550 [details, diff] [details, diff] > files/clang-3.3-gentoo-freebsd-fix-lib-path.patch > > When -m32 is set, fixed empty -L is output. thanks (In reply to Yuta SATOH from comment #3) > Created attachment 351552 [details, diff] [details, diff] > sample patch for clang-3.3.ebuild you should probably remove my comment that the gentoo-freebsd-fix-lib-path.patch breaks multilib here. I have not tested it but these patches seem good to me. I'll test later. Reassigning to clang maintainers for proper review. Created attachment 351646 [details, diff] files/clang-3.3-gentoo-freebsd-add-x86triples.patch Additional patch is required on x86-fbsd. CandidateTripleAliases[k].str() returns i386-gentoo-freebsd9.1 finally. However, we have i686-gentoo-freebsd9.1. FYI, CandidateTripleAliases[k].str() http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/clang/files/clang-3.1-gentoo-runtime-gcc-detection-v3.patch?revision=1.1&view=markup Force i<N>86 to i386. https://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix/Host.inc?revision=131463&view=co&pathrev=131463 Created attachment 351650 [details, diff] sample patch for clang-3.3.ebuild (In reply to Alexis Ballier from comment #4) > (In reply to Yuta SATOH from comment #1) > > Created attachment 351544 [details, diff] [details, diff] [details, diff] > > files/clang-3.3-gentoo-freebsd-fix-cxx-paths.patch > > did you copy this verbatim from linux stuff ? maybe you could just call the > linux version here. I don't have the skills of C++... Please make a better patch ;-) > (In reply to Yuta SATOH from comment #3) > > Created attachment 351552 [details, diff] [details, diff] [details, diff] > > sample patch for clang-3.3.ebuild > > you should probably remove my comment that the > gentoo-freebsd-fix-lib-path.patch breaks multilib here. Thanks for your information. Removed your comment, added epatch clang-3.3-gentoo-freebsd-add-x86triples.patch and bug number. Created attachment 351738 [details, diff]
sample patch for clang-3.3.ebuild
Fix my mistake.
clang-3.3-r100 is a meta package now. Please apply patches to sys-devel/llvm-3.3-r1. Please apply it to upstream svn instead :). Or is it already there? This version is gone now. |