public inbox for gcc-rust@gcc.gnu.org
 help / color / mirror / Atom feed
* Test results for gccrs on Debian unstable ia64
@ 2021-06-02 11:27 John Paul Adrian Glaubitz
  2021-06-02 12:41 ` Marc
  0 siblings, 1 reply; 10+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-06-02 11:27 UTC (permalink / raw)
  To: gcc-rust

Hi!

I have started to test gccrs on various targets supported by Debian to see if
there are any portability issues with the code. The first target I have tested
is Debian unstable ia64.

I tested revision fd9e53249c6c269e68f9aca71b3d17b3ecee8e8a.

The code builds without any obvious issues and I was able to run the testsuite
with the following results:

                === rust tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/glaubitz/gccrs/gcc/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /home/glaubitz/gccrs/gcc/testsuite/rust.test/compile/compile.exp ...
Running /home/glaubitz/gccrs/gcc/testsuite/rust.test/execute/execute.exp ...
FAIL: rust.test/execute/block_expr1.rs   -O0  execution test
FAIL: rust.test/execute/block_expr1.rs   -O1  execution test
FAIL: rust.test/execute/block_expr1.rs   -O2  execution test
FAIL: rust.test/execute/block_expr1.rs   -O3 -g  execution test
FAIL: rust.test/execute/block_expr1.rs   -Os  execution test
FAIL: rust.test/execute/block_expr1.rs   -O2 -flto -fno-use-linker-plugin -flto-partition=none  execution test
FAIL: rust.test/execute/block_expr1.rs   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  execution test
FAIL: rust.test/execute/empty_main.rs   -O0  execution test
FAIL: rust.test/execute/empty_main.rs   -O1  execution test
FAIL: rust.test/execute/empty_main.rs   -O2  execution test
FAIL: rust.test/execute/empty_main.rs   -O3 -g  execution test
FAIL: rust.test/execute/empty_main.rs   -Os  execution test
FAIL: rust.test/execute/empty_main.rs   -O2 -flto -fno-use-linker-plugin -flto-partition=none  execution test
FAIL: rust.test/execute/empty_main.rs   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  execution test
FAIL: rust.test/execute/func1.rs   -O0  execution test
FAIL: rust.test/execute/func1.rs   -O1  execution test
FAIL: rust.test/execute/func1.rs   -O2  execution test
FAIL: rust.test/execute/func1.rs   -O3 -g  execution test
FAIL: rust.test/execute/func1.rs   -Os  execution test
FAIL: rust.test/execute/func1.rs   -O2 -flto -fno-use-linker-plugin -flto-partition=none  execution test
FAIL: rust.test/execute/func1.rs   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  execution test
Running /home/glaubitz/gccrs/gcc/testsuite/rust.test/unsupported/unsupported.exp ...
Running /home/glaubitz/gccrs/gcc/testsuite/rust.test/xfail_compile/xfail_compile.exp ...

                === rust Summary ===

# of expected passes            2347
# of unexpected failures        21
# of expected failures          26
make[2]: Leaving directory '/home/glaubitz/gccrs/build/gcc'
make[1]: Leaving directory '/home/glaubitz/gccrs/build/gcc'

I will test on more targets throughout the next days.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Test results for gccrs on Debian unstable ia64
  2021-06-02 11:27 Test results for gccrs on Debian unstable ia64 John Paul Adrian Glaubitz
@ 2021-06-02 12:41 ` Marc
  2021-06-02 12:47   ` John Paul Adrian Glaubitz
  0 siblings, 1 reply; 10+ messages in thread
From: Marc @ 2021-06-02 12:41 UTC (permalink / raw)
  To: John Paul Adrian Glaubitz; +Cc: gcc-rust

John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> writes:

> Hi!

Hi!

> I have started to test gccrs on various targets supported by Debian to see if
> there are any portability issues with the code. The first target I have tested
> is Debian unstable ia64.

Thanks ! 

> # of expected passes            2347
> # of unexpected failures        21
> # of expected failures          26

Would it be possible to have the corresponding .log file ? Looks like
nearly all execution tests are KO (3 out of 4...).

Marc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Test results for gccrs on Debian unstable ia64
  2021-06-02 12:41 ` Marc
