Date: Sun, 20 Jan 2019 13:39:04 -0800 From: Mark Millard <marklmi@yahoo.com> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-arm@freebsd.org Subject: Re: RPI3 clang crashes in buildworld Message-ID: <C94A2A62-B199-49C4-9DC2-C41714B10D62@yahoo.com> In-Reply-To: <20190120163236.GA34653@www.zefox.net> References: <20190120163236.GA34653@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-Jan-20, at 08:32, bob prohaska <fbsd at www.zefox.net> wrote: > Has anyone had recent success running buildworld on an RPI3? I'm = seeing > signal 11's with increasing regularity during the building libraries = phase. > Two months ago -j4 buildworld ran successfully. >=20 > It's possible my system is corrupted. I've tinkered with a kernel = patch at > https://people.freebsd.org/~gonzo/arm/patches/vchiq-wip-20180217.diff > back when the system was at r342781, but the patch was reversed and = the > machine is now up to r343165 using "clean start" buildworld without -j > and careful restarts, deleting the last .o file before the crashes. >=20 > There are no hardware errors on the console and only clang is = crashing. > The machine will even run the chromium browser without crashing, but = it > does grumble: >=20 > bob@www:~ % chrome > = [83827:1218383872:0120/075747.927080:ERROR:gpu_process_transport_factory.c= c(1016)] Lost UI shared context. > = [84111:1339003392:0120/075753.574384:ERROR:command_buffer_proxy_impl.cc(11= 3)] ContextResult::kFatalFailure: Shared memory handle is not valid=20 >=20 > The most recent buildworld steps were=20 > svnlite up /usr/src > make cleandir (twice) > rm -rf /usr/obj/usr/ > make kernel-toolchain > make buildkernel > make installkernel > (reboot) > make buildworld (using -DNO_CLEAN for restarts) >=20 > Have I taken all the steps possible for a clean rebuild? >=20 > At the moment both buildworld and chromium are running, without=20 > any additional problems. You may want to give more details, such as the content of . . . /etc/make.conf /etc/src.conf *.meta files for the failed commands (if any) Listing some example *.meta file information from a cross build (not likely problem files): # cd /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/bin/sh # ls -lTdrt *.meta . . . -rw-r--r-- 1 root wheel 4236 Dec 11 23:42:04 2018 nodes.o.meta -rw-r--r-- 1 root wheel 3603 Dec 11 23:42:05 2018 sh.full.meta -rw-r--r-- 1 root wheel 726 Dec 11 23:42:05 2018 sh.debug.meta -rw-r--r-- 1 root wheel 739 Dec 11 23:42:05 2018 sh.meta The files have details of commands used, error messages, files used, and such. For example (no errors): # more nodes.o.meta # Meta data file = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/bin/sh/nodes.o.meta CMD cc -mcpu=3Dcortex-a7 -target armv7-gnueabihf-freebsd13.0 = --sysroot=3D/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp = -B/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/bin -O -pipe = -DSHELL -I. -I/usr/src/bin/sh -g -std=3Dgnu99 -Wsystem-headers -Wall = -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body = -Wno-string-plus-int -Wno-unused-const-variable = -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality = -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef = -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum = -Wno-knr-promoted-parameter -Qunused-arguments -c nodes.c -o nodes.o CMD=20 CWD /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/bin/sh TARGET nodes.o -- command output -- -- filemon acquired metadata -- # filemon version 5 # Target pid 59149 # Start 1544600524.641606 V 5 E 59789 /bin/sh R 59789 /etc/libmap.conf R 59789 /var/run/ld-elf.so.hints R 59789 /lib/libedit.so.7 R 59789 /lib/libc.so.7 R 59789 /lib/libncursesw.so.8 R 59789 /dev/hv_tsc F 59789 59791 E 59791 /usr/bin/cc R 59791 /dev/hv_tsc F 59791 59797 E 59797 /usr/bin/cc R 59797 /dev/hv_tsc R 59797 nodes.c R 59797 nodes-56fec7ac.o.tmp W 59797 nodes-56fec7ac.o.tmp R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/param= .h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/_null= .h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/types= .h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/cdefs= .h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/machine/e= ndian.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/_type= s.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/machine/_= types.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/_pthr= eadtypes.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/_stdi= nt.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/selec= t.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/_sigs= et.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/_time= val.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/times= pec.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/_time= spec.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/sysli= mits.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/signa= l.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/machine/_= limits.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/machine/s= ignal.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/machine/p= aram.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/machine/_= align.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/limit= s.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/stdlib.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/stddef.h R 59797 /usr/src/bin/sh/shell.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/inttypes.= h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/machine/_= inttypes.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/sys/stdin= t.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/machine/_= stdint.h R 59797 ./nodes.h R 59797 /usr/src/bin/sh/memalloc.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/string.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/strings.h= R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/xlocale/_= strings.h R 59797 = /usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/tmp/usr/include/xlocale/_= string.h R 59797 /usr/src/bin/sh/mystring.h M 59797 'nodes-56fec7ac.o.tmp' 'nodes.o' X 59797 0 0 X 59791 0 0 X 59789 0 0 # Stop 1544600524.781610 # Bye bye =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C94A2A62-B199-49C4-9DC2-C41714B10D62>