Skip to content

debuginfo function-call test fails on big endian #74884

Open
@infinity0

Description

@infinity0

version 1.44.1 s390x ppc64 powerpc

I will be adding an ignore-endian-big feature as part of #74829, just wanted to confirm the failure is OK to ignore:

failures:

---- [debuginfo-gdb] debuginfo/function-call.rs stdout ----


NOTE: compiletest thinks it is using GDB with native rust support
executing "/<<PKGBUILDDIR>>/build/s390x-unknown-linux-gnu/stage2/bin/rustc" "/<<PKGBUILDDIR>>/src/test/debuginfo/function-call.rs" "-Zthreads=1" "--target=s390x-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" "/<<PKGBUILDDIR>>/build/s390x-unknown-linux-gnu/test/debuginfo/function-call.gdb/a" "-Crpath" "-Zunstable-options" "-Lnative=/<<PKGBUILDDIR>>/build/s390x-unknown-linux-gnu/native/rust-test-helpers" "-Clinker=s390x-linux-gnu-gcc" "-g" "-L" "/<<PKGBUILDDIR>>/build/s390x-unknown-linux-gnu/test/debuginfo/function-call.gdb/auxiliary"
------stdout------------------------------

------stderr------------------------------

------------------------------------------
NOTE: compiletest thinks it is using GDB version 9002000
executing "/usr/bin/gdb" "-quiet" "-batch" "-nx" "-command=/<<PKGBUILDDIR>>/build/s390x-unknown-linux-gnu/test/debuginfo/function-call.gdb/function-call.debugger.script"
------stdout------------------------------
GNU gdb (Debian 9.2-1) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "s390x-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0xb90: file /<<PKGBUILDDIR>>/src/test/debuginfo/function-call.rs, line 35.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/s390x-linux-gnu/libthread_db.so.1".

Breakpoint 1, function_call::main () at /<<PKGBUILDDIR>>/src/test/debuginfo/function-call.rs:35
35	    zzz(); // #break

------stderr------------------------------
/<<PKGBUILDDIR>>/build/s390x-unknown-linux-gnu/test/debuginfo/function-call.gdb/function-call.debugger.script:10: Error in sourced command file:
Value out of range.

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

error: gdb failed to execute
status: exit code: 1
command: "/usr/bin/gdb" "-quiet" "-batch" "-nx" "-command=/<<PKGBUILDDIR>>/build/s390x-unknown-linux-gnu/test/debuginfo/function-call.gdb/function-call.debugger.script"
stdout:
------------------------------------------
GNU gdb (Debian 9.2-1) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "s390x-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Breakpoint 1 at 0xb90: file /<<PKGBUILDDIR>>/src/test/debuginfo/function-call.rs, line 35.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/s390x-linux-gnu/libthread_db.so.1".

Breakpoint 1, function_call::main () at /<<PKGBUILDDIR>>/src/test/debuginfo/function-call.rs:35
35	    zzz(); // #break

------------------------------------------
stderr:
------------------------------------------
/<<PKGBUILDDIR>>/build/s390x-unknown-linux-gnu/test/debuginfo/function-call.gdb/function-call.debugger.script:10: Error in sourced command file:
Value out of range.

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



failures:
    [debuginfo-gdb] debuginfo/function-call.rs

CC @fukatani the original author of the test in #53497

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions