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 Nov 10, 2023, at 7:47 AM, Hans Rosenfeld <hans%netbsd.org@localhost> wrote:
>
> 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.
It sure seems that way, and if the details could be obtained it would be good to log that bug with the GCC bug tracker.
paul
Home |
Main Index |
Thread Index |
Old Index