From owner-freebsd-current@FreeBSD.ORG Sun Sep 15 22:29:43 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 90C3A7DE; Sun, 15 Sep 2013 22:29:43 +0000 (UTC) (envelope-from lists@rewt.org.uk) Received: from hosted.mx.as41113.net (abby.lhr1.as41113.net [91.208.177.20]) by mx1.freebsd.org (Postfix) with ESMTP id 5895F2963; Sun, 15 Sep 2013 22:29:42 +0000 (UTC) Received: from jwhlaptop (unknown [91.208.177.70]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: lists@rewt.org.uk) by hosted.mx.as41113.net (Postfix) with ESMTPSA id 3cdQHp1fjCzRv; Sun, 15 Sep 2013 23:29:42 +0100 (BST) From: "Joe Holden" To: "'Adrian Chadd'" , "'freebsd-current'" , References: <024001ceb262$e87f9ea0$b97edbe0$@rewt.org.uk> In-Reply-To: <024001ceb262$e87f9ea0$b97edbe0$@rewt.org.uk> Subject: RE: how do i cross build world/kernel with clang? Date: Sun, 15 Sep 2013 23:29:39 +0100 Message-ID: <024201ceb263$1138bac0$33aa3040$@rewt.org.uk> X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQJjiAl6RcfUH9Bv1T0IvAKu5Kh/mgI8xjuRmIvPwVA= Content-Language: en-gb X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Sep 2013 22:29:43 -0000 Doh should have checked the thread before sending - is there any news on this? > -----Original Message----- > From: owner-freebsd-mips@freebsd.org [mailto:owner-freebsd- > mips@freebsd.org] On Behalf Of Joe Holden > Sent: 15 September 2013 23:28 > To: 'Adrian Chadd'; 'freebsd-current'; freebsd-mips@freebsd.org > Subject: RE: how do i cross build world/kernel with clang? > > Are you still playing with this? Reason I ask is that I tried to build world with > clang for the crack and it bails with: > > /usr/obj/mips.mips64/pseudosrc/tmp/usr/bin/ld: > /usr/obj/mips.mips64/pseudosrc/tmp/usr/lib/crtn.o: warning: linking PIC > files with non-PIC files > exect.So: In function `exect': > (.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror' > setjmp.So: In function `botch': > (.text+0x124): relocation truncated to fit: R_MIPS_PC16 against `abort' > _setjmp.So: In function `botch': > (.text+0xac): relocation truncated to fit: R_MIPS_PC16 against `abort' > _sigwait.So: In function `err': > (.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror' > _getlogin.So: In function `err': > (.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror' > aio_mlock.So: In function `err': > (.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror' > pipe2.So: In function `err': > (.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror' > accept4.So: In function `err': > (.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror' > chflagsat.So: In function `err': > (.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror' > connectat.So: In function `err': > (.text+0x18): relocation truncated to fit: R_MIPS_PC16 against `__cerror' > bindat.So: In function `err': > (.text+0x18): additional relocation overflows omitted from the output > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** Error code 1 > > Built on HEAD amd64 as of a few hours ago... > > Cheers > Joe > > > -----Original Message----- > > From: owner-freebsd-mips@freebsd.org [mailto:owner-freebsd- > > mips@freebsd.org] On Behalf Of Adrian Chadd > > Sent: 01 September 2013 03:30 > > To: freebsd-current; freebsd-mips@freebsd.org > > Subject: how do i cross build world/kernel with clang? > > > > Hi! > > > > How do i cross-build a mips world/kernel with clang? > > > > ie, how do I tell the build system to build a mips targetted clang > > instead > of gcc > > and use that to build everything? > > > > Thanks, > > > > > > -adrian > > _______________________________________________ > > freebsd-mips@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"