From nobody Tue Dec 17 07:25:15 2024 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 4YC7dP3PBMz5gnDg for ; Tue, 17 Dec 2024 07:25:45 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (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 ECDSA (P-384) client-digest SHA384) (Client CN "mail.bsd4all.net", Issuer "E6" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YC7dN2wH4z53vp for ; Tue, 17 Dec 2024 07:25:44 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=oj0THxKD; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 94.130.200.20 as permitted sender) smtp.mailfrom=herbert@gojira.at; dmarc=none Date: Tue, 17 Dec 2024 08:25:15 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1734420337; bh=zHEXRZekoiu8JVfBOH020WkEw2j5yzKp8cXWFcJKGUo=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; b=oj0THxKD8xTWVzm50flP9bRKgkxEamrkrtu1Dwgs/zqadYDj3/E/Cly9WnQAo3skQ 4TNh5SOHf95OCD50YO2rOxt27buSN+nTS3dJ7XsjLmOVLDQiQrel2BZ3xJ12FSkZ3v hy4HdZFtslJ5nSu4JikrXvUn9lJZU+yldRLJBYpLFBZHkN2Ds0bSlI+kkI38XqAoBV NUFtswXAHrFm7jenTJOGswl6URjaOKJ/vh6br0i3kNbsCckV4J220mC2ympRiue4vw Zj8v0BhmcN/hJPzxBXa2+QbElzq8yH8ZTT0WHoFZRbPS1a8EmXS7l6FalYGr9FmToT KCPMuCswuvpEw== Message-ID: <87pllq93fo.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: freebsd-arm@FreeBSD.org Subject: Re: gnutls 3.8.8 error, compile-time-constant fails and skips many other packages from being built In-Reply-To: <6D84E214-2196-4AA7-ADD1-B11E5434EE37@thegalacticzoo.com> References: <6D84E214-2196-4AA7-ADD1-B11E5434EE37@thegalacticzoo.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/31.0 Mule/6.0 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 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-2.50 / 15.00]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; R_SPF_ALLOW(-0.20)[+ip4:94.130.200.20]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[gojira.at]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@FreeBSD.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gojira.at:+] X-Rspamd-Queue-Id: 4YC7dN2wH4z53vp X-Spamd-Bar: -- On Tue, 17 Dec 2024 05:02:52 +0100, Fred Finster wrote: >=20 > Merry Christmas 2024 fellow FreeBSD ARM users. > I wave my hand, that I have encountered an error that Marius Schamschula = details below. >=20 > A compile-time constant is=A0computed at the time the code is > compiled, while a run-time constant can only be computed while the > application is running. A compile-time constant will have the same > value each time an application runs, while a run-time constant may > change each time.Sep 15, 2021 >=20 > ~~~~~~~~~~~~~~~~~~~~~ > https://github.com/llvm/llvm-project > https://lists.gnutls.org/pipermail/gnutls-help/2024-November/thread.html#= 4866 > Problem, how to compile file groups.c as a part of gnutls 3.8.8 and overc= ome > this compile-time constant error: > groups.c:93:2: error: initializer element is not a compile-time constant > group_x25519, > ^~~~~~~~~~~~ > 1 error generated. [...] > gnutls_3.8.8 fails to compile and has a single error. Other > Poudriere packages depend on gnutls_3.8.8 and are skipped from > compiling. What do you suggest to fix this problem? I am patient > to wait until developers have a solution ready for gnutls. Like > first initializing group_x25519 with a NIL value.?? > http://ghostbsd-arm64.blogspot.com Fred's Blog about porting > GhostBSD x86 to Arm64 I don't get this error on main and stable/14 and there is a gnutls package. But there is obviously a fix for this issue: https://github.com/gnutls/gnutls/commit/9cc9d5556d258d23a399abfe45715773e71= 9d134