From nobody Mon Apr 10 03:00:53 2023 X-Original-To: freebsd-ports@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 4Pvtyd14dRz44fWR for ; Mon, 10 Apr 2023 03:00:57 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from egress.chen.org.nz (egress.chen.org.nz [170.75.172.82]) by mx1.freebsd.org (Postfix) with ESMTP id 4Pvtyc6SKLz3plN; Mon, 10 Apr 2023 03:00:56 +0000 (UTC) (envelope-from jonc@chen.org.nz) Authentication-Results: mx1.freebsd.org; none Received: from mail.chen.org.nz (unknown [210.54.37.164]) by egress.chen.org.nz (Postfix) with ESMTP id 25542EAEB2; Mon, 10 Apr 2023 15:00:55 +1200 (NZST) Received: from mail.chen.org.nz (localhost [127.0.0.1]) by filter.inside.chen.org.nz (Postfix) with ESMTP id 2A8A892D1C; Mon, 10 Apr 2023 15:00:53 +1200 (NZST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on ametrine.inside.chen.org.nz Received: from rainloop.jail (rainloop.jail [192.168.1.4]) by mail.chen.org.nz (Postfix) with ESMTP id 189A892D97; Mon, 10 Apr 2023 15:00:53 +1200 (NZST) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Date: Mon, 10 Apr 2023 03:00:53 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.17.0 From: jonc@chen.org.nz Message-ID: Subject: Re: devel/qt6-base fails to build after archivers/zstd update? To: "Po-Chuan Hsieh" Cc: freebsd-ports@freebsd.org In-Reply-To: References: <3bcea0ca-6376-ad9b-e306-143d751d2270@chen.org.nz> X-Rspamd-Queue-Id: 4Pvtyc6SKLz3plN X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:174, ipnet:170.75.160.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N April 10, 2023 11:42 AM, "Po-Chuan Hsieh" wrote: > Hi, >=20 >=20On Mon, Apr 10, 2023 at 6:00 AM Jonathan Chen wrot= e: >=20 >>=20Hi, >>=20 >>=20I'm getting build failures on devel/qt6-base during the link stage: >>=20 >>=20... >> ld: error: relocation R_X86_64_32 cannot be used against local symbol; >> recompile with -fPIC >>>>> defined in /usr/local/lib/libzstd.a(zstd_common.o) >>>>> referenced by zstd_common.c >>>>> zstd_common.o:(ZSTD_versionString) in archive >> /usr/local/lib/libzstd.a >>=20 >>=20ld: error: relocation R_X86_64_32 cannot be used against local symbo= l; >> recompile with -fPIC >>>>> defined in /usr/local/lib/libzstd.a(error_private.o) >>>>> referenced by error_private.c >>>>> error_private.o:(ERR_getErrorString) in archive >> /usr/local/lib/libzstd.a >>=20 >>=20ld: error: relocation R_X86_64_32S cannot be used against local symb= ol; >> recompile with -fPIC >>=20 >>=20I had a quick look thru' the commits, and I think that that the late= st >> build-changes against archivers/zstd has triggered the failure? > It should be fixed in ports 454e3c91ae9105a9af1939c9632424083ed3bbdb. Yup, it does. Thanks for the prompt fix! -- Jonathan Chen