Open
Bug 1482140
Opened 6 years ago
Updated 2 years ago
CFI icall: undefined symbol: __ubsan_handle_cfi_check_fail
Categories
(Core :: Security, defect, P3)
Core
Security
Tracking
()
NEW
People
(Reporter: tjr, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Bug 1482140 Do not pass C/C++ compilers and flags to cargo if we are doing a CFI build r=Alex_Gaynor
(deleted),
text/x-phabricator-request
|
Details |
When building GeckoDriver, after Bug 1409276, we hit what I believe is a clang bug. (Example: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7d604317554a7cf5f38fc9b2e8712f815a398cc7&filter-searchStr=lto , log below)
Temporarily I'm making the change in Bug 1409276 not apply to CFI builds, but like I said I think this is a clang bug to minimize and send upstream.
[task 2018-08-07T22:43:28.178Z] 22:43:28 INFO - Running `/builds/worker/workspace/build/src/rustc/bin/rustc --crate-name geckodriver testing/geckodriver/src/main.rs --crate-type bin --emit=dep-info,link -C opt-level=1 -C panic=abort -C debuginfo=2 -C debug-assertions=on -C metadata=d245d75a70abc9b1 -C extra-filename=-d245d75a70abc9b1 --out-dir /builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C linker=/builds/worker/workspace/build/src/build/cargo-linker -L dependency=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps -L dependency=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./debug/deps --extern chrono=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/libchrono-11299bc7e001b54c.rlib --extern clap=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/libclap-083460eda66919cb.rlib --extern hyper=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/libhyper-2f44d8635f5a6083.rlib --extern lazy_static=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/liblazy_static-f4bf89920bd660f6.rlib --extern log=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/liblog-f53095ddef66dbe4.rlib --extern mozprofile=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/libmozprofile-9603ffc09a7b9564.rlib --extern mozrunner=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/libmozrunner-862193b490cfda47.rlib --extern mozversion=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/libmozversion-c6f89af38a501d43.rlib --extern regex=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/libregex-1e72885a2b615634.rlib --extern rustc_serialize=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/librustc_serialize-ed3e49d2d77c87bf.rlib --extern uuid=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/libuuid-40e14aed9e35c5c5.rlib --extern webdriver=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/libwebdriver-8e69f2c12e9df6eb.rlib --extern zip=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/libzip-c8c47a646596ea58.rlib -C opt-level=2 -C debuginfo=2 -L native=/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/build/bzip2-sys-85117020a2f547d7/out`
[task 2018-08-07T22:43:28.178Z] 22:43:28 INFO - error: linking with `/builds/worker/workspace/build/src/build/cargo-linker` failed: exit code: 1
[task 2018-08-07T22:43:28.178Z] 22:43:28 INFO - |
[task 2018-08-07T22:43:28.179Z] 22:43:28 INFO - = note: "/builds/worker/workspace/build/src/build/cargo-linker" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/builds/worker/workspace/build/src/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver0-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver1-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver10-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver11-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver12-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver13-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver14-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver15-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver2-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver3-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver4-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver5-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver6-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver7-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver8-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.geckodriver9-3606ef60b864647ac8c0accb20de0eeb.rs.rcgu.o" "-o" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps/geckodriver-d245d75a70abc9b1.crate.allocator.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/deps" "-L" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./debug/deps" "-L" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/./x86_64-unknown-linux-gnu/debug/build/bzip2-sys-85117020a2f547d7/out" "-L" "/builds/worker/workspace/build/src/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libwebdriver-8e69f2c12e9df6eb.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libunicode_segmentation-b080cb619cac371f.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libcookie-deaf62ba450af0d7.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libzip-c8c47a646596ea58.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libpodio-1b583bbef56e707b.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libmsdos_time-26731d0c07408acc.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libflate2-682798ae844fca85.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libminiz_oxide_c_api-3862986dcd3d7828.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libminiz_oxide-751e802f2ebbdd69.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libadler32-6e6e2e90b901ca74.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libcrc-528a2bd0cafa72bb.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libbzip2-5f894d276c19e033.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libbzip2_sys-fd2659f2fbb83913.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libuuid-40e14aed9e35c5c5.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/librustc_serialize-ed3e49d2d77c87bf.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libregex-1e72885a2b615634.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libregex_syntax-68306f9f657a8b48.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libucd_util-ed21a3e98fde9480.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libmemchr-7193adaefc65476c.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libmozversion-c6f89af38a501d43.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libsemver-02e4192d0d8b03ff.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libsemver_parser-95e86879dff3c118.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libregex-40bb56f6af08843f.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libutf8_ranges-9207a9a0ec9b230e.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libregex_syntax-ff832ef0e7a6fbf7.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libthread_local-425cb3ba5a34b8ad.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libunreachable-76b0dafe2e22ab6f.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libvoid-b4044980cb955a50.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libaho_corasick-f1190516be6f4244.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libmemchr-7276b8f2b7ec56fe.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libini-43c51711f0e45336.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libmozrunner-862193b490cfda47.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libmozprofile-9603ffc09a7b9564.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libtempdir-0c8992b6b521df53.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/librand-3d35e85d388ff723.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libhyper-2f44d8635f5a6083.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libmime-eed0652499a87ab7.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/liblog-3f152037ad89d4b8.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/liblog-f53095ddef66dbe4.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libcfg_if-b3b6ca1b82923cbd.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/liblanguage_tags-4d2ceba5b136f4a4.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libtypeable-bbf5fb6ccf072319.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libtraitobject-66d34da5f70a7b5f.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-4ff18f2580c8c8f8.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libhttparse-ff74d5716448b70c.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libunicase-ab123b6517c222e8.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/liburl-ba2ec98d509b5533.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libpercent_encoding-93f91906a3446aa8.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libidna-5c9c1496082c42af.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libunicode_normalization-27ee3768b082e5ca.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libunicode_bidi-116d65c6888afd64.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libmatches-8de35abce4352c82.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libbase64-4a5d7a5a7dc48352.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libsafemem-6d658d37ead86500.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libbyteorder-4de2f1a3fe6366e3.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/liblazy_static-f4bf89920bd660f6.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libclap-083460eda66919cb.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libtextwrap-eaabfe7a03ef3a9f.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libunicode_width-887ec8fed0b8bca3.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libterm_size-fe5dadb7ad85d685.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libstrsim-32f1fd5138f1e4e6.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libbitflags-227c729aa0d19cb0.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libchrono-11299bc7e001b54c.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libnum-ae797eb120452836.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libnum_iter-a5c936c84ea900a6.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libnum_integer-fe924f3cc95842e8.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libnum_traits-47e2ca9a63ce5806.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libnum_traits-381c9f2a6e77d8e1.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/libtime-0272b701d0cb99f3.rlib" "/builds/worker/workspace/build/src/obj-firefox/testing/geckodriver/x86_64-unknown-linux-gnu/debug/deps/liblibc-0215fc51894654b3.rlib" "-Wl,--start-group" "/builds/worker/workspace/build/src/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f10a88a52e17534b.rlib" "/builds/worker/workspace/build/src/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_abort-a9bd9f58d9129fb2.rlib" "/builds/worker/workspace/build/src/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-7458123b9041d5e2.rlib" "/builds/worker/workspace/build/src/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-fd656445e0746479.rlib" "/builds/worker/workspace/build/src/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-70379313a80ac95f.rlib" "/builds/worker/workspace/build/src/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2321865404969381.rlib" "/builds/worker/workspace/build/src/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-002008954dbefc2a.rlib" "/builds/worker/workspace/build/src/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-17a61c7bbc89d454.rlib" "-Wl,--end-group" "/builds/worker/workspace/build/src/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-2afde183802dab9c.rlib" "-Wl,-Bdynamic" "-l" "util" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" "-l" "util"
[task 2018-08-07T22:43:28.180Z] 22:43:28 INFO - = note: /builds/worker/workspace/build/src/clang/bin/ld.lld: error: undefined symbol: __ubsan_handle_cfi_check_fail
[task 2018-08-07T22:43:28.180Z] 22:43:28 INFO - >>> referenced by bzlib.c:508 (bzip2-1.0.6/bzlib.c:508)
[task 2018-08-07T22:43:28.181Z] 22:43:28 INFO - >>> lto.tmp:(BZ2_bzDecompressInit)
[task 2018-08-07T22:43:28.181Z] 22:43:28 INFO - /builds/worker/workspace/build/src/clang/bin/ld.lld: error: undefined symbol: __ubsan_handle_cfi_check_fail
[task 2018-08-07T22:43:28.182Z] 22:43:28 INFO - >>> referenced by bzlib.c:874 (bzip2-1.0.6/bzlib.c:874)
[task 2018-08-07T22:43:28.182Z] 22:43:28 INFO - >>> lto.tmp:(BZ2_bzDecompressEnd)
[task 2018-08-07T22:43:28.182Z] 22:43:28 INFO - /builds/worker/workspace/build/src/clang/bin/ld.lld: error: undefined symbol: __ubsan_handle_cfi_check_fail
[task 2018-08-07T22:43:28.183Z] 22:43:28 INFO - >>> referenced by bzlib.c:870 (bzip2-1.0.6/bzlib.c:870)
[task 2018-08-07T22:43:28.183Z] 22:43:28 INFO - >>> lto.tmp:(BZ2_bzDecompressEnd)
[task 2018-08-07T22:43:28.183Z] 22:43:28 INFO - /builds/worker/workspace/build/src/clang/bin/ld.lld: error: undefined symbol: __ubsan_handle_cfi_check_fail
[task 2018-08-07T22:43:28.184Z] 22:43:28 INFO - >>> referenced by bzlib.c:871 (bzip2-1.0.6/bzlib.c:871)
[task 2018-08-07T22:43:28.184Z] 22:43:28 INFO - >>> lto.tmp:(BZ2_bzDecompressEnd)
[task 2018-08-07T22:43:28.184Z] 22:43:28 INFO - /builds/worker/workspace/build/src/clang/bin/ld.lld: error: undefined symbol: __ubsan_handle_cfi_check_fail
[task 2018-08-07T22:43:28.185Z] 22:43:28 INFO - >>> referenced by bzlib.c:872 (bzip2-1.0.6/bzlib.c:872)
[task 2018-08-07T22:43:28.185Z] 22:43:28 INFO - >>> lto.tmp:(BZ2_bzDecompressEnd)
[task 2018-08-07T22:43:28.185Z] 22:43:28 INFO - /builds/worker/workspace/build/src/clang/bin/ld.lld: error: undefined symbol: __ubsan_handle_cfi_check_fail
[task 2018-08-07T22:43:28.185Z] 22:43:28 INFO - >>> referenced by decompress.c:212 (bzip2-1.0.6/decompress.c:212)
[task 2018-08-07T22:43:28.185Z] 22:43:28 INFO - >>> lto.tmp:(BZ2_decompress)
[task 2018-08-07T22:43:28.186Z] 22:43:28 INFO - /builds/worker/workspace/build/src/clang/bin/ld.lld: error: undefined symbol: __ubsan_handle_cfi_check_fail
[task 2018-08-07T22:43:28.186Z] 22:43:28 INFO - >>> referenced by decompress.c:213 (bzip2-1.0.6/decompress.c:213)
[task 2018-08-07T22:43:28.187Z] 22:43:28 INFO - >>> lto.tmp:(BZ2_decompress)
[task 2018-08-07T22:43:28.187Z] 22:43:28 INFO - /builds/worker/workspace/build/src/clang/bin/ld.lld: error: undefined symbol: __ubsan_handle_cfi_check_fail
[task 2018-08-07T22:43:28.187Z] 22:43:28 INFO - >>> referenced by decompress.c:218 (bzip2-1.0.6/decompress.c:218)
[task 2018-08-07T22:43:28.188Z] 22:43:28 INFO - >>> lto.tmp:(BZ2_decompress)
[task 2018-08-07T22:43:28.188Z] 22:43:28 INFO - clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 1•6 years ago
|
||
Please note that bug 1409276 is not about cross-compiling geckodriver. This is actually bug 1417646. So I wonder if this is just a dupe.
Flags: needinfo?(ted)
Reporter | ||
Comment 2•6 years ago
|
||
(because the LTO build is currently a CFI build for my development purposes)
Reporter | ||
Comment 3•6 years ago
|
||
Upstream is https://bugs.llvm.org/show_bug.cgi?id=38507
See Also: → https://bugs.llvm.org/show_bug.cgi?id=38507
Comment 4•6 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #1)
> Please note that bug 1409276 is not about cross-compiling geckodriver. This
> is actually bug 1417646. So I wonder if this is just a dupe.
I don't see why it would be? This isn't a cross-compile, it's just enabling CFI on the existing clang LTO build.
Flags: needinfo?(ted)
Reporter | ||
Updated•5 years ago
|
Assignee: tom → nobody
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
Comment 5•2 years ago
|
||
The following patch is waiting for review from an inactive reviewer:
ID | Title | Author | Reviewer Status |
---|---|---|---|
D3040 | Bug 1482140 Do not pass C/C++ compilers and flags to cargo if we are doing a CFI build r=Alex_Gaynor | tjr | Alex_Gaynor: Inactive |
:tjr, could you please find another reviewer or abandon the patch if it is no longer relevant?
For more information, please visit auto_nag documentation.
Flags: needinfo?(tom)
Reporter | ||
Updated•2 years ago
|
Flags: needinfo?(tom)
You need to log in
before you can comment on or make changes to this bug.
Description
•