From nobody Sun Apr 09 23:42:57 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 4PvpZw48KYz44RY1 for ; Sun, 9 Apr 2023 23:43:36 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PvpZw18Pbz3mHQ for ; Sun, 9 Apr 2023 23:43:36 +0000 (UTC) (envelope-from sunpoet@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681083816; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=D4CI1kUFhBZrDw4SC3RcppXg0k/WfOlHseEU5AUUBiI=; b=YuO1UI/xfCfJBysdriwtVv1IjanpIV9MvkMpVyAT5BGkHgoooKbm9/XUOgYD3S1x6WHlHC 9OJ2lda6P4u3wScBMqyQ23wct+31ZI32brkcEEU6vaj9ai4+P92aV5d6qWlJuuCfsJrWUY MhLC2kAhiIl1T3Eqe+HATMQ6EdiOcLPWYNRFLxiQ0XXb8v6blsNGMWoTWWhuIbNQJhgzv6 zwanajjtPMYtvkAYtl1ohGBU6eC9FFlrrvuITp0tOsf3j7e2nYHSICyo6D+pQRwccQ+vvY JJsf4QXt5HL2AlOCHhz3un0vphtPFHtjXi2H6Pv/GyR+aaW7LQbcRWrIIyS7rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681083816; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=D4CI1kUFhBZrDw4SC3RcppXg0k/WfOlHseEU5AUUBiI=; b=RBmrqVIwhP/FJ8EihsgJF97S8h3Es4O8jWdCWUlM6byJfaVB69iGwdOp3EU5yjKbpySMeF MdmmMoEWyfAdAHLc/HshHMm+HMoUv7WAQFjgHmUsPfzvMFTsqV7patQW8g8zCysYpetmpX JQuK/EtUGCq3Pbk8jgZ2Pb+raBm3BE+/LKY3Q1GA3KBmI/7c1qGZ8C76bfNvytZgfjPS1b iw55yZFfe7JPDzce+azE4W3Vcono2RFNiQtOH/e4Cb6oJjb8n6GaG3gj8g/zT2XMhfZoG7 F5r4JnqszlAhVB6WhUbAubasI8cnsBmzyEnYxY/uyYh7rU/IMjM9nLzKQK3VMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681083816; a=rsa-sha256; cv=none; b=En0VWwuLH6Odlu5fAqDCkZ9OdkPC+0Id6zQ73JiLwWkG42TEZPQf9dyO7oV/qh91XUGCLo IGKBl2Xqv4GZcpURrmDchkGnEeiNnSBZxSszDRXlgsAsbM++HsKgwVQZE6ldjRCNAMRrCt mr53ltnF2aBGM6ixbktvGJrO1N6fpljp/2v8uoeF3zuge1CBGFI7yOpb5EqXLFp8qVKDEF I4SBQLKzSWDVsPO+eNFrVO14I7mVnzZdcSX4+ZqBnowlL1Zfoc1itaQlfSc5aU4eV9ll+8 /MwnC/+JwXdLkRWrvegUzasG/MAU5w1oZ4Yx5x0Nul+xdNA4CnBBWqlakR0cVw== Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: sunpoet) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PvpZw02m8zGqP for ; Sun, 9 Apr 2023 23:43:35 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: by mail-ej1-f51.google.com with SMTP id sg7so20450696ejc.9 for ; Sun, 09 Apr 2023 16:43:35 -0700 (PDT) X-Gm-Message-State: AAQBX9cMhYJp0R6tbdJQ9qog+gE7aOdTyCDtJr+t6Q6EM0FTI/Gr3FbM X0H2CWp8XwNEMghOCqUM1sV4+Tt+46/WXoEjxJIqpQ== X-Google-Smtp-Source: AKy350aQ7h824SghAfHMzYewHY+UJq3gmd57p2oRvbiyHNUTdFKcCfx72SepkAvS/sb0jTEBdqDyLukt0+1f+HoW5eo= X-Received: by 2002:a17:906:6a0b:b0:948:b300:7033 with SMTP id qw11-20020a1709066a0b00b00948b3007033mr2870630ejc.1.1681083814939; Sun, 09 Apr 2023 16:43:34 -0700 (PDT) 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 References: <3bcea0ca-6376-ad9b-e306-143d751d2270@chen.org.nz> In-Reply-To: <3bcea0ca-6376-ad9b-e306-143d751d2270@chen.org.nz> From: Po-Chuan Hsieh Date: Mon, 10 Apr 2023 07:42:57 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: devel/qt6-base fails to build after archivers/zstd update? To: jonc@chen.org.nz Cc: freebsd-ports@freebsd.org Content-Type: multipart/alternative; boundary="000000000000a0a42d05f8efd30b" X-ThisMailContainsUnwantedMimeParts: N --000000000000a0a42d05f8efd30b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Mon, Apr 10, 2023 at 6:00=E2=80=AFAM Jonathan Chen wr= ote: > Hi, > > I'm getting build failures on devel/qt6-base during the link stage: > > ... > 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 > > ld: error: relocation R_X86_64_32 cannot be used against local symbol; > 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 > > ld: error: relocation R_X86_64_32S cannot be used against local symbol; > recompile with -fPIC > > I had a quick look thru' the commits, and I think that that the latest > build-changes against archivers/zstd has triggered the failure? > It should be fixed in ports 454e3c91ae9105a9af1939c9632424083ed3bbdb. Thanks. > > Cheers > -- > Jonathan Chen > --000000000000a0a42d05f8efd30b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Mon, Apr 10, 2023 at 6:00=E2=80=AFAM Jonathan Chen <jonc@chen.org.nz> wrote:
Hi,
I'm getting build failures on devel/qt6-base during the link stage:

...
ld: error: relocation R_X86_64_32 cannot be used against local symbol;
recompile with -fPIC
=C2=A0>>> defined in /usr/local/lib/libzstd.a(zstd_common.o)
=C2=A0>>> referenced by zstd_common.c
=C2=A0>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0zs= td_common.o:(ZSTD_versionString) in archive
/usr/local/lib/libzstd.a

ld: error: relocation R_X86_64_32 cannot be used against local symbol;
recompile with -fPIC
=C2=A0>>> defined in /usr/local/lib/libzstd.a(error_private.o)
=C2=A0>>> referenced by error_private.c
=C2=A0>>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0er= ror_private.o:(ERR_getErrorString) in archive
/usr/local/lib/libzstd.a

ld: error: relocation R_X86_64_32S cannot be used against local symbol; recompile with -fPIC

I had a quick look thru' the commits, and I think that that the latest =
build-changes against archivers/zstd has triggered the failure?

It should be fixed in ports 454e3c91ae9105a9af1939= c9632424083ed3bbdb.
Thanks.
=C2=A0

Cheers
--
Jonathan Chen <jon= c@chen.org.nz>
--000000000000a0a42d05f8efd30b--