On Sun Aug 21 11, Dimitry Andric wrote:
On 2011-08-19 10:01, Alexander Best wrote:
On Thu Aug 18 11, Dimitry Andric wrote:
...
Please use the following fragment instead, which is recommended on
http://wiki.freebsd.org/BuildingFreeBSDWithClang:
thanks. that fixed the issue. seeing forward to
On 2011-08-23 11:23, Alexander Best wrote:
...
The patch fixes this by adding -ECC -ECXX -EAS -ELD to the build32
sub-make invocation, which forces those environment variables to always
override any assignment in makefiles.
It makes it possible to simply do:
CC=clang
CXX=clang++
in your
On Thu Aug 18 11, Dimitry Andric wrote:
On 2011-08-18 19:35, Alexander Best wrote:
...
ld: Relocatable linking with relocations from format elf64-x86-64-freebsd
(crt1_s.o) to format elf32-i386-freebsd (gcrt1.o) is not supported
Most likely, this is because you are forcing CC=clang, which does
On 2011-08-18 07:01, Alexander Best wrote:
i'm getting this error, when trying to make target buildwork with clang.
You mean with make target buildwork, that you are running make
buildworld TARGET=whatever, right?
...
this is the error i'm getting:
=== lib/csu/i386-elf
On Thu Aug 18 11, Dimitry Andric wrote:
On 2011-08-18 07:01, Alexander Best wrote:
i'm getting this error, when trying to make target buildwork with clang.
You mean with make target buildwork, that you are running make
buildworld TARGET=whatever, right?
...
this is the error i'm getting:
On 2011-08-18 19:35, Alexander Best wrote:
...
ld: Relocatable linking with relocations from format elf64-x86-64-freebsd
(crt1_s.o) to format elf32-i386-freebsd (gcrt1.o) is not supported
Most likely, this is because you are forcing CC=clang, which does not
work as expected. Can you please
We really need a 'SYSTEM_COMPILER={gcc,clang,xxx}' sort of knob.
Warner
On Aug 18, 2011, at 2:04 PM, Kostik Belousov wrote:
On Thu, Aug 18, 2011 at 09:54:41PM +0200, Dimitry Andric wrote:
The problem is in your make.conf. Effectively, you are doing:
CC = clang
CXX = clang++
which will
hi there,
i'm getting this error, when trying to make target buildwork with clang. i
think this issue was discussed beforehand, but i can't seem to find the old
thread. this is the error i'm getting:
=== lib/csu/i386-elf (obj,depend,all,install)
rm -f .depend
CC='clang' mkdep -f .depend -a