Port-vax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Issues with native build of -10 on VAX
On Wed, Nov 08, 2023 at 12:04:52AM +1100, Kalvis Duckmanton wrote:
> Hmm. I'm not entirely sure but I *think* this is a manifestation of GCC bug
> c++/105491. Native GCC 10 for VAX from -current also fails in the same way,
> but the GCC 10 cross-compiler from -current (on amd64 on Linux), can compile
> the same code without issue. It's weird. I'd have expected the
> cross-compiler to also fail. For what it's worth, the (patched) native GCC
> 12.2 that I've built from pkgsrc can compile sancov.c from GCC 10 without
> complaint. (Bug 105491 is fixed in GCC 12.2 and later.)
The same gcc code also works when cross-compiled from amd64. Thats
something that has always struck me as odd, or rather just broken, that
the same gcc running on one arch would act differently (and likely emit
different code) compared to running on another arch. In other words,
this looks like some sort of portability bug in gcc.
> I have an inelegant workaround for GCC 10 but it needs some more testing.
Do you mind sharing it? I would like to give it a try.
Hans
--
%SYSTEM-F-ANARCHISM, The operating system has been overthrown
Home |
Main Index |
Thread Index |
Old Index