Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2016 21:08:41 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        Matthew Macy <mmacy@nextbsd.org>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: External toolchain support broken for devel/llvm38 but not devel/llvm37
Message-ID:  <20160830210841.GA25000@spindle.one-eyed-alien.net>
In-Reply-To: <156d96ebba6.d2524daa80643.7192912559150916238@nextbsd.org>
References:  <156d96ebba6.d2524daa80643.7192912559150916238@nextbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Aug 29, 2016 at 08:12:08PM -0700, Matthew Macy wrote:
> It looks like there is something broken with the devel/llvm38 port or external toolchain support has regressed:
> 
> 
> This works:
> make  XCC=/usr/local/bin/clang37 XCXX=/usr/local/bin/clang++37 XCPP=/usr/local/bin/clang-cpp37  buildworld -j12 -s
> 
> This fails:
>  make  XCC=/usr/local/bin/clang38 XCXX=/usr/local/bin/clang++38 XCPP=/usr/local/bin/clang-cpp38 buildworld -j12 -s
> 
> with:
> 
> /home/mmacy/devel/build/mnt/storage/mmacy/devel/drm-next-merge/tmp/usr/bin/ld: /usr/local/llvm38/bin/../lib/clang/3.8.1/lib/freebsd/libclang_rt.ubsan_standalone-x86_64.a: No such file: No such file or directory
> clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)

I've fixed the install problem.  I'm rather confused about why clang
would try to link with sanitizer libraries when building source.  That's
certainly not default behavior.

-- Brooks

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJXxfXZAAoJEKzQXbSebgfAox0H/0QxTwtmMTRRHOegeHjc06Kq
7TwU9h2607z/7xhWyg155DjoNz57aGp7KjZuLlAhkZPs6+4GI0m8xL/aFC0nCn8X
heRn0J2J3nM/+yRenEXmSTn6HM3W9f/mIbwNkaNDaAGruRKYUtQXz6bufnI5hUkK
7bxvDZD/eQJvZwpgo13Iwr8pmodYFewO804wlWLI8VxlN4zP6JP3L7ycl68hFepi
9y7qAERcDpfcAPUOpKtM5QiS3JG3foE33Dyqg3hBHtt489bWFll27oBfPZ97A9Kk
GBqNF34o7W3jdMr2mACdadhS/Enu7bGty5D7iD9Xei4m1P0+6leni+DpEM1xaC0=
=cos1
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160830210841.GA25000>