Closed Bug 1840801 Opened 2 years ago Closed 2 years ago

Intermittent ld.lld: error: ../../../lib/ssl/ssl_ssl3/libssl3.so: section header table goes past the end of the file

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=420897331&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GgaVwQF1S16EzLDdzZ_cyQ/runs/0/artifacts/public/logs/live_backing.log


[task 2023-06-28T07:47:24.430Z] 07:47:24     INFO -  TEST-PASS | check_binary_compat | signmar
[task 2023-06-28T07:47:24.430Z] 07:47:24     INFO -  TEST-PASS | check_textrel | signmar
[task 2023-06-28T07:47:24.430Z] 07:47:24     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/modules/libmar/tool'
[task 2023-06-28T07:47:24.457Z] 07:47:24     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/security/nss/cmd/certutil/certutil_certutil'
[task 2023-06-28T07:47:24.457Z] 07:47:24     INFO -  security/nss/cmd/certutil/certutil
[task 2023-06-28T07:47:24.457Z] 07:47:24     INFO -  /builds/worker/fetches/clang/bin/clang --sysroot /builds/worker/fetches/sysroot-x86_64-linux-gnu -std=gnu99 -o ../../../../../dist/bin/certutil -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -fno-aligned-new -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -gdwarf-4 -Os -fno-omit-frame-pointer -funwind-tables -Werror  /builds/worker/workspace/obj-build/security/nss/cmd/certutil/certutil_certutil/certutil.list    -lpthread -fuse-ld=lld -Wl,-rpath-link,/builds/worker/fetches/sysroot-x86_64-linux-gnu/lib/x86_64-linux-gnu -Wl,-rpath-link,/builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/x86_64-linux-gnu -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 -fstack-protector-strong -Wl,-rpath-link,/builds/worker/workspace/obj-build/dist/bin -Wl,-rpath-link,/usr/local/lib   -pie ../../../../../config/external/nspr/pr/libnspr4.so ../../../../../config/external/nspr/libc/libplc4.so ../../../../../config/external/nspr/ds/libplds4.so ../../../lib/nss/nss_nss3/libnss3.so ../../../lib/util/util_nssutil3/libnssutil3.so ../../../lib/smime/smime_smime3/libsmime3.so ../../../lib/ssl/ssl_ssl3/libssl3.so -ldl  -lpthread -ldl -lc
[task 2023-06-28T07:47:24.457Z] 07:47:24     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/security/nss/cmd/certutil/certutil_certutil'
[task 2023-06-28T07:47:24.459Z] 07:47:24     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/security/nss/cmd/pk12util/pk12util_pk12util'
[task 2023-06-28T07:47:24.460Z] 07:47:24     INFO -  security/nss/cmd/pk12util/pk12util
[task 2023-06-28T07:47:24.462Z] 07:47:24     INFO -  /builds/worker/fetches/clang/bin/clang --sysroot /builds/worker/fetches/sysroot-x86_64-linux-gnu -std=gnu99 -o ../../../../../dist/bin/pk12util -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -fno-aligned-new -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -gdwarf-4 -Os -fno-omit-frame-pointer -funwind-tables -Werror  /builds/worker/workspace/obj-build/security/nss/cmd/pk12util/pk12util_pk12util/pk12util.list    -lpthread -fuse-ld=lld -Wl,-rpath-link,/builds/worker/fetches/sysroot-x86_64-linux-gnu/lib/x86_64-linux-gnu -Wl,-rpath-link,/builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/x86_64-linux-gnu -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 -fstack-protector-strong -Wl,-rpath-link,/builds/worker/workspace/obj-build/dist/bin -Wl,-rpath-link,/usr/local/lib   -pie ../../../../../config/external/nspr/pr/libnspr4.so ../../../../../config/external/nspr/libc/libplc4.so ../../../../../config/external/nspr/ds/libplds4.so ../../../lib/nss/nss_nss3/libnss3.so ../../../lib/util/util_nssutil3/libnssutil3.so ../../../lib/smime/smime_smime3/libsmime3.so ../../../lib/ssl/ssl_ssl3/libssl3.so -ldl  -lpthread -ldl -lc
[task 2023-06-28T07:47:24.463Z] 07:47:24    ERROR -  ld.lld: error: ../../../lib/ssl/ssl_ssl3/libssl3.so: section header table goes past the end of the file
[task 2023-06-28T07:47:24.463Z] 07:47:24    ERROR -  clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
[task 2023-06-28T07:47:24.464Z] 07:47:24    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:421: ../../../../../dist/bin/pk12util] Error 1
[task 2023-06-28T07:47:24.465Z] 07:47:24     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/security/nss/cmd/pk12util/pk12util_pk12util'
[task 2023-06-28T07:47:24.465Z] 07:47:24     INFO -  gmake[4]: Target 'target' not remade because of errors.
[task 2023-06-28T07:47:24.466Z] 07:47:24    ERROR -  gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: security/nss/cmd/pk12util/pk12util_pk12util/target] Error 2
[task 2023-06-28T07:47:24.506Z] 07:47:24     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/security/nss/lib/ssl/ssl_ssl3'
[task 2023-06-28T07:47:24.506Z] 07:47:24     INFO -  /builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/build/bin/python -m mozbuild.action.dumpsymbols /builds/worker/workspace/obj-build/security/nss/lib/ssl/ssl_ssl3/libssl3.so /builds/worker/workspace/obj-build/security/nss/lib/ssl/ssl_ssl3/libssl3.so_syms.track
[task 2023-06-28T07:47:24.506Z] 07:47:24     INFO -  Running: /builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/build/bin/python /builds/worker/checkouts/gecko/toolkit/crashreporter/tools/symbolstore.py -c --vcs-info --install-manifest=/builds/worker/workspace/obj-build/_build_manifests/install/dist_include,/builds/worker/workspace/obj-build/dist/include -s /builds/worker/checkouts/gecko /builds/worker/fetches/dump_syms/dump_syms /builds/worker/workspace/obj-build/dist/crashreporter-symbols /builds/worker/workspace/obj-build/security/nss/lib/ssl/ssl_ssl3/libssl3.so
[task 2023-06-28T07:47:24.506Z] 07:47:24     INFO -  Beginning work for file: /builds/worker/workspace/obj-build/security/nss/lib/ssl/ssl_ssl3/libssl3.so
[task 2023-06-28T07:47:24.506Z] 07:47:24     INFO -  Processing file: /builds/worker/workspace/obj-build/security/nss/lib/ssl/ssl_ssl3/libssl3.so
[task 2023-06-28T07:47:24.506Z] 07:47:24     INFO -  /builds/worker/fetches/dump_syms/dump_syms --inlines /builds/worker/workspace/obj-build/security/nss/lib/ssl/ssl_ssl3/libssl3.so
[task 2023-06-28T07:47:24.506Z] 07:47:24     INFO -  Finished processing /builds/worker/workspace/obj-build/security/nss/lib/ssl/ssl_ssl3/libssl3.so in 0.10s
[task 2023-06-28T07:47:24.506Z] 07:47:24     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/security/nss/lib/ssl/ssl_ssl3'
[task 2023-06-28T07:47:24.631Z] 07:47:24     INFO -  gmake[4]: Entering directory '/builds/worker/workspace/obj-build/security/manager/ssl/tests/unit/tlsserver/cmd'
[task 2023-06-28T07:47:24.631Z] 07:47:24     INFO -  /builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/build/bin/python -m mozbuild.action.check_binary --target SanctionsTestServer
[task 2023-06-28T07:47:24.631Z] 07:47:24     INFO -  TEST-PASS | check_binary_compat | SanctionsTestServer
[task 2023-06-28T07:47:24.631Z] 07:47:24     INFO -  TEST-PASS | check_textrel | SanctionsTestServer

The fact that it's intermittent on the same source tells me this is likely some issue deeper in the stack, like some docker filesystem problem, as they happen sometimes. Unless it happens more frequently than that one time, I don't think there's much we can do other than shrugging it off.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
See Also: → 1841280
Duplicate of this bug: 1841280
See Also: → 1848630
See Also: → 1852361
See Also: → 1855089
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.