Source: gcc-12
Version: 12.4.0-7
Severity: normal

Dear Maintainer,

Build fails in stage1 here:
# Ignore errors to work around finalization issues in older compilers
cd ada/gen_il; ./gen_il-main

raised PROGRAM_ERROR : finalize/adjust raised exception
make[5]: [../../src/gcc/ada/Make-generated.in:23: ada/stamp-gen_il] Error 1 
(ignored)
/<<PKGBUILDDIR>>/src/gcc/../move-if-change ada/gen_il/seinfo_tables.ads 
ada/seinfo_tables.ads
mv: cannot stat 'ada/gen_il/seinfo_tables.ads': No such file or directory
make[5]: *** [../../src/gcc/ada/Make-generated.in:24: ada/stamp-gen_il] Error 1
make[5]: *** Waiting for unfinished jobs....
rm gcc.pod lto-dump.pod gdc.pod
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/gcc'
make[4]: *** [Makefile:5017: all-stage1-gcc] Error 2

Full log is here:
https://buildd.debian.org/status/fetch.php?pkg=gcc-12&arch=hppa&ver=12.4.0-7&stamp=1746306091&raw=0

Gnat on hppa requires an executable stack.  A recent change to binutils
changed the handling on GNU stack notes and we no longer get an executable
stack when gcc doesn't generate GNU stack notes.  This breaks the build of
gcc-12 and gcc-13.

This problem is fixed by commits 8b26ee407613cdbfc3fb2095c09ae28b4642fd63
and 10b8d94e7f45608dd896c7a780370136ed975c6f for gcc-12 and gcc-13,
respectively.

We need a update for these packages including the above commits.

I should note that the Debian ada patches for 64-bit time are seriously
broken on hppa.  We go from no acats fails to about 100 fails.  Many of
these are timeouts which dramatically increase test times.  This occurs
on all supported gcc versions.  The package build times increase by
many hours.

I don't think all the issues are addressed in gcc pr114065:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114065

Regards,
Dave Anglin

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.12.26-dirty (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

Reply via email to