Date: Sat, 25 Apr 2020 22:18:59 +0200 From: Gordon Bergling <gbergling@googlemail.com> To: freebsd-current@freebsd.org Subject: Tinderbox / universe buildfailure with custom options Message-ID: <20200425201859.GA20154@lion.0xfce3.net>
next in thread | raw e-mail | index | archive | help
Hi, I tried to make a tinderbox / universe build today, but it was failing with some custom buildoptions. The options are the following: WITH_EXTRA_TCP_STACKS=1 WITH_BEARSSL=1 WITH_PIE=1 WITH_RETPOLINE=1 What strange is, is, that with a "make buildworld buildkernel" everything works fine. Only the tinderbox / universe target seems to be broken by these options. Has anyone an idea why the tinderbox / universe target is broken with these build options? The following are the, rather shortened, error messages. ===> rescue/rescue (obj,build-tools) ld: error: can't create dynamic relocation R_X86_64_32S against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in jsmn.o >>> referenced by jsmn.c:0 (/boiler/nfs/src/lib/libpmc/pmu-events/jsmn.c:0) >>> jsmn.o:(jsmn_parse) ld: error: can't create dynamic relocation R_X86_64_32S against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in jsmn.o >>> referenced by jsmn.c:0 (/boiler/nfs/src/lib/libpmc/pmu-events/jsmn.c:0) >>> jsmn.o:(jsmn_parse) ld: error: can't create dynamic relocation R_X86_64_32S against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in jsmn.o >>> referenced by jsmn.c:304 (/boiler/nfs/src/lib/libpmc/pmu-events/jsmn.c:304) >>> jsmn.o:(jsmn_strerror) ld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in jsmn.o >>> referenced by jsmn.c:316 (/boiler/nfs/src/lib/libpmc/pmu-events/jsmn.c:316) >>> jsmn.o:(jsmn_strerror) ld: error: can't create dynamic relocation R_X86_64_64 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in jsmn.o >>> referenced by jsmn.c >>> jsmn.o:(.rodata+0x0) --Gordon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200425201859.GA20154>