| Summary: | sys-devel/gcc-11.3.0 ICE on m68k-unknown-linux-musl compiling net-misc/openssh-9.0_p1-r2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Barnabás Virágh <cyborgyn> |
| Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | m68k |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | m68k | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Build.log - for openssh
environment - file from the build temp folder |
||
Created attachment 814057 [details]
Build.log - for openssh
Created attachment 814060 [details]
environment - file from the build temp folder
Could you follow https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide? (In reply to Sam James from comment #3) > Could you follow https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide? Thanks for pointing out, didn't know this kind of bug has it's special reporting HOWTO. :) Will do it soon. Why not gcc 12.2.0? It builds fine for me with your flags. I normally build for 68030 anyway. I'm using glibc rather than musl, but I doubt that matters here. I have found more recent gcc versions have fixed one or two issues I was having. I did have some trouble with openssh, so I switched to dropbear, which is more appropriate for my real hardware anyway. That was a long time ago though, it's probably fine now. I was about to do a proper ICE reporting, and now, with net-misc/openssh-9.0_p1-r6 I couldn't reproduce the ICE anymore. |
While gcc-10.4.0 succeeds compiling net-misc/openssh-9.0_p1-r2, gcc-11.3.0 fails with Internal Compiler Error (under user mode qemu-m68k 7.0). Reproducible: Always Steps to Reproduce: 1. linux32 chroot /path/to/m68-unkown-linux-musl/gentoo-root 2. emerge -1 net-misc/openssh Actual Results: emerge fails with attached build.log & environment Expected Results: Builds correctly, just like with gcc 10.4.0. Workaround: * keep gcc 10.4.0 * create portage environment to (/etc/portage/env/gcc10.conf): FEATURES="${FEATURES} -distcc" CC="/usr/m68k-unknown-linux-musl/gcc-bin/10.4.0/gcc" CXX="/usr/m68k-unknown-linux-musl/gcc-bin/10.4.0/g++" AR="/usr/m68k-unknown-linux-musl/gcc-bin/10.4.0/gcc-ar" NM="/usr/m68k-unknown-linux-musl/gcc-bin/10.4.0/gcc-nm" RANLIB="/usr/m68k-unknown-linux-musl/gcc-bin/10.4.0/gcc-ranlib" * set package environment to (/etc/portage/package.env/openssh): net-misc/openssh gcc10.conf