Bug 227393 - Cross-compiling [with GCC] for armv6 fails in /usr/src/lib/libcompiler_rt
Summary: Cross-compiling [with GCC] for armv6 fails in /usr/src/lib/libcompiler_rt
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: 11.0-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-09 17:07 UTC by Christoph Sold
Modified: 2018-04-10 00:43 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Sold 2018-04-09 17:07:49 UTC
On a virtual machine configured for crochet, building base system for armv6 fails:

root@FreeBSD-11:/usr/src # uname -a
FreeBSD FreeBSD-11.virtual 11.1-STABLE FreeBSD 11.1-STABLE #0 r331742: Thu Mar 29 21:30:37 UTC 2018     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

root@FreeBSD-11:/usr/src # make XDEV=arm XDEV_ARCH=armv6 WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG=1 WITHOUT_CLANG_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1 xdev xdev-links
...
cc -isystem /usr/armv6-freebsd/usr/include -L/usr/armv6-freebsd/usr/lib -B/usr/armv6-freebsd/usr/lib --sysroot=/usr/armv6-freebsd/  -O -pipe   -fpic -fvisibility=hidden -DVISIBILITY_HIDDEN -I/usr/src/contrib/libcxxrt -DEMIT_SYNC_ATOMICS -g -MD  -MF.depend.fixunsdfdi.o -MTfixunsdfdi.o -std=gnu99   -c /usr/src/contrib/compiler-rt/lib/builtins/fixunsdfdi.c -o fixunsdfdi.o
/usr/src/contrib/compiler-rt/lib/builtins/fixunsdfdi.c:50: warning: '__pcs__' attribute directive ignored
cc -isystem /usr/armv6-freebsd/usr/include -L/usr/armv6-freebsd/usr/lib -B/usr/armv6-freebsd/usr/lib --sysroot=/usr/armv6-freebsd/ -O -pipe   -fpic -fvisibility=hidden -DVISIBILITY_HIDDEN -I/usr/src/contrib/libcxxrt -DEMIT_SYNC_ATOMICS -g -MD  -MF.depend.fixunsdfsivfp.o -MTfixunsdfsivfp.o -std=gnu99     -c /usr/src/contrib/compiler-rt/lib/builtins/arm/fixunsdfsivfp.S -o fixunsdfsivfp.o
/usr/src/contrib/compiler-rt/lib/builtins/arm/fixunsdfsivfp.S: Assembler messages:
/usr/src/contrib/compiler-rt/lib/builtins/arm/fixunsdfsivfp.S:27: Error: selected processor does not support `vmov d7,r0,r1'
/usr/src/contrib/compiler-rt/lib/builtins/arm/fixunsdfsivfp.S:28: Error: selected processor does not support `vcvt.u32.f64 s15,d7'
/usr/src/contrib/compiler-rt/lib/builtins/arm/fixunsdfsivfp.S:29: Error: selected processor does not support `vmov r0,s15'
*** Error code 1

Stop.
make[4]: stopped in /usr/src/lib/libcompiler_rt
*** Error code 1

Stop.
make[3]: stopped in /usr/src
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src