Repository: rust
Issue: debuginfo function-call test fails on big endian
Labels: A-testsuite,A-debuginfo,T-compiler,C-bug

version 1.44.1 [s390x](https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=s390x&ver=1.44.1%2Bdfsg1-1&stamp=1595858692&raw=0) [ppc64](https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=ppc64&ver=1.44.1%2Bdfsg1-1&stamp=1595858223&raw=0) [powerpc](https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=powerpc&ver=1.44.1%2Bdfsg1-1&stamp=1595859982&raw=0)

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