Skip to content

Adding new diagnostic descriptions causes linking issues in run-pass-fulldeps tests #17689

Closed
@ghost

Description

Landing #17634 was blocked by linking failures in run-pass-fulldeps tests, which were caused by the newly added diagnostic description.

---- [run-pass] run-pass-fulldeps/syntax-extension-with-dll-deps.rs stdout ----

    error: compilation failed!
    status: signal: 5
    command: x86_64-apple-darwin/stage2/bin/rustc /Users/rustbuild/src/rust-buildbot/slave/auto-mac-64-opt/build/src/test/run-pass-fulldeps/syntax-extension-with-dll-deps.rs -L x86_64-apple-darwin/test/run-pass-fulldeps --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/run-pass-fulldeps/syntax-extension-with-dll-deps.stage2-x86_64-apple-darwinlibaux -C prefer-dynamic -o x86_64-apple-darwin/test/run-pass-fulldeps/syntax-extension-with-dll-deps.stage2-x86_64-apple-darwin --cfg rtopt --cfg debug -O -L x86_64-apple-darwin/rt
    stdout:
    ------------------------------------------

    ------------------------------------------
    stderr:
    ------------------------------------------
    dyld: lazy symbol binding failed: Symbol not found: __ZN6plugin8registry8Registry14register_macro20h30f1534200674012pkBE
      Referenced from: x86_64-apple-darwin/test/run-pass-fulldeps/syntax-extension-with-dll-deps.stage2-x86_64-apple-darwinlibaux/libsyntax-extension-with-dll-deps-2.dylib
      Expected in: x86_64-apple-darwin/stage2/lib/librustc-4e7c5e5c.dylib

    dyld: Symbol not found: __ZN6plugin8registry8Registry14register_macro20h30f1534200674012pkBE
      Referenced from: x86_64-apple-darwin/test/run-pass-fulldeps/syntax-extension-with-dll-deps.stage2-x86_64-apple-darwinlibaux/libsyntax-extension-with-dll-deps-2.dylib
      Expected in: x86_64-apple-darwin/stage2/lib/librustc-4e7c5e5c.dylib


    ------------------------------------------

    task '[run-pass] run-pass-fulldeps/syntax-extension-with-dll-deps.rs' failed at 'explicit failure', /Users/rustbuild/src/rust-buildbot/slave/auto-mac-64-opt/build/src/compiletest/runtest.rs:1431



failures:
    [run-pass] run-pass-fulldeps/issue_16723_multiple_items_syntax_ext.rs
    [run-pass] run-pass-fulldeps/lint-group-plugin.rs
    [run-pass] run-pass-fulldeps/lint-plugin-cmdline.rs
    [run-pass] run-pass-fulldeps/lint-plugin.rs
    [run-pass] run-pass-fulldeps/macro-crate-does-hygiene-work.rs
    [run-pass] run-pass-fulldeps/macro-crate.rs
    [run-pass] run-pass-fulldeps/phase-syntax-link-does-resolve.rs
    [run-pass] run-pass-fulldeps/syntax-extension-fourcc.rs
    [run-pass] run-pass-fulldeps/syntax-extension-hexfloat.rs
    [run-pass] run-pass-fulldeps/syntax-extension-with-dll-deps.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions