From nobody Thu Oct 07 17:24:14 2021 X-Original-To: dev-commits-ports-branches@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 7163812D29CE; Thu, 7 Oct 2021 17:24:14 +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 4HQJ8Z2cZBz4S2Q; Thu, 7 Oct 2021 17:24:14 +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 3999417B36; Thu, 7 Oct 2021 17:24:14 +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 197HOElS080552; Thu, 7 Oct 2021 17:24:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 197HOEfS080551; Thu, 7 Oct 2021 17:24:14 GMT (envelope-from git) Date: Thu, 7 Oct 2021 17:24:14 GMT Message-Id: <202110071724.197HOEfS080551@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Cy Schubert Subject: git: 4028a1e7dd9d - 2021Q4 - comms/hcidump: Fix a link error List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q4 X-Git-Reftype: branch X-Git-Commit: 4028a1e7dd9d5e4876d50c719fb576abca3f06c2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2021Q4 has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=4028a1e7dd9d5e4876d50c719fb576abca3f06c2 commit 4028a1e7dd9d5e4876d50c719fb576abca3f06c2 Author: Cy Schubert AuthorDate: 2021-10-05 20:54:44 +0000 Commit: Cy Schubert CommitDate: 2021-10-07 17:23:43 +0000 comms/hcidump: Fix a link error Fix the following by adding -fPIE to CFLAGS: /usr/local/bin/x86_64-unknown-freebsd14.0-ld: ../parser/libparser.a(hidp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE /usr/local/bin/x86_64-unknown-freebsd14.0-ld: final link failed: nonrepresentable section on output cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [hcidump] Error code 1 (cherry picked from commit b581f84ea517c22d023ccff2150e15d5d68332c8) --- comms/hcidump/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comms/hcidump/Makefile b/comms/hcidump/Makefile index ba1a2d912fd5..881d20bcee27 100644 --- a/comms/hcidump/Makefile +++ b/comms/hcidump/Makefile @@ -16,7 +16,7 @@ USES= uidfix WRKSRC= ${WRKDIR}/${PORTNAME} INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME} -CFLAGS+= -DL2CAP_SOCKET_CHECKED=yes +CFLAGS+= -DL2CAP_SOCKET_CHECKED=yes -fPIE PLIST_FILES= bin/hcidump man/man1/hcidump.1.gz