From owner-dev-commits-ports-main@freebsd.org Sun Jun 20 23:14:31 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4F61F65B3CD; Sun, 20 Jun 2021 23:14:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G7T531Wblz3GZs; Sun, 20 Jun 2021 23:14:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1C8AC12B4F; Sun, 20 Jun 2021 23:14:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15KNEVsG042779; Sun, 20 Jun 2021 23:14:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15KNEVJ3042778; Sun, 20 Jun 2021 23:14:31 GMT (envelope-from git) Date: Sun, 20 Jun 2021 23:14:31 GMT Message-Id: <202106202314.15KNEVJ3042778@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 377a8969a2b7 - main - security/ipv6toolkit: fix build on riscv64 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 377a8969a2b7f586b3bbbe046193567bf570a60d Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2021 23:14:31 -0000 The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=377a8969a2b7f586b3bbbe046193567bf570a60d commit 377a8969a2b7f586b3bbbe046193567bf570a60d Author: Piotr Kubaj AuthorDate: 2021-06-20 23:14:16 +0000 Commit: Piotr Kubaj CommitDate: 2021-06-20 23:14:16 +0000 security/ipv6toolkit: fix build on riscv64 ld: error: can't create dynamic relocation R_RISCV_HI20 against symbol: .LCPI64_0 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in /wrkdirs/usr/ports/security/ipv6toolkit/work/ipv6toolkit-v2.0/libipv6/libipv6.a(libipv6.o) >>> referenced by libipv6.c >>> libipv6.o:(time_diff_ms) in archive /wrkdirs/usr/ports/security/ipv6toolkit/work/ipv6toolkit-v2.0/libipv6/libipv6.a --- security/ipv6toolkit/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/security/ipv6toolkit/Makefile b/security/ipv6toolkit/Makefile index e2969e85033d..1c884a432a8e 100644 --- a/security/ipv6toolkit/Makefile +++ b/security/ipv6toolkit/Makefile @@ -17,6 +17,8 @@ SUB_FILES= BSDMakefile Makefile Makefile.lib MAKEFILE= BSDMakefile PORTDOCS= README.TXT CHANGES.TXT CREDITS.TXT +CFLAGS_riscv64= -fPIC + PROGDIRS= addr6 flow6 frag6 icmp6 jumbo6 na6 ni6 ns6 path6 ra6 rd6 rs6 \ scan6 tcp6 udp6 LIBDIRS= libipv6