svn commit: r269649 - in head: lib lib/libohash share/mk usr.bin/m4 usr.bin/m4/lib

Alastair Hogge agh at
Sun Aug 10 15:26:33 UTC 2014

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:
> 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


I have not been able to build head with PIE since this commit.  Build host
is 11.0-CURRENT r269770.

$ cat /etc/src.conf

$ cat /etc/make.conf

$ 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/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

More information about the svn-src-all mailing list