required xdev line to build r-pi on crochet?

Ian Lepore ian at FreeBSD.org
Mon Jun 16 01:43:00 UTC 2014


On Sun, 2014-06-15 at 16:58 -0600, Warner Losh wrote:
> On Jun 15, 2014, at 1:24 PM, Tim Kientzle <tim at kientzle.com> wrote:
> 
> > Ugh.  This seems to be broken again.
> > 
> > On i386 -CURRENT from about a week ago:
> > 
> > make XDEV=arm XDEV_ARCH=armv6 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_BOOTSTRAP=1 WITHOUT_CLANG=1 xdev
> > 
> > Yields...
> > 
> > ===> gnu/lib/libgcc (obj,depend,all,install)
> > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc unwind.h
> > `unwind.h' is up to date.
> > make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h
> > `gthr-default.h' is up to date.
> > cc -isystem //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib  --sysroot=//usr/armv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec  -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib -c -O -pipe   -DTARGET_ARM_EABI -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -DHAVE_GTHR_DEFAULT  -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include  -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.  -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -Dinhibit_libc -fno-inline -std=gnu99 -fheinous-gnu-extensions -Qunused-arguments -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3 -DElfW=__ElfN -o libunwind.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/arm/libunwind.S
> > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/arm/lib1funcs.asm:1:3: error: unexpected token at start of statement
> > @ libgcc routines for ARM cpu.
> >  ^
> > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/arm/lib1funcs.asm:2:3: error: unexpected token at start of statement
> > @ Division routines, written by Richard Earnshaw, (rearnsha at armltd.co.uk)
> >  ^
> > 
> > I'm upgrading to see if anything has changed…
> 
> With and without -j X would be helpful too. We’ve had a few races lately and that might help narrow it.
> 

It's hard to see how -j would affect this, though.  The @ symbol should
be a comment delimiter and it appears to be complaining about what are
clearly intended to be comment lines.  Hmmm, I wonder if @ is only a
comment delim in arm code and somehow the assembler thinks it's building
x86 code?

-- Ian

> > Tim
> > 
> > P.S.  Just got a BBB Rev C with the 4G eMMC chip.  Under Debian,
> > dd with a 1MiB block size shows around 10MB/s write, 30MB/s read
> > performance.
> 
> Nice.
> 
> Warner
> 
> 
> > 
> > On May 8, 2014, at 10:06 AM, Adrian Chadd <adrian at freebsd.org> wrote:
> > 
> >> [snip]
> >> 
> >> Ok. Thanks Ian/Warner.
> >> 
> >> The line that currently works for me is:
> >> 
> >> make XDEV=arm XDEV_ARCH=armv6 WITH_GCC_BOOTSTRAP=1
> >> WITHOUT_CLANG_BOOTSTRAP=1 WITHOUT_CLANG=1 xdev
> >> 
> >> 
> >> 
> >> -a
> >> _______________________________________________
> >> freebsd-arm at freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> > 
> > _______________________________________________
> > freebsd-arm at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> 




More information about the freebsd-arm mailing list