toolchain target

Dimitry Andric dim at FreeBSD.org
Thu Jun 18 06:58:04 UTC 2015


On 18 Jun 2015, at 08:24, Garrett Cooper <yaneurabeya at gmail.com> wrote:
> 
> On Jun 17, 2015, at 23:22, Andriy Gapon <avg at FreeBSD.org> wrote:
...
>> Looks like my rather innocent manipulations of CFLAGS could be causing the problem.
>> Without my make.conf:
>> mkdep -f .depend -a
>> -I/usr/devel/svn2/head/lib/clang/libllvmsupport/../../../contrib/llvm/include
>> -I/usr/devel/svn2/head/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include
>> -I/usr/devel/svn2/head/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I.
>> -I/usr/devel/svn2/head/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include
>> -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
>> -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\"
>> -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"\"
>> -I/usr/obj/usr/devel/svn2/head/tmp/legacy/usr/include  -std=c++11
>> -stdlib=libc++
>> /usr/devel/svn2/head/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APFloat.cpp
>> ...
>> 
>> With my make.conf:
>> mkdep -f .depend -a      -std=c++11  -stdlib=libc++
>> /usr/devel/svn2/head/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APFloat.cpp
>> ...
>> 
>> All the preprocessor flags (-I, -D) are gone.
> 
> Oh really…? This is going to break a _lot_ of peoples’ custom make.confs :(...

Hmm, is this still not fixed?  This was broken by Simon's large
"meta-mode" commit r284345. but I would assume Baptiste's fixes after
that might have fixed it. I can't test this myself at the moment, due to
ENOTIME...

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150618/685e8acc/attachment.sig>


More information about the freebsd-current mailing list