pkgsrc-Bugs archive

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

pkg/56423: latest cmake fails to link



>Number:         56423
>Category:       pkg
>Synopsis:       latest make fails to link (PIE related)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 29 16:35:00 +0000 2021
>Originator:     bch
>Release:        NetBSD 9.99.89
>Organization:
	method logic digital
>Environment:
System: NetBSD katy 9.99.89 NetBSD 9.99.89 (GENERIC) #200: Tue Sep 28 11:48:03 PDT 2021 root@katy:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

# cd /usr/pkgsrc/devel/cmake
# make

[..]
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(rhash.o): relocation R_X86_64_32 against `.rodata.rhash_file.str1.1' can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(hex.o): relocation R_X86_64_32S against `.LC0' can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(plug_openssl.o): relocation R_X86_64_32 against symbol `rhash_openssl_hash_info' can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(crc32.o): relocation R_X86_64_32 against `.text.calculate_crc32c_sse42' can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(sha256.o): relocation R_X86_64_32 against `.rodata.rhash_k256' can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(sha512.o): relocation R_X86_64_32 against `.rodata.rhash_k512' can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(sha3.o): relocation R_X86_64_32S against `.rodata.keccak_round_constants' can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(gost12.o): relocation R_X86_64_32S against `.rodata.TR' can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(gost94.o): relocation R_X86_64_32 against symbol `rhash_gost94_sbox_cryptpro' can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(snefru.o): relocation R_X86_64_32 against `.rodata.rhash_snefru_sbox' can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(tiger.o): relocation R_X86_64_32S against symbol `rhash_tiger_sboxes' can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(torrent.o): relocation R_X86_64_32 against `.rodata.bt_final.str1.1' can not be used when making a PIE object; recompile with -fPIE
ld: /usr/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(whirlpool.o): relocation R_X86_64_32S against `.rodata.rc.0' can not be used when making a PIE object; recompile with -fPIE
make: *** [Makefile:2: cmake] Error 1
[...]

>How-To-Repeat:
	# cd /usr/pkgsrc/devel/cmake
        # make
>Fix:


Home | Main Index | Thread Index | Old Index