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
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to