Difficulty with armv6 to v7 transition.

bob prohaska fbsd at www.zefox.net
Thu Oct 19 01:40:24 UTC 2017


Using the old v6 kernel to build a new v7 world finally worked, after
a pmap panic was worked around. Rebooted to the v7 kernel and ran installworld
in single user, with the following error:

strip: elf_begin() failed: Invalid argument
install: strip command strip failed on //usr/bin/clang

The double slash looks like it might be a typo.

After going to multi-user it looks as if clang didn't install at all.

If someone can suggest a workaround it would be much appreciated.

Thanks for reading!

bob prohaska



On Sun, Oct 15, 2017 at 08:57:17PM -0700, bob prohaska wrote:
> With the kernel  at r324562, /usr/src at r324599, /usr/src/Makefile.inc1
> showing 
> #.if make(buildworld)
> #BUILD_ARCH!=   uname -p
> BUILD_ARCH!= echo armv7
> #.if ${MACHINE_ARCH} != ${BUILD_ARCH}
> #.error To cross-build, set TARGET_ARCH.
> #.endif
> #.endif
> and /etc/make.conf containing 
> 
> KERNCONF=RPI2
> TARGET=arm
> TARGET_ARCH=armv7
> DESTDIR=/
> 
> make buildworld ran until it crashed with a PT2MAP panic, as it has done 
> many times before. The log file reached 26 MB, it probably had to go a
> little over 30 MB to finish. 
> 
> The console, top and logfile are at
> http://www.zefox.net/~fbsd/rpi2/crashes/crash_10_15_17/
> 
> The machine has been rebooted to a v6 kernel which has built world 
> in the past, r322520, though it too has crashed with PT2MAP errors 
> at least once. /usr/src/Makefile.inc1 has been restored and buildworld
> restarted with
> make -j4 buildworld TARGET_ARCH=armv7 > buildworld.log &
> There are no immediate errors, I'll let the build run unless
> someone suggests a reason to try something else.
> 
> The reply threads have become somewhat tangled, I'll trim here
> for sake of brevity.
> 
> Thanks for reading!!
> 
> bob prohaska
> 


More information about the freebsd-arm mailing list