Package: gfortran
Version: 4:14.2.0-1
Severity: normal
X-Debbugs-Cc: debian-...@lists.debian.org
User: debian-...@lists.debian.org
Usertags: arm64
Dear Maintainer,
* What led up to the situation?
I tried to compile cosmdist commit 3ea40c144d [1] from source with
'./configure && make' on my Pinephone.
[1]
https://codeberg.org/boud/cosmdist/commit/3ea40c144dc6a5095ce9e46802aacc7c5a41a557
* What exactly did you do (or not do) that was effective (or
ineffective)?
My minimal working example [2] is:
--------------------------------------------------
$ cat x.f90
subroutine myfun(i,y)
integer i
logical y
if(i.eq.1)then
y = .true.
endif
return
end subroutine myfun
$ gfortran -g -O2 -c -o x.o x.f90
--------------------------------------------------
[2] https://paste.debian.net/1377105/
* What was the outcome of this action?
On repeated tries, the outcome was [3] about
20% of the time:
--------------------------------------------------
during GIMPLE pass: fre
x.f90:1:16:
#
1 | subroutine myfun(i,y)
| ^
internal compiler error: Segmentation fault
0xffffxxxxxxxb __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0xffffxxxxxxxb __libc_start_main_impl
../csu/libc-start.c:360
--------------------------------------------------
and another 20% of the time it was the same, but
with 'pre' instead of 'fre'. About 60% of the time
'x.o' was created with no reported errors.
[3] https://paste.debian.net/1377107/
* What outcome did you expect instead?
I expected 'x.o' to have been created with no reported errors.
----------------------------------------------------------------------
-- System Information:
Debian Release: trixie/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: arm64 (aarch64)
Kernel: Linux 6.12-sunxi64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gfortran depends on:
ii cpp 4:14.2.0-1
ii cpp-aarch64-linux-gnu 4:14.2.0-1
ii gcc 4:14.2.0-1
ii gfortran-14 14.2.0-19
ii gfortran-aarch64-linux-gnu 4:14.2.0-1
gfortran recommends no packages.
Versions of packages gfortran suggests:
pn gfortran-doc <none>
-- no debconf information
Other system info:
$ inxi -zxxxF # extract
System:
Kernel: 6.12-sunxi64 arch: aarch64 bits: 64 compiler: gcc v: 12.2.0
clocksource: arch_sys_counter
Console: pty pts/1 LM: greetd Distro: Debian GNU/Linux trixie/sid
Machine:
Type: ARM System: Pine64 PinePhone (1.2) details: N/A serial: <filter>
CPU:
Info: quad core model: N/A variant: cortex-a53 bits: 64 type: MCP smt:
<unsupported> arch: ARMv8
rev: 4 cache: L1: 256 KiB L2: 512 KiB
Speed (MHz): avg: 1152 min/max: 648/1152 cores: 1: 1152 2: 1152 3: 1152 4:
1152 bogomips: N/A
Features: aes asimd cpuid crc32 evtstrm fp pmull sha1 sha2
----------------------------------------------------------------------
Cheers
Boud