mbox series

[0/2] Fixes for old version NetBSD targets

Message ID alpine.LFD.2.21.2011151526240.4064799@eddie.linux-mips.org
Headers show
Series Fixes for old version NetBSD targets | expand

Message

Maciej W. Rozycki Nov. 15, 2020, 5:44 p.m. UTC
Hi,

 In the course of my recent VAX backend modernisation effort I originally 
tried the initial version of the VAX/NetBSD port that provided ELF file 
format support, specifically 1.6.2, which at least in theory we aim to 
support with the `vax-netbsdelf' target.  That indeed turned out to be a 
theory as a couple of features we support is unconditionally enabled for 
NetBSD targets, however not really supported causing GCC compilation to 
fail in libgcc/ and libada/ respectively.

 Now we may not care that much about old NetBSD versions and I have since 
switched to NetBSD 9, but fixes are trivial enough up to the point of 
being one-liners and might make someone's life easier, so I decided to 
offer them anyway.  Compiler's functionality is limited with NetBSD 1.6.2 
and gnatlib does not build anyway for the VAX port due to missing target 
bindings, but libgcc does and the resulting cross-compiler is functional 
enough to run the test suite on actual VAX hardware (although the NetBSD 
kernel that old turned out to miss a key feature needed by me to run 
testing in a feasible manner).  And I imagine gnatlib can be built for 
other NetBSD ports (missing VAX/NetBSD bindings can be easily added).

 OK to apply then?

  Maciej

Comments

Hans-Peter Nilsson Nov. 17, 2020, 3:49 a.m. UTC | #1
On Sun, 15 Nov 2020, Maciej W. Rozycki wrote:

> Hi,
>
>  In the course of my recent VAX backend modernisation effort

Hi.  That reminds me that VAX is "still" a cc0 target.

Are you aware of anyone planning on that level of modernization?

More than a year ago, there was a major heads-up that all
remaining cc0 targets would be "retired" in the next release.

Now, I'm thinking that was just an empty threat. 0:-)

brgds, H-P
PS. not volunteering, sorry.
Kamil Rytarowski Nov. 17, 2020, 3:27 p.m. UTC | #2
On 17.11.2020 04:49, Hans-Peter Nilsson wrote:
> On Sun, 15 Nov 2020, Maciej W. Rozycki wrote:
> 
>> Hi,
>>
>>  In the course of my recent VAX backend modernisation effort
> 
> Hi.  That reminds me that VAX is "still" a cc0 target.
> 
> Are you aware of anyone planning on that level of modernization?
> 
> More than a year ago, there was a major heads-up that all
> remaining cc0 targets would be "retired" in the next release.
> 
> Now, I'm thinking that was just an empty threat. 0:-)
> 
> brgds, H-P
> PS. not volunteering, sorry.
> 

The "VAX backend modernisation effort" means upgrading out of cc0.