From owner-freebsd-arm@freebsd.org Sun Jan 20 21:39:16 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13AEB14A7D05 for ; Sun, 20 Jan 2019 21:39:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-21.consmr.mail.gq1.yahoo.com (sonic310-21.consmr.mail.gq1.yahoo.com [98.137.69.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B63C83F85 for ; Sun, 20 Jan 2019 21:39:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: r6v1f4UVM1mFlh_O9AU2EcpFghA0jc_h.zK1dn_hWELtEVctHc6OPJ55gbRSqmQ GHILmTfP_Ajca1WhuU3eEtQ_.p2VO2rMIkyr9VISKWUZtqg3CfzWCmozugPrteRKMN9GOTu8yrH7 JY9uFaM65rof2E1LDURylrAz2hFb6ynF1At8NhansOpMp2kpkt5VYfqXPwzcXe8rQJWzn1.H4T1S swmOVPoKlJKbMiwYtrW9QQCmqpwxN9yXPN6SaSb.8ugCRQG4YmmH9huWJ6UcD.TEYg.oTM7CBr8u WWJEWmcIHhWXQugywJZrMauW3336YZ9G4iFPm50L_gZFiUUZ934gERsF58Ti9fVehKYDYPkc9n4. INzYVS69DKEQ3cZ9wvv1LWkw42fvewLW5793C4VsRlFFAkq0nSHrQQULv1IZdbapnHf_Wt5SPJN8 JJ4OZklnLYlogUGVHoMfQxDG.aaQI5tJMB_6Bc2aFHzOxemxnh80ry6giCCJwxYKPn9hfiIGT1e6 drdyPoieeN56AHUQMSizgXFyO2_1VIDJ3SpHiFj5kKffKiDsMEWIKPgq3D7DpUTqq_W05JXlf8xa .LAxKwm.bh82qJSjsGve1fxgT8Udkhu55JXx5YXKGXe1LT4.Wx8OS_3g.cEw_sVYtTBHyJFzb0YZ kvqYbx0EBUJLiQ0w3TO_AXr45QNFo6umbfYM3G77IycnnWEUoyAs88YgPMfa.LX_9gbsk8nk5Uzu vP8YItTyoHUgd501yZti6Xd2Y6Od6QoYiC0wVVMNymVw7oQjaL4CgFOhDX5XWuO8coxUGOeoCKND BsoBTF_q9dHWYLSfGNo_Dh_VX0HXmohZDf.Cr4hT1YwhdvqTBL_CTZigXvMOvhQrNecimu0tCVyD j8XAI_2ERyB8xLRQ7ZjSLRPas17kcqNF5FGLX6BIH_1taUl4e.CC2yT7OvLyu2G4UYHSZwbOXuBP ADwpEPEkhruKV8xZ_3JZpHZ2vgTTKpsny.WUKDgrQmA5O9tj2ju_Bx5SyQFfT2KZDeJ1_SwsMZ0S m9KPJOlGSNXvV9nqxvlTp3_BH6P.e_srO87pIQ8cM93H107dsTVAkPCeiZQ8YZb6yVL0dy_KhXEV 2yMt77COct5HE0Q-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Sun, 20 Jan 2019 21:39:06 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.102]) ([67.170.167.181]) by smtp415.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c73c6e82dec7091205e8618730ce60cb; Sun, 20 Jan 2019 21:39:05 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: RPI3 clang crashes in buildworld From: Mark Millard In-Reply-To: <20190120163236.GA34653@www.zefox.net> Date: Sun, 20 Jan 2019 13:39:04 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20190120163236.GA34653@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 0B63C83F85 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.08 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.03)[-0.031,0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.960,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.989,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.41)[ip: (0.90), ipnet: 98.137.64.0/21(0.68), asn: 36647(0.55), country: US(-0.08)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[147.69.137.98.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2019 21:39:16 -0000 On 2019-Jan-20, at 08:32, bob prohaska 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)