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-m...@freebsd.org [mailto:owner-freebsd- > m...@freebsd.org] On Behalf Of Adrian Chadd > Sent: 01 September 2013 03:30 > To: freebsd-current; freebsd-m...@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-m...@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscr...@freebsd.org" _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"