From owner-svn-src-all@FreeBSD.ORG Sun Aug 10 15:26:33 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E94C53EC for ; Sun, 10 Aug 2014 15:26:32 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B5C482E6C for ; Sun, 10 Aug 2014 15:26:32 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by gateway1.nyi.internal (Postfix) with ESMTP id CCD222130F for ; Sun, 10 Aug 2014 11:26:25 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sun, 10 Aug 2014 11:26:25 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=NEconUOMIHfBIFqV1KHmFdQc uOo=; b=coEwrXG3is+QVCBZI0kqkatdT8MlESgPJHmYJC1qK4wq24a37ZI2hN1p r6c0zznEnZ7feoyPK6o9b22b0JVAED/2W8R7wRuYw7G6XL9EhTtfOIPOEmSgGDHe BF8gxuNW+veMPMGQkT1qMHBvxpgRMa8Mm9UPTQL1KmqcrmSk/DI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=NEconUOMIHfBIFqV1KHmFdQcuOo=; b=I56C9kAVIykatFYLIIERgoQdsH0a /xGN7hMRhhJ3FP9v+KITLLa6ry7zbG0ha43jz1TJsFnY+h4gO/FVg+RQoTj++nr6 Red1Dhs3fAPJsU1+wOgSA+W7l3ikXWhCCC7PxaIJ3pIGqOf9W93bv0avnzmY6SNE xT0obzqzwrmo8K0= X-Sasl-enc: TkS/sYYmnnZRPwv1l86NRteI92MSrhhmjGA9oZ4fiF3C 1407684385 Received: from kropotkin.aux.io (unknown [223.252.30.161]) by mail.messagingengine.com (Postfix) with ESMTPA id 28E11C007B0; Sun, 10 Aug 2014 11:26:23 -0400 (EDT) Date: Mon, 11 Aug 2014 01:26:16 +1000 From: Alastair Hogge To: Baptiste Daroussin Subject: Re: svn commit: r269649 - in head: lib lib/libohash share/mk usr.bin/m4 usr.bin/m4/lib Message-ID: <20140810152615.GA3824@kropotkin.aux.io> References: <53e2b038.5e44.59dbd637@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53e2b038.5e44.59dbd637@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2014 15:26:33 -0000 On 2014-08-06 Wed 22:46:15 +0000, Baptiste Daroussin wrote: > Author: bapt > Date: Wed Aug 6 22:46:15 2014 > New Revision: 269649 > URL: http://svnweb.freebsd.org/changeset/base/269649 > > Log: > Make libohash a proper internallib instead of hidding it in m4 > > mandoc development seems to be also using ohash so prepare to share the > code when needed Hi, I have not been able to build head with PIE since this commit. Build host is 11.0-CURRENT r269770. $ cat /etc/src.conf WITH_PIE= $ cat /etc/make.conf ALWAYS_CHECK_MAKE= $ cd /tmp/r269649 && env MAKEOBJDIRPREFIX=/tmp/obj make -j9 buildworld ===> usr.bin/m4 (all) ===> usr.bin/m4/tests (all) cc -O2 -pipe -DEXTENDED -I/tmp/r269649/usr.bin/m4 -I/tmp/r269649/usr.bin/m4/../../lib/libohash -fPIE -pie -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wp ointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -pie -o m4 eval.o expr.o look.o main.o misc.o gnum4.o trace.o parser.o tokenizer.o -ly -ll -lm /tmp/obj/tmp/r269649/lib/libohash/libohash.a /tmp/obj/tmp/r269649/tmp/usr/bin/ld: /tmp/obj/tmp/r269649/lib/libohash/libohash.a(ohash.o): relocation R_X86_64_PC32 against `strlen@@FBSD_1.0' can not be used when making a shared object; recompile with -fPIC /tmp/obj/tmp/r269649/tmp/usr/bin/ld: final link failed: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [m4] Error code 1 make[4]: stopped in /tmp/r269649/usr.bin/m4 1 error make[4]: stopped in /tmp/r269649/usr.bin/m4 *** [all_subdir_m4] Error code 2 make[3]: stopped in /tmp/r269649/usr.bin 1 error make[3]: stopped in /tmp/r269649/usr.bin *** [usr.bin.all__D] Error code 2 make[2]: stopped in /tmp/r269649 1 error make[2]: stopped in /tmp/r269649 *** [everything] Error code 2 make[1]: stopped in /tmp/r269649 1 error make[1]: stopped in /tmp/r269649 *** [buildworld] Error code 2 make: stopped in /tmp/r269649 1 error make: stopped in /tmp/r269649