-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
truncdfhf2.c:52:1: internal compiler error: in as_a, at machmode.h:381 #610
Comments
There's a similar issue in the GCC bugzilla: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113637 with the corresponding fix https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=457d2b59b58e5998e1e6967316d4e3e8f24edeed. Which we apparently have in the sources I used for that experiment. So that must be something new. |
Even easier reproduction with any recent GCC:
|
I cannot reproduce this on my end. what's the output of |
On my attempt to reproduce that problem bumped into a new thing related to how GCC 14.x-based toolchain got built, see #628. Anyway, just to double-check, have you tried the following command on https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/files/15253048/truncdfhf2.zip?
Note that long |
still no output of that command for me |
@abrodkin I tried the latest engineering build
|
Indeed, with GCC14 the the following happens with old command line:
So the following needs to be used:
|
Though I could not reproduce the issue, I faced another one with this configuration:
To reproduce this file may be used (libm_a-er_lgamma.zip):
If |
I marked this issue as related to non-Synopsys code. Moreover, this bug requires a further investigation that does not fit in this release. A temporary workaround is building a toolchain without complex configurations or try to find a configuration that leads to a successful building of a toolchain. |
@kolerov that needs to go into known issues so that our users are aware of that. Also would be super nice to file an upstream bug for that. |
@abrodkin I mentioned this issue as known in 2024.06 RC1 release notes. |
On attempt to compile ARC GNU tools for ARC-V using GCC from https://github.com/foss-for-synopsys-dwc-arc-processors/gcc-arcv/commit/97a9f06441fd59c6f87803ded8410536495d145e got the following ICE.
Consider preprocessed input file truncdfhf2.zip and compile it in the following way:
For the record the following Crosstool-NG (taken from foss-for-synopsys-dwc-arc-processors/crosstool-ng@963a7fb commit)
defconfig
was used:The text was updated successfully, but these errors were encountered: