pkgsrc-Bugs archive

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

pkg/55442: mail/milter-regex PIE-faced



>Number:         55442
>Category:       pkg
>Synopsis:       mail/milter-regex PIE-faced
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 01 11:45:00 +0000 2020
>Originator:     Hauke Fath
>Release:        NetBSD 9.0_STABLE
>Organization:
Technische Universitaet Darmstadt
>Environment:
	
	
System: NetBSD Bounce 9.0_STABLE NetBSD 9.0_STABLE (DMZ_DOMU) #1: Tue May 5 13:38:54 CEST 2020 hf@Hochstuhl:/var/obj/netbsd-builds/9/amd64/sys/arch/amd64/compile/DMZ_DOMU amd64
Architecture: x86_64
Machine: amd64
>Description:
	

	Building mail/milter-regex on netbsd-9 results in linker
	errors:

[...]
--- milter-regex ---
#      link  milter-regex-1.7/milter-regex
gcc   -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib   -pie  -shared-libgcc  -Wl,-z,relro     -o milter-regex  milter-regex.o eval.o parse.o  -Wl,-rpath-link,/lib  -L=/lib -lmilter  -pthread     
ld: /var/obj/pkgsrc/mail/milter-regex/work/.buildlink/lib/libmilter.a(main.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
ld: /var/obj/pkgsrc/mail/milter-regex/work/.buildlink/lib/libmilter.a(listener.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
ld: /var/obj/pkgsrc/mail/milter-regex/work/.buildlink/lib/libmilter.a(smfi.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
ld: /var/obj/pkgsrc/mail/milter-regex/work/.buildlink/lib/libmilter.a(signal.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC
ld: /var/obj/pkgsrc/mail/milter-regex/work/.buildlink/lib/libmilter.a(sm_gethost.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
ld: /var/obj/pkgsrc/mail/milter-regex/work/.buildlink/lib/libmilter.a(errstring.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
ld: /var/obj/pkgsrc/mail/milter-regex/work/.buildlink/lib/libmilter.a(engine.o): relocation R_X86_64_32S against `.data' can not be used when making a PIE object; recompile with -fPIC
ld: /var/obj/pkgsrc/mail/milter-regex/work/.buildlink/lib/libmilter.a(comm.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
ld: final link failed: nonrepresentable section on output
*** [milter-regex] Error code 1

make: stopped in /var/obj/pkgsrc/mail/milter-regex/work/milter-regex-1.7
1 error



>How-To-Repeat:

	Build it.

	
>Fix:

	Yes, please.

	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index