Strange errors to build linux x64 opt and debug for TB on try-comm-central
Categories
(Thunderbird :: Build Config, defect)
Tracking
(Not tracked)
People
(Reporter: ishikawa, Unassigned)
Details
For the last couple of days, I noticed
linux x64 opt and x64 debug build on try-comm-central fails for a few submissions (mine included).
I have no idea why many others did not see the issue.
Anyway, here is the failing job logs including mine and others.
mine:
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=e54a5d5419c150a6b36bdd258234b8cb73dfd837
others:
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=1e49a0a7bc08d09ac68fa090ba53396934eec900
Please check, say, the failure log linux x64 debug.
All the failures point at a problem of creating librnp.so.
Quote from the second URL above.
[task 2021-03-02T16:43:57.102Z] 16:43:57 INFO - /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/clang++ --sysroot /builds/worker/fetches/sysroot -std=gnu++11 -Qunused-arguments -g -Os -fno-omit-frame-pointer -funwind-tables -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,librnp.so -o librnp.so /builds/worker/workspace/obj-build/comm/third_party/rnp/librnp_so.list -lpthread -fuse-ld=lld -Wl,-rpath-link,/builds/worker/fetches/sysroot/lib/x86_64-linux-gnu -Wl,-rpath-link,/builds/worker/fetches/sysroot/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 -fstack-clash-protection -nostdlib++ -Wl,-rpath-link,/builds/worker/workspace/obj-build/dist/bin -Wl,-rpath-link,/usr/local/lib -Wl,--version-script,librnp.so.symbols -ldl -l:libc++.a -l:libc++abi.a -Wl,--version-script,/builds/worker/checkouts/gecko/build/unix/stdc++compat/hide_std.ld
[task 2021-03-02T16:43:57.102Z] 16:43:57 INFO - ld.lld: error: unable to find library -l:libc++.a
[task 2021-03-02T16:43:57.102Z] 16:43:57 INFO - ld.lld: error: unable to find library -l:libc++abi.a
[task 2021-03-02T16:43:57.102Z] 16:43:57 INFO - clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
[task 2021-03-02T16:43:57.102Z] 16:43:57 INFO - /builds/worker/checkouts/gecko/config/rules.mk:543: recipe for target 'librnp.so' failed
Is it possible that some machines on the try-comm-central build farm may not have the most up-to-date toolchain?
Updated•4 years ago
|
Comment 1•4 years ago
|
||
You need to pull the latest comm-central changes and rebase.
Specifically, you need ff6b83994b9ae81cd3dd01cb780165fad13768c3 from bug 1694845.
Reporter | ||
Comment 2•4 years ago
|
||
(In reply to Rob Lemley [:rjl] from comment #1)
You need to pull the latest comm-central changes and rebase.
Specifically, you need ff6b83994b9ae81cd3dd01cb780165fad13768c3 from bug 1694845.
I see.
Thank you.
Will do.
Description
•