@ 2021-06-02 12:47   ` John Paul Adrian Glaubitz
  2021-06-02 13:05     ` Marc
  0 siblings, 1 reply; 10+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-06-02 12:47 UTC (permalink / raw)
  To: Marc; +Cc: gcc-rust

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

Hi Marc!

On 6/2/21 2:41 PM, Marc wrote:
>> # of expected passes            2347
>> # of unexpected failures        21
>> # of expected failures          26
> 
> Would it be possible to have the corresponding .log file ? Looks like
> nearly all execution tests are KO (3 out of 4...).

Sure, just found the log file. Didn't know that there was one ;).

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

[-- Attachment #2: rust-ia64.log.gz --]
[-- Type: application/gzip, Size: 55982 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Test results for gccrs on Debian unstable ia64
  2021-06-02 12:47   ` John Paul Adrian Glaubitz
@ 2021-06-02 13:05     ` Marc
  2021-06-02 13:08       ` John Paul Adrian Glaubitz
  0 siblings, 1 reply; 10+ messages in thread
From: Marc @ 2021-06-02 13:05 UTC (permalink / raw)
  To: John Paul Adrian Glaubitz; +Cc: gcc-rust

John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> writes:

> Hi Marc!
>
> On 6/2/21 2:41 PM, Marc wrote:
>>> # of expected passes            2347
>>> # of unexpected failures        21
>>> # of expected failures          26
>> 
>> Would it be possible to have the corresponding .log file ? Looks like
>> nearly all execution tests are KO (3 out of 4...).
>
> Sure, just found the log file. Didn't know that there was one ;).

Thanks! Looks like something is missing :

./block_expr1.exe: error while loading shared libraries: libunwind.so.7: cannot open shared object file: No such file or directory

Is libunwind installed ? Not sure why your exe needs it, maybe that's a
particularity of ia64?

Marc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Test results for gccrs on Debian unstable ia64
  2021-06-02 13:05     ` Marc
@ 2021-06-02 13:08       ` John Paul Adrian Glaubitz
  2021-06-02 16:14         ` John Paul Adrian Glaubitz
  0 siblings, 1 reply; 10+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-06-02 13:08 UTC (permalink / raw)
  To: Marc; +Cc: gcc-rust

Hi Marc!

On 6/2/21 3:05 PM, Marc wrote:
>> Sure, just found the log file. Didn't know that there was one ;).
> 
> Thanks! Looks like something is missing :
> 
> ./block_expr1.exe: error while loading shared libraries: libunwind.so.7: cannot open shared object file: No such file or directory

Ah, yes, libunwind ;-).

> Is libunwind installed ? Not sure why your exe needs it, maybe that's a
> particularity of ia64?

Yes, gcc explicitly needs libunwind on ia64 unless it's configured to use
the internal version. I might be able to fix that myself.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Test results for gccrs on Debian unstable ia64
  2021-06-02 13:08       ` John Paul Adrian Glaubitz
@ 2021-06-02 16:14         ` John Paul Adrian Glaubitz
  2021-06-02 16:58           ` Marc
  0 siblings, 1 reply; 10+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-06-02 16:14 UTC (permalink / raw)
  To: Marc; +Cc: gcc-rust

Hello!

On 6/2/21 3:08 PM, John Paul Adrian Glaubitz wrote:
>> Is libunwind installed ? Not sure why your exe needs it, maybe that's a
>> particularity of ia64?
> 
> Yes, gcc explicitly needs libunwind on ia64 unless it's configured to use
> the internal version. I might be able to fix that myself.

Addendum: Building with "--with-system-libunwind" fixes the problem for me (see below).

Adrian

                === rust tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/glaubitz/gccrs/gcc/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /home/glaubitz/gccrs/gcc/testsuite/rust.test/compile/compile.exp ...
Running /home/glaubitz/gccrs/gcc/testsuite/rust.test/execute/execute.exp ...
Running /home/glaubitz/gccrs/gcc/testsuite/rust.test/unsupported/unsupported.exp ...
Running /home/glaubitz/gccrs/gcc/testsuite/rust.test/xfail_compile/xfail_compile.exp ...

                === rust Summary ===

# of expected passes            2368
# of expected failures          26
make[2]: Leaving directory '/home/glaubitz/gccrs/build/gcc'
make[1]: Leaving directory '/home/glaubitz/gccrs/build/gcc'

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Test results for gccrs on Debian unstable ia64
  2021-06-02 16:14         ` John Paul Adrian Glaubitz
@ 2021-06-02 16:58           ` Marc
  2021-06-02 17:00             ` John Paul Adrian Glaubitz
  0 siblings, 1 reply; 10+ messages in thread
From: Marc @ 2021-06-02 16:58 UTC (permalink / raw)
  To: John Paul Adrian Glaubitz; +Cc: gcc-rust

John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> writes:

> Hello!
>
> On 6/2/21 3:08 PM, John Paul Adrian Glaubitz wrote:
>>> Is libunwind installed ? Not sure why your exe needs it, maybe that's a
>>> particularity of ia64?
>> 
>> Yes, gcc explicitly needs libunwind on ia64 unless it's configured to use
>> the internal version. I might be able to fix that myself.
>
> Addendum: Building with "--with-system-libunwind" fixes the problem for me (see below).

Hi!

Thanks for testing this! IIUC, this is an issue on our side, so I'll
open an issue.

Marc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Test results for gccrs on Debian unstable ia64
  2021-06-02 16:58           ` Marc
@ 2021-06-02 17:00             ` John Paul Adrian Glaubitz
  2021-06-02 17:02               ` Marc
  0 siblings, 1 reply; 10+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-06-02 17:00 UTC (permalink / raw)
  To: Marc; +Cc: gcc-rust

Hi Marc!

On 6/2/21 6:58 PM, Marc wrote:
> Thanks for testing this! IIUC, this is an issue on our side, so I'll
> open an issue.

Let me test a plain GCC build with just C and C++ first to make sure it's
not a general GCC problem on ia64.

libunwind on ia64 can be a bit tricky sometimes, so it might not be gccrs
which is to be blamed here.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Test results for gccrs on Debian unstable ia64
  2021-06-02 17:00             ` John Paul Adrian Glaubitz
@ 2021-06-02 17:02               ` Marc
  2021-06-02 20:39                 ` John Paul Adrian Glaubitz
  0 siblings, 1 reply; 10+ messages in thread
From: Marc @ 2021-06-02 17:02 UTC (permalink / raw)
  To: John Paul Adrian Glaubitz; +Cc: Marc, gcc-rust

John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> writes:

> Hi Marc!
>
> On 6/2/21 6:58 PM, Marc wrote:
>> Thanks for testing this! IIUC, this is an issue on our side, so I'll
>> open an issue.
>
> Let me test a plain GCC build with just C and C++ first to make sure it's
> not a general GCC problem on ia64.
>
> libunwind on ia64 can be a bit tricky sometimes, so it might not be gccrs
> which is to be blamed here.

Ah, sorry, already opened :). I'll close it if needed !

https://github.com/Rust-GCC/gccrs/issues/474

Marc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Test results for gccrs on Debian unstable ia64
  2021-06-02 17:02               ` Marc
@ 2021-06-02 20:39                 ` John Paul Adrian Glaubitz
  0 siblings, 0 replies; 10+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-06-02 20:39 UTC (permalink / raw)
  To: Marc; +Cc: gcc-rust

Hi Marc!

On 6/2/21 7:02 PM, Marc wrote:
>> libunwind on ia64 can be a bit tricky sometimes, so it might not be gccrs
>> which is to be blamed here.
> 
> Ah, sorry, already opened :). I'll close it if needed !
> 
> https://github.com/Rust-GCC/gccrs/issues/474

Let's keep it open for the time being so it doesn't fall off the table.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-06-02 20:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-02 11:27 Test results for gccrs on Debian unstable ia64 John Paul Adrian Glaubitz
2021-06-02 12:41 ` Marc
2021-06-02 12:47   ` John Paul Adrian Glaubitz
2021-06-02 13:05     ` Marc
2021-06-02 13:08       ` John Paul Adrian Glaubitz
2021-06-02 16:14         ` John Paul Adrian Glaubitz
2021-06-02 16:58           ` Marc
2021-06-02 17:00             ` John Paul Adrian Glaubitz
2021-06-02 17:02               ` Marc
2021-06-02 20:39                 ` John Paul Adrian Glaubitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).