Closed Bug 1786975 Opened 5 months ago Closed 5 months ago

[clang-15] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(obj_dat.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE

Categories

(Firefox Build System :: Toolchains, defect)

defect

Tracking

(firefox106 fixed)

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

cctools-port task fails when building with clang-15:

[task 2022-08-24T06:18:23.761Z] /builds/worker/fetches/clang/bin/clang++ --sysroot=/builds/worker/fetches/sysroot -O2 -fPIC -isystem libplist/src -isystem libplist/libcnary/include -isystem libplist/include -Wall -Wno-strict-aliasing -O2 -fPIC -isystem libplist/src -isystem libplist/libcnary/include -isystem libplist/include -Wall -Wno-sign-compare -Wno-deprecated-declarations -Wno-unused-function -o ldid libplist/libcnary/node.o libplist/libcnary/node_list.o libplist/src/base64.o libplist/src/time64.o libplist/src/bytearray.o libplist/src/ptrarray.o libplist/src/bplist.o libplist/src/plist.o libplist/src/xplist.o libplist/src/hashtable.o ldid.cpp.o lookup2.c.o -Wl,-Bstatic -lcrypto -Wl,-Bdynamic -ldl -pthread
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(obj_dat.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(obj_lib.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(sha1_one.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(sha256.o): relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(bn_lib.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(bn_print.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(bn_shift.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(buf_str.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(bio_lib.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(bss_mem.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(bss_file.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(b_print.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(stack.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(lhash.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(err.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(m_sha1.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.835Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(p_lib.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(c_allc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(c_alld.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(e_aes_cbc_hmac_sha1.o): relocation R_X86_64_32 against `.data' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(e_rc4_hmac_md5.o): relocation R_X86_64_32 against `.data' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(a_object.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(x_attrib.o): relocation R_X86_64_32 against symbol `X509_ATTRIBUTE_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(x_x509.o): relocation R_X86_64_32 against symbol `X509_CINF_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(x_x509a.o): relocation R_X86_64_32 against symbol `X509_CERT_AUX_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(tasn_new.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(tasn_fre.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(tasn_enc.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(tasn_dec.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(tasn_utl.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(tasn_typ.o): relocation R_X86_64_32 against symbol `ASN1_INTEGER_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(ameth_lib.o): relocation R_X86_64_32S against `.data' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(x_exten.o): relocation R_X86_64_32 against symbol `X509_EXTENSION_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(asn_mime.o): relocation R_X86_64_32 against `.text' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(asn1_lib.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(x509_cmp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(x509_obj.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(x509name.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(x_all.o): relocation R_X86_64_32 against symbol `X509_CINF_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(v3_genn.o): relocation R_X86_64_32 against symbol `GENERAL_NAME_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(v3_crld.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(v3_purp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(v3_akeya.o): relocation R_X86_64_32 against symbol `AUTHORITY_KEYID_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(v3_ncons.o): relocation R_X86_64_32 against symbol `NAME_CONSTRAINTS_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(v3_pcia.o): relocation R_X86_64_32 against symbol `PROXY_POLICY_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(pcy_cache.o): relocation R_X86_64_32 against symbol `policy_data_free' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(pcy_data.o): relocation R_X86_64_32 against symbol `POLICYQUALINFO_free' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(pcy_map.o): relocation R_X86_64_32 against symbol `POLICY_MAPPING_free' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(pk7_asn1.o): relocation R_X86_64_32 against symbol `PKCS7_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(pk7_lib.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(pk7_doit.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(pk7_attr.o): relocation R_X86_64_32 against symbol `X509_ALGORS_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(p12_asn.o): relocation R_X86_64_32 against symbol `PKCS12_it' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(p12_kiss.o): relocation R_X86_64_32 against symbol `PKCS12_SAFEBAG_free' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(p12_mutl.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(p12_utl.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(cryptlib.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
[task 2022-08-24T06:18:23.836Z] /builds/worker/fetches/binutils/bin/ld: /builds/worker/fetches/sysroot/usr/lib/x86_64-linux-gnu/libcrypto.a(mem.o): relocation R_X86_64_32S against `.text' can not be used when making a PIE object; recompile with -fPIE
(...)

clang 15 switched its default to enable PIE, but openssl in the
toolchain sysroot doesn't allow it.

Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/379cdc93d4f3
Disable PIE when building cctools and dmg tools. r=firefox-build-system-reviewers,andi
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.