Skip to content

several tests fails with check-stage3-rpass-full and not with check-stage2-rpass-full #24609

Closed
@semarie

Description

@semarie

Doing testing at stage3 under openbsd, I have several failures in rpass-full that I don't have at stage2 (all tests pass at stage2).

In order to debug, I have test it under Linux, and I reproduce theses issues. All errors below come from Linux using make check-stage3-rpass-full (configure options are just --disable-docs and --disable-valgrind-rpass) .

failures:
    [run-pass] run-pass-fulldeps/derive-totalsum.rs
    [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-allow.rs
    [run-pass] run-pass-fulldeps/lint-plugin-cmdline-load.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/mbe_matching_test_macro.rs
    [run-pass] run-pass-fulldeps/plugin-args-1.rs
    [run-pass] run-pass-fulldeps/plugin-args-2.rs
    [run-pass] run-pass-fulldeps/plugin-args-3.rs
    [run-pass] run-pass-fulldeps/plugin-lib-ok-in-plugin.rs
    [run-pass] run-pass-fulldeps/plugin-plus-extern-crate.rs
    [run-pass] run-pass-fulldeps/roman-numerals-macro.rs
    [run-pass] run-pass-fulldeps/syntax-extension-with-dll-deps.rs

test result: FAILED. 14 passed; 16 failed; 1 ignored; 0 measured

The failures seems mainly related to plugins.
Errors messages are kind of:

  • error: macro undefined
  • error:derivemay only be applied to structs and enums

And there are some ICE too:

  • thread 'rustc' panicked at 'fold converted a module to not a module'
  • thread '<unnamed>' panicked at 'index out of bounds: the len is 60 but the index is 68'

The main difference between stage2 and stage3 is -C prefer-dynamic option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions