From nobody Wed Aug 14 21:14:15 2024 X-Original-To: dev-commits-ports-main@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 4WkgxM34ffz5SrZr; Wed, 14 Aug 2024 21:14:31 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WkgxL5M6Mz4Jv0; Wed, 14 Aug 2024 21:14:30 +0000 (UTC) (envelope-from gerald@pfeifer.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pfeifer.com header.s=pair-202402271039 header.b=qxzsxcSZ; dmarc=none; spf=pass (mx1.freebsd.org: domain of gerald@pfeifer.com designates 209.68.5.143 as permitted sender) smtp.mailfrom=gerald@pfeifer.com Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id 946C433E94; Wed, 14 Aug 2024 17:14:24 -0400 (EDT) Received: from [192.168.25.87] (ip-109-43-50-227.web.vodafone.de [109.43.50.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 43D8D33E92; Wed, 14 Aug 2024 17:14:23 -0400 (EDT) Date: Wed, 14 Aug 2024 23:14:15 +0200 (CEST) From: Gerald Pfeifer To: Piotr Kubaj cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: ab52d5af3b6f - main - dns/doh-proxy: fix build on powerpc In-Reply-To: <202408041201.474C1AsI012533@gitrepo.freebsd.org> Message-ID: <580464cf-aaeb-d949-bddc-227bcaceb7d1@pfeifer.com> References: <202408041201.474C1AsI012533@gitrepo.freebsd.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pfeifer.com; h=date:from:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type; s=pair-202402271039; bh=K9oU3Qd1UG2LLrjDRj3WZlrOscGsVPFvNrZY0f/mLoI=; b=qxzsxcSZylBKpDv/yQrlhnbJlh62jhno/hFakgUVEQRhTPsi807EAvHB5fNGOFCCvQsBnpcOOJTL23SLnexG8dXZW6rybexfUykXjDLUzPPY54SblA/PVujpiD4OvsA8HmukbXXoga7q6J8RUsP90i9rtyrPO6J9YTIwq6TJMTDPxJMBP32ZVaW+0VEMR/71sZDVEB0p4+7nVRvrQSfNGT/X6NwKoXGFf2ubDzIrvFBWbr/41vtuA2rqmA5esbDzp8N4mQBNpQwG2uBxtJqd1muipOthLKMgP1o/OIjYd+GXrTppjN8nyBq1OCxIKK6yBYN6aJbjbrSr5c45frVp5g== X-Scanned-By: mailmunge 3.11 on 209.68.5.143 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[pfeifer.com:s=pair-202402271039]; R_SPF_ALLOW(-0.20)[+a:hamza.pair.com]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:7859, ipnet:209.68.0.0/18, country:US]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; FREEFALL_USER(0.00)[gerald]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[pfeifer.com]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-ports-all@FreeBSD.org,dev-commits-ports-main@FreeBSD.org]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[pfeifer.com:+] X-Rspamd-Queue-Id: 4WkgxL5M6Mz4Jv0 On Sun, 4 Aug 2024, Piotr Kubaj wrote: > URL: https://cgit.FreeBSD.org/ports/commit/?id=ab52d5af3b6fa295d2b9fb45d89e1cd23b15330f : > dns/doh-proxy: fix build on powerpc > > = note: ld: error: undefined symbol: __atomic_load_8 > >>> referenced by static.c > >>> 98cfcaec7182b1d8-static.o:(mi_arena_schedule_purge) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib > >>> referenced by static.c > >>> 98cfcaec7182b1d8-static.o:(mi_arenas_try_purge) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib > >>> referenced by static.c > >>> 98cfcaec7182b1d8-static.o:(mi_stat_update) in archive /wrkdirs/usr/ports/dns/doh-proxy/work/rustc4xSzx7/liblibmimalloc_sys-4a9c093f9f8149a2.rlib > >>> referenced 2 more times > +.include > + > +.if ${ARCH} == powerpc > +LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT} > +LDFLAGS+= -L/usr/local/lib/gcc${GCC_DEFAULT} -latomic > +.endif This looks ... interesting: pulling in GCC for a single library which is more an interal aspect on one platform only? Isn't rather something broken or missing on powerpc and this is more of a crude hack leading to a Frankenbuild? Gerald