https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118891
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |14.3
Summary|gcc 14 fails to build from |[14/15 regression] gcc 14
|source on aarch64_be: |fails to build from source
|"error: ‘dynamic_cast’ not |on aarch64_be: "error:
|permitted with ‘-fno-rtti’" |‘dynamic_cast’ not
| |permitted with ‘-fno-rtti’"
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Oh you mentioned which stage is failing.
So stage 1 compiler is miscompiling stage 2.
Most likely some assumptions about endiannes in the backend.
Almost nobody tests aarch64be.