Re: Cross-build failure on sparc64 for TARGET=amd64
On Fri, Oct 29, 2010 at 12:38, Nathaniel W Filardo wrote: > Running >> sudo make TARGET_ARCH=amd64 TARGET=amd64 DESTDIR=/usr/x86_64 -j4 buildworld > on >> FreeBSD sparcslave.priv.oc.ietfng.org 8.1-STABLE FreeBSD 8.1-STABLE #2 >> r214092=9050e7b-dirty: Thu Oct 21 01:25:54 UTC 2010 >> r...@t@sparcslave.priv.oc.ietfng.org:/usr/obj/usr/src/sys/SLAVKERN sparc64 I tried this about a year ago - it didn't work then and I suspect it never has. I'm not sure what the cause is. In any case, sparc's are almost always a lot slower than just building natively on amd64 hardware, so you probably aren't going to get people too excited about fixing it without tracking down the exact problem and/or sending a patch. -- Rob Farmer ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Cross-build failure on sparc64 for TARGET=amd64
On Friday, October 29, 2010 3:38:50 pm Nathaniel W Filardo wrote: > Running > > sudo make TARGET_ARCH=amd64 TARGET=amd64 DESTDIR=/usr/x86_64 -j4 buildworld Maybe just set TARGET and not TARGET_ARCH? -- John Baldwin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Cross-build failure on sparc64 for TARGET=amd64
Running > sudo make TARGET_ARCH=amd64 TARGET=amd64 DESTDIR=/usr/x86_64 -j4 buildworld on > FreeBSD sparcslave.priv.oc.ietfng.org 8.1-STABLE FreeBSD 8.1-STABLE #2 > r214092=9050e7b-dirty: Thu Oct 21 01:25:54 UTC 2010 > r...@t@sparcslave.priv.oc.ietfng.org:/usr/obj/usr/src/sys/SLAVKERN sparc64 with /usr/src at e32025d from git://gitorious.org/freebsd/freebsd.git (svn http://svn.freebsd.org/base/stable/8...@214488) fails with > cc -O2 -pipe -DIN_GCC -DHAVE_CONFIG_H > -DPREFIX=\"/usr/obj/amd64/usr/src/tmp/usr\" -DCROSS_COMPILE > -I/usr/obj/amd64/usr/src/tmp/usr /src/gnu/usr.bin/cc/cc/../cc_tools > -I/usr/src/gnu/usr.bin/cc/cc/../cc_tools > -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc > -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config > -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcclibs/include > -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcclibs/libcpp/include > -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcclibs/libdecnumber > -DGCC_DRIVER -DDEFAULT_TARGET_VERSION=\"4.2.1\" > -DDEFAULT_TARGET_MACHINE=\"amd64-undermydesk-freebsd\" -DENABLE_SHARED_LIBGCC > -I/usr/obj/amd64/usr/src/tmp/legacy/usr/include -c > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/gccspec.c > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i386.c: > In function 'host_detect_local_cpu': > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i386.c:96: > error: impossible constraint in 'asm' > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i386.c:103: > error: impossible constraint in 'asm' > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i386.c:113: > error: impossible constraint in 'asm' > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i386.c:117: > error: impossible constraint in 'asm' > {standard input}: Assembler messages: > {standard input}:92: Error: Unknown opcode: `pushfl' > {standard input}:92: Error: Unknown opcode: `pushfl' > {standard input}:92: Error: Unknown opcode: `popl' > {standard input}:92: Error: Illegal operands > {standard input}:92: Error: Unknown opcode: `xorl' > {standard input}:92: Error: Unknown opcode: `pushl' > {standard input}:92: Error: Unknown opcode: `popfl' > {standard input}:92: Error: Unknown opcode: `pushfl' > {standard input}:92: Error: Unknown opcode: `popl' > {standard input}:92: Error: Unknown opcode: `popfl' > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error which looks like it's trying to build some x86 code with the host toolchain, not the cross tools. Help? :) Thanks. --nwf; pgpepBs7PJGsV.pgp Description: PGP signature