Skip to content

"broken object: getLocalSymbols returns a non-local symbol" with lld on the coercions rustc benchmark #921

Closed
@bjorn3

Description

@bjorn3
[2020-03-13T11:37:29Z INFO  collector::execute] Running coercions: Check + [Clean, BaseIncr, CleanIncr, PatchedIncrs]
[2020-03-13T11:37:30Z INFO  collector::execute] Running coercions: Debug + [Clean, BaseIncr, CleanIncr, PatchedIncrs]
[2020-03-13T11:37:32Z INFO  collector] failed to benchmark coercions, recorded: expected success, got exit code: 101
    
    stderr=   Compiling issue-32278-big-array-of-strings v0.1.0 (/tmp/.tmpz8ssPy)
    error: linking with `cc` failed: exit code: 1
      |
      = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/.tmpz8ssPy/target/x86_64-unknown-linux-gnu/debug/deps/issue_32278_big_array_of_strings-c112cc86b290bb6a.issue_32278_big_array_of_strings.evyboufd-cgu.0.rcgu.o" "/tmp/.tmpz8ssPy/target/x86_64-unknown-linux-gnu/debug/deps/issue_32278_big_array_of_strings-c112cc86b290bb6a.issue_32278_big_array_of_strings.evyboufd-cgu.1.rcgu.o" "/tmp/.tmpz8ssPy/target/x86_64-unknown-linux-gnu/debug/deps/issue_32278_big_array_of_strings-c112cc86b290bb6a.issue_32278_big_array_of_strings.evyboufd-cgu.2.rcgu.o" "/tmp/.tmpz8ssPy/target/x86_64-unknown-linux-gnu/debug/deps/issue_32278_big_array_of_strings-c112cc86b290bb6a.issue_32278_big_array_of_strings.evyboufd-cgu.3.rcgu.o" "/tmp/.tmpz8ssPy/target/x86_64-unknown-linux-gnu/debug/deps/issue_32278_big_array_of_strings-c112cc86b290bb6a.issue_32278_big_array_of_strings.evyboufd-cgu.4.rcgu.o" "-o" "/tmp/.tmpz8ssPy/target/x86_64-unknown-linux-gnu/debug/deps/issue_32278_big_array_of_strings-c112cc86b290bb6a" "/tmp/.tmpz8ssPy/target/x86_64-unknown-linux-gnu/debug/deps/issue_32278_big_array_of_strings-c112cc86b290bb6a.allocator_shim.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/tmp/.tmpz8ssPy/target/x86_64-unknown-linux-gnu/debug/deps" "-L" "/tmp/.tmpz8ssPy/target/debug/deps" "-L" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd.rlib" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_abort-f176741c3b119f77.rlib" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f96ab670551f5ab9.rlib" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7c6ed21ed8892924.rlib" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4ae89ec472b00236.rlib" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-8b98ed962f0922f6.rlib" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e2d3a937d0a9a4a2.rlib" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5c15c7285b080094.rlib" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-77c6a82b503b417a.rlib" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-75e863808613290e.rlib" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-2552fc46c67e8646.rlib" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-ef99ff64ff35213f.rlib" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e43d7874a4fb115.rlib" "-Wl,--end-group" "/home/bjorn/Documenten/cg_clif/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-78e99243d06d61d8.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" "-fuse-ld=lld"
      = note: ld.lld: error: /tmp/.tmpz8ssPy/target/x86_64-unknown-linux-gnu/debug/deps/issue_32278_big_array_of_strings-c112cc86b290bb6a.issue_32278_big_array_of_strings.evyboufd-cgu.0.rcgu.o: broken object: getLocalSymbols returns a non-local symbol
              collect2: error: ld returned 1 exit status
              
    
    error: aborting due to previous error
    
    error: could not compile `issue-32278-big-array-of-strings`.
    
    To learn more, run the command again with --verbose.
    
    
     stdout=

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-linuxOperating system: Linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions