Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 01:26:16 +1000
From:      Alastair Hogge <agh@fastmail.fm>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
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>
In-Reply-To: <53e2b038.5e44.59dbd637@svn.freebsd.org>
References:  <53e2b038.5e44.59dbd637@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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