Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2020 16:10:42 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r359601 - head/usr.sbin/pmc
Message-ID:  <202004031610.033GAguU078726@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Fri Apr  3 16:10:42 2020
New Revision: 359601
URL: https://svnweb.freebsd.org/changeset/base/359601

Log:
  pmc: diable position-independent builds, they fail to link on amd64
  
  PR:		245189
  Reported by:	Gordon Bergling
  Sponsored by:	DARPA

Modified:
  head/usr.sbin/pmc/Makefile

Modified: head/usr.sbin/pmc/Makefile
==============================================================================
--- head/usr.sbin/pmc/Makefile	Fri Apr  3 15:55:58 2020	(r359600)
+++ head/usr.sbin/pmc/Makefile	Fri Apr  3 16:10:42 2020	(r359601)
@@ -11,6 +11,9 @@ CXXSTD= c++14
 CWARNFLAGS.gcc+= -Wno-redundant-decls
 CFLAGS+= -I${SRCTOP}/lib/libpmcstat
 
+# Does not link when built position-independent.
+MK_PIE=no
+
 LIBADD=	kvm pmc m ncursesw pmcstat elf
 
 SRCS=	pmc.c pmc_util.c cmd_pmc_stat.c \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004031610.033GAguU078726>