From nobody Tue Dec 21 21:50:24 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C417A190468B for ; Tue, 21 Dec 2021 21:50:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-55.consmr.mail.gq1.yahoo.com (sonic316-55.consmr.mail.gq1.yahoo.com [98.137.69.31]) (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 4JJVWM1XLmz3HST for ; Tue, 21 Dec 2021 21:50:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640123431; bh=tdbNIlYXb9P52y2s7eZv031T2Hw1WU7Ho6e8q3gKLpA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Q7pGAy5a9KQV+a0VZDRW0I4CIlR33b644onZnXAT22V8GJu66e+44xPD/SjzeROUm7Z5PrAA6mLDqi6XP4plrOw1DAXxRdDN9F38+IwyhD0BQa8xqdE7n4PXHTnbfQVhaSisX2SPFGn7wlmKz2AnQdDfS5Z3oVpkT2R3Zr8nyJthkU3qJ8pUROm3MsDbD8dUkAXP+k/cpo0oM3/uMcLlvkH/kXBc5QwTtV37ihLp2UPpQYUlgk39DUF2LYUrm9u+GUT92kW9Ypr2z1TtvD2zWQOCRK9n6zf48UYJ1Vx5043ey1a6BZuwNk9qIjYsGmGjfYSxknel24v2Z0a4wl/9Gg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640123431; bh=BItV7zfOWiIs4TY+xrTn8aVVoHy12IkvfN899+H5i/H=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=oPFPLGJCRzq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FQHr7sU jxi33sTfNkgFZKtxAhqx3X6Vu0HCuGqVExBWdRnwXtBQiQ2RxkfE6DuFuK3pZrEVmu1nQ7F8.60O kSvl0oQIk2lNg0R_IWrS2tIIYanA1VodCwsKAT_YULKG8bRBvEVyfH2pQQT2obyvF2nqQTuiiqeU TnsYVme8QRuZhpi0OtPfW6EGDLCyK4gcBRt_moRwZE3DikOt6uQcAdASzR79v3hm0_E0gFloYB.0 lJ.iwYn5dbH.ODMDX5uYVsiomUAH0yzbr_3cEM8xkzzfrfCJ6gxIZUD15NVXegKRWaO3FnDnswyx n2r7p.5p_45B5Gnk5oHceYAID6wqjw24q5K47XukpA0z2gSUY89_9AaBaGFeQfpm6Vp1tqIYiCx6 3iZTtOHgsHj931TvaUvWD4GvguD5VUoctwGapTouA6Ia5dQJ4MHoFzri.b5mBkeaBt0SZkEiOyAS 7apYx1ubQtykG.opc.l5h0iKM3soUJv9MCnWv23c- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Tue, 21 Dec 2021 21:50:31 +0000 Received: by kubenode520.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 4ca6109dab55c2308b1c4042a313ef54; Tue, 21 Dec 2021 21:50:27 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: ld: error: bzlib.pico:147: unclosed quote In-Reply-To: <20211221180041.GA29679@www.zefox.net> Date: Tue, 21 Dec 2021 13:50:24 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20211221180041.GA29679@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4JJVWM1XLmz3HST X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Dec-21, at 10:00, bob prohaska wrote: > A try at buildworld on a Pi4 from sources updated this morning stoped = with >=20 > Building /usr/obj/usr/src/arm64.aarch64/lib/libelf/elf_update.o > --- lib/libbz2__L --- > ld: error: bzlib.pico:147: unclosed quote > ld: error: compress.pico:108: unclosed quote > --- lib/libcom_err__L --- > Building = /usr/obj/usr/src/arm64.aarch64/lib/libcom_err/libcom_err.so.5.debug > --- lib/libbz2__L --- > ld: error: decompress.pico: section header table goes past the end of = the file: e_shoff =3D 0xc388 > cc: error: linker command failed with exit code 1 (use -v to see = invocation) >=20 > Anybody else seeing this? Providing the following sort of context information could help folks in figuring out if it appropriate to reply (examples are just from my context): 1) What vintage is doing the buildworld buildkernel activity? # uname -apKU FreeBSD CA72_16Gp_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #25 = main-n251456-22c4ab6cb015-dirty: Tue Dec 7 19:38:53 PST 2021 = root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm6= 4.aarch64/sys/GENERIC-NODBG-CA72 arm64 aarch64 1400043 1400043 That can give an idea what range over which something might have changed that contributes to the problem. Otherwise there would be more to report about this end of the range. (Imagine if te world and the kernel did not match, for example.) 2) What specific commit from "this morning"? (I've not actually updated in that time so my example below shows the same commit as above.) # ~/fbsd-based-on-what-commit.sh -C /usr/main-src/ branch: main merge-base: 22c4ab6cb015dc99eb82504e5fd957662cded3c3 merge-base: CommitDate: 2021-12-07 19:29:26 +0000 22c4ab6cb015 (HEAD -> main, freebsd/main, freebsd/HEAD) sys/_bitset.h: = Fix fall-out from commit 5e04571cf3c n251456 (--first-parent --count for merge-base) That gives the other end of the range. For reference for the report from the git area: # more ~/fbsd-based-on-what-commit.sh -C /usr/main-src/ #! /bin/sh branch=3D"`git $* branch --show-current`" \ && echo "branch: $branch" \ && base=3D"`git $* merge-base freebsd/$branch HEAD`" \ && git $* log --oneline --no-color $base..HEAD \ && base_date=3D"`TZ=3DUTC git $* log --format=3Dfuller --date=3Diso-local = --no-color $base^..$base | grep CommitDate:`" \ && echo "merge-base: $base" \ && echo "merge-base: $base_date" \ && git $* log --oneline --no-color $base^..$base \ && echo "n`git $* rev-list --first-parent --count $base` (--first-parent = --count for merge-base)" (I'm not doing my own commits or using my own branches and the above procedure is depending on that.) I've not been updating/building recently so I've no direct comments about that. But there may be evidence around that you could report. The messages: QUOTE ld: error: bzlib.pico:147: unclosed quote ld: error: compress.pico:108: unclosed quote END QUOTE read like binary files are being read as text files. My existing (META_MODE) build has a .meta file that reports, for example, # head = /usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/lib/libbz= 2/bzlib.pico.meta # Meta data file = /usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/lib/libbz= 2/bzlib.pico.meta CMD cc -target aarch64-unknown-freebsd14.0 = --sysroot=3D/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch= 64/tmp = -B/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/tmp/usr= /bin -fpic -DPIC -O2 -pipe -fno-common -I/usr/main-src/contrib/bzip2 = -DNDEBUG -g -gz=3Dzlib -std=3Dgnu99 -Wno-format-zero-length = -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W = -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body = -Wno-string-plus-int -Wno-unused-const-variable = -Wno-error=3Dunused-but-set-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 -mcpu=3Dcortex-a72 -Qunused-arguments = -c /usr/main-src/contrib/bzip2/bzlib.c -o bzlib.pico CMD=20 CWD = /usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/lib/libbz= 2 TARGET bzlib.pico -- command output -- -- filemon acquired metadata -- # filemon version 5 # Target pid 82738 If there was an error, it should also be recorded in the .meta file that had the command that got the error. (head might not report enough text in such a case?) If you use META_MODE builds, looking at *.meta files involved in the generation if the files being used and in the command(s) using those files might point in some direction for what is going on. You might want to report those. In my context the reference to bzlib.pico are (I added blank lines for readability): # cd = /usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/lib/libbz= 2/ # grep bzlib.pico *.meta bzlib.pico.meta:# Meta data file = /usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/lib/libbz= 2/bzlib.pico.meta bzlib.pico.meta:CMD cc -target aarch64-unknown-freebsd14.0 = --sysroot=3D/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch= 64/tmp = -B/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/tmp/usr= /bin -fpic -DPIC -O2 -pipe -fno-common -I/usr/main-src/contrib/bzip2 = -DNDEBUG -g -gz=3Dzlib -std=3Dgnu99 -Wno-format-zero-length = -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W = -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body = -Wno-string-plus-int -Wno-unused-const-variable = -Wno-error=3Dunused-but-set-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 -mcpu=3Dcortex-a72 -Qunused-arguments = -c /usr/main-src/contrib/bzip2/bzlib.c -o bzlib.pico bzlib.pico.meta:TARGET bzlib.pico bzlib.pico.meta:M 83530 'bzlib-c42071da.pico.tmp' 'bzlib.pico' libbz2.so.4.full.meta:CMD cc -target aarch64-unknown-freebsd14.0 = --sysroot=3D/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch= 64/tmp = -B/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/tmp/usr= /bin -fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings = -Wl,--warn-shared-textrel -o libbz2.so.4.full -Wl,-soname,libbz2.so.4 = bzlib.pico blocksort.pico compress.pico crctable.pico decompress.pico = huffman.pico randtable.pico=20 libbz2.so.4.full.meta:R 81954 bzlib.pico That gives an idea what *.meta files to look at for bzlib.pico generation and usage. =3D=3D=3D Mark Millard marklmi at yahoo.com