From nobody Wed May 6 14:50:30 2026 X-Original-To: freebsd-current@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 4g9db95TKWz6cjp5 for ; Wed, 06 May 2026 14:50:13 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "pelorus.zefox.org", Issuer "pelorus.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g9db91cs2z3Mlq for ; Wed, 06 May 2026 14:50:13 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.18.1/8.18.1) with ESMTPS id 646EoV9N006836 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 6 May 2026 07:50:31 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.18.1/8.18.1/Submit) id 646EoVJF006835; Wed, 6 May 2026 07:50:31 -0700 (PDT) (envelope-from fbsd) Date: Wed, 6 May 2026 07:50:30 -0700 From: bob prohaska To: Mark Millard Cc: freebsd-current@freebsd.org Subject: Re: ar: error: libclang.a: 'ParseDecl.o': section header table goes past EOF Message-ID: References: <2c2ab68d-83eb-4b6d-996d-10c2169a2165@yahoo.com> <4fab914f-ff17-4312-a098-975b6c103e05@yahoo.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4fab914f-ff17-4312-a098-975b6c103e05@yahoo.com> X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US] X-Rspamd-Queue-Id: 4g9db91cs2z3Mlq X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On Tue, May 05, 2026 at 09:59:02PM -0700, Mark Millard wrote: > On 5/5/26 17:32, bob prohaska wrote: > > On Tue, May 05, 2026 at 11:37:12AM -0700, Mark Millard wrote: > >> On 5/5/26 07:48, bob prohaska wrote: > >>> A Pi2B (armv7) is failing buildworld with: > >>> > >>> Building static clang library > >>> ar: error: libclang.a: 'ParseDecl.o': section header table goes past the end of > >>> the file: e_shoff = 0x131190 > > How big is the ParseDecl.o file that gets this report? > > # ls -l /usr/obj/usr/src/arm.armv7/tmp/obj-tools/lib/clang/libclang/Parse/ParseDecl.o -rw-r--r-- 1 root wheel 393216 May 3 19:15 /usr/obj/usr/src/arm.armv7/tmp/obj-tools/lib/clang/libclang/Parse/ParseDecl.o > > (Note the tmp/ in that path. Also the <> usage is in hopes of forming > one long line and are not part of the file path.) > Including the < and > in the pathname triggered a syntax error. Likely I misundersood the tip or I'm using a different shell. > > Can you publish the content of the file: > > The file has been placed at http://www.zefox.net/~fbsd/rpi2/20260506/ After placing it there using sftp, running file on it locally reported fbsd@www:~/public_html/rpi2/20260506 % file * ParseDecl.o: ELF 32-bit LSB relocatable, ARM, EABI5 version 1 (FreeBSD), missing section headers at 1249720 Perhaps unsurpisingly it can't be viewed in a browser. It does display neatly (but unintelligibly to me) using hexdump. Thanks for writing, please indicate any more experiments that come to mind. bob prohaska