Date: Sat, 14 Mar 2020 21:04:01 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r528445 - head/archivers/p7zip Message-ID: <202003142104.02EL41Qk043173@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Sat Mar 14 21:04:01 2020 New Revision: 528445 URL: https://svnweb.freebsd.org/changeset/ports/528445 Log: archivers/p7zip: fix build on powerpc64 lld 10 reports the following error: ld: error: relocation R_PPC64_TOC16_LO cannot be used against symbol MatchFinder_GetNumAvailableBytes; recompile with -fPIC >>> defined in LzFind.o >>> referenced by LzFind.c >>> LzFind.o:(MatchFinder_CreateVTable) Modified: head/archivers/p7zip/Makefile Modified: head/archivers/p7zip/Makefile ============================================================================== --- head/archivers/p7zip/Makefile Sat Mar 14 21:03:47 2020 (r528444) +++ head/archivers/p7zip/Makefile Sat Mar 14 21:04:01 2020 (r528445) @@ -27,6 +27,7 @@ CFLAGS_aarch64= -fPIC CFLAGS_amd64= -fPIC CFLAGS_i386= -fPIC CFLAGS_powerpc= -fPIC +CFLAGS_powerpc64= -fPIC CFLAGS_sparc64= -fPIC # Fix the build for i386 when WITH_LLD_IS_LD is set
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003142104.02EL41Qk043173>