pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ERROR: [...] missing RELRO



On Mon, 4 Oct 2021 at 14:59, nia <nia%netbsd.org@localhost> wrote:
>
> On Mon, Oct 04, 2021 at 09:37:52AM +0100, Chavdar Ivanov wrote:
> > Another one in need of MKPIE_SUPPORTED=no is graphics/gimp-jxr .
>
> Why? Do you have a log?
....
ld: /usr/pkgsrc/graphics/gimp-jxr/work/.buildlink/lib/libjpegxr.a(strenc.o):
in function `StrIOEncInit':
strenc.c:(.text+0xe40): warning: warning: tmpnam() possibly used
unsafely, use mkstemp() or mkdtemp()
ld: /usr/pkgsrc/graphics/gimp-jxr/work/.buildlink/lib/libjxrglue.a(JXRGlue.o):
relocation R_X86_64_32S against symbol `PKFormatConverter_Initialize'
can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/graphics/gimp-jxr/work/.buildlink/lib/libjxrglue.a(JXRGluePFC.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/graphics/gimp-jxr/work/.buildlink/lib/libjxrglue.a(JXRGlueJxr.o):
relocation R_X86_64_32 against `.rodata.str1.8' can not be used when
making a PIE object; recompile with -fPIE
.... (repeats ... )

I rebuilt graphics/jpeg just in case, got the same error. With
MKPIE_SUPPORTED=no it builds ok.




-- 
----


Home | Main Index | Thread Index | Old Index