🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.ports
Article #118

Re: Error building devel/electron42 LLVM Producer Reader mismatch

#118
From: Leonard Rucker
Date: Thu, 29 Oct 2026 01:48
60 lines
6529 bytes
On Tue, 27 Oct 2026 18:33:17 -0700
Mark Millard <marklmi@yahoo.com> wrote:

> On 10/27/26 14:33, Leonard Rucker wrote:
> > Hi
> > I build devel/Electron42 via poudriere. Since the port was updated
> > to v42.11.14 my build has been failing with the linker error.
> > ld.lld: error:
> > obj/third_party/rust/cxx/v1/lib/libcxx_lib.rlib(libcxx_lib.cxx.8e755ce130c7673f-cgu.0.rcgu.o):
> > Not an int attribute (Producer: 'LLVM23.1.1-rust-1.99.1-stable'
> > Reader: 'LLVM 22.1.8')
> > 
> > Does anyone know what would cause this and how I would fix it?  
> 
> I tend to associate messages with the likes of "(Producer:
> 'LLVM23.1.1-rust-1.99.1-stable' Reader: 'LLVM 22.1.8')" as being tied
> to the build attempting something like LTO use while using a mix of
> tools/files from distinct LLVM versions, something that is not
> generally supported, here:
> 
> LLVM23.1.1-rust-1.99.1-stable files used by LLVM 22.1.8 tools.
> 
> My understanding is that LTO (for example) does not in general have
> forward or backward compatibility. LLVM23 tools could object to some
> LLVM22 files, for example.
> 
> You may be better off forcing the default devel/LLVM* selection,
> causing use of that default, and setting up rust to use that
> selection instead of its internal, partial LLVM toolchain. Or give up
> on using the likes of LTO, where version specific internals are
> exposed and used. (If that is what is actually going on here.)
> 
> > 
> > Thanks
> > Len
> > 
> >   
> 
> 

I had a similar though with reguards to llmv build options. I just left
the defaults for everything except I changed all LLVM version I use to
BE_FREEBSD instead of BE_STANDARD. I changed this back for all LLVM
versions poudriere uses to no effect.  I also noticed that OPTION GOLD
is no longer present in LLVM23 so I unset this from all privious LLVM
versions in poudriere to no avail as well.

The thing that strikes me as odd is that the build log makes no
mention of LLVM23 in the build-depeends phase but does mention
both llvm19 and llvm22.

I also took a look at my build of rust. It is built with defaults with
the only interesting option is to use devel/llvm instead of the llvm
bundled with rust. I didn't want to mess with this. Just was checking
if there was anything that might show me what might be an issue.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <20261028184853.095135d2@mediamaster.perpetualthought.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <> <fcde3919-d683-4624-b43a-cc3ad9b9edea@yahoo.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Leonard Rucker <len@perpetualthought.com>
Newsgroups: muc.lists.freebsd.ports
Subject: Re: Error building devel/electron42 LLVM Producer Reader mismatch
Date: Wed, 28 Oct 2026 18:48:53 -0700
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-ports@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <20261028184853.095135d2@mediamaster.perpetualthought.com>
References: <> <fcde3919-d683-4624-b43a-cc3ad9b9edea@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="45963"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1793238568; h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-owner:list-unsubscribe:list-subscribe:list-post;
	bh=J856OjBz29dplzfoES/x7dYYSghAx7emxD+Yj0RH3/4=;
	b=yZt/gFcNp4w22VLHl8NKsE0IQ53qL2k72JNE5C6D90FMp/+LZZpxNrAOCPvKIO2EDxkoa0
	oIqiDhA7lBRyERJRHBdtB5Ouv8FrAWD6YG/0etEn7oGb87nHg8i9KruYR3hQUAZydArJey
	3mP69LvfBt5RTxP/EJfkPdBFPLsqdaYVcbAJoCWWBj9YjmQiAi/7p1aWIVsTPnS2ye7tlP
	YWT/p1WbEbm0t5RUc+TwAbRQFT8ocupPcVBJaFVOjwbrruw6AvwsOjIDtYCQPhLpa5/EPW
	jyCvJVCHHaYGbLauYzeK6WvhnuwGsJa8oDAiNruW3ZN5dslkTtuQj/u7K9h8aQ==
X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
	dkim=pass header.d=perpetualthought.com header.s=mail header.b=L7Rr90mX;
	dkim=pass header.d=perpetualthought.com header.s=mail header.b=L7Rr90mX;
	spf=pass (mx1.freebsd.org: domain of len@perpetualthought.com designates 198.199.117.193 as permitted sender) smtp.mailfrom=len@perpetualthought.com;
	dmarc=pass (policy=reject) header.from=perpetualthought.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=perpetualthought.com;
	s=mail; t=1793238488;
	bh=jUPpxXzcntgsPf1gFeA/t3BrYgpGkef+BlWwKyIVGmY=;
	h=Date:From:To:Subject:In-Reply-To:References;
	b=L7Rr90mXa7RlUDSLPAmF9l3f6XHqE/OOT1czNRKO8wLF9JGfvr80utrYwtBWaKns1
	 5mISTRbdANUfB0ToXRofQPHNLsmPEiNBq0HxdId5bo6fWg8vFq1TGhcQk4Jsarfyw1
	 E4Ih5pljiCx803QAmmX9ubM66YckPPgR+lm+jL9g=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=perpetualthought.com;
	s=mail; t=1793238488;
	bh=jUPpxXzcntgsPf1gFeA/t3BrYgpGkef+BlWwKyIVGmY=;
	h=Date:From:To:Subject:In-Reply-To:References;
	b=L7Rr90mXa7RlUDSLPAmF9l3f6XHqE/OOT1czNRKO8wLF9JGfvr80utrYwtBWaKns1
	 5mISTRbdANUfB0ToXRofQPHNLsmPEiNBq0HxdId5bo6fWg8vFq1TGhcQk4Jsarfyw1
	 E4Ih5pljiCx803QAmmX9ubM66YckPPgR+lm+jL9g=
In-Reply-To: <fcde3919-d683-4624-b43a-cc3ad9b9edea@yahoo.com>
X-BeenThere: freebsd-ports@freebsd.org
Precedence: list
X-Spamd-Bar: -
X-Spamd-Result: default: False [-1.00 / 15.00];
	DMARC_POLICY_ALLOW(-0.50)[perpetualthought.com,reject];
	R_SPF_ALLOW(-0.20)[+ip4:198.199.117.193];
	R_DKIM_ALLOW(-0.20)[perpetualthought.com:s=mail];
	MIME_GOOD(-0.10)[text/plain];
	TO_DN_NONE(0.00)[];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	FROM_HAS_DN(0.00)[];
	RCPT_COUNT_ONE(0.00)[1];
	MIME_TRACE(0.00)[0:+];
	ASN(0.00)[asn:14061, ipnet:198.199.112.0/21, country:US];
	RCVD_COUNT_TWO(0.00)[2];
	MLMMJ_DEST(0.00)[freebsd-ports@FreeBSD.org];
	ARC_NA(0.00)[];
	TO_MATCH_ENVRCPT_ALL(0.00)[];
	MID_RHS_MATCH_FROMTLD(0.00)[];
	PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org];
	FROM_EQ_ENVFROM(0.00)[];
	RCVD_TLS_LAST(0.00)[];
	DKIM_TRACE(0.00)[perpetualthought.com:+]
X-Rspamd-Queue-Id: 4jFRwc16yDz4JrT
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes