看板 FB_current 關於我們 聯絡資訊
On Thursday 30 June 2011 13:13:48 Olivier Houchard wrote: > On Thu, Jun 30, 2011 at 11:22:36AM +0200, Hans Petter Selasky wrote: > > Hi, > > > > Trying to cross build ARM fails in the following way on 8-stable: > > > > 8.2-STABLE FreeBSD 8.2-STABLE #1: Wed Jun 29 13:09:23 UTC 2011 > > > > make toolchain TARGET=arm > > > > Is this perhaps also an issue in 9-current? > > > > Any clues? > > Hi Hans Peter, > > > Not sure if it is your problem, but I think it should be > make toolchain TARGET_ARCH=arm > Using "make toolchain TARGET_ARCH=arm" gives the same error code. Tracing down the issue: /usr/include/machine/endian.h #define __byte_swap_int_var(x) \ __extension__ ({ register __uint32_t __X = (x); \ __asm ("bswap %0" : "+r" (__X)); \ __X; }) r0 looks like an ARM register passed to a non-arm assembler. I'm going to try: "make toolchains" And see how that works out. --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"