Date: Wed, 18 Oct 2017 18:40:26 -0700 From: bob prohaska <fbsd@www.zefox.net> To: freebsd-arm@freebsd.org Subject: Re: Difficulty with armv6 to v7 transition. Message-ID: <20171019014026.GA3887@www.zefox.net> In-Reply-To: <20171016035716.GA92612@www.zefox.net> References: <20171009175216.GA52497@www.zefox.net> <1507573171.84167.9.camel@freebsd.org> <20171011023356.GA57571@www.zefox.net> <CANCZdfrKYabu1-bWxX47=Lt=33e%2BFjBXCNBNiGPE7K-83KOAHA@mail.gmail.com> <CANCZdfqHfAe24q=6n8CxsHQv24j58bQLPG3z_7vi_xpGjdQzDg@mail.gmail.com> <20171011030021.GB57571@www.zefox.net> <20171013020604.GA70845@www.zefox.net> <20171013175943.GA74121@www.zefox.net> <20171016035716.GA92612@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171019014026.GA3887>