Re: Issues with native build of -10 on VAX

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.ports.vax
Message-ID <[email protected]>
On Thu, Jan 04, 2024 at 12:03:11PM +0100, Hans Rosenfeld wrote:
> --- external/gpl3/binutils/dist/bfd/config.bfd  14 Dec 2023 17:19:59 -0000      1.34.2.1
> +++ external/gpl3/binutils/dist/bfd/config.bfd  4 Jan 2024 09:37:30 -0000
> @@ -1375,6 +1375,7 @@ case "${targ}" in
>    vax-*-netbsdelf*)
>      targ_defvec=vax_elf32_vec
>      targ_selvecs="vax_aout_nbsd_vec vax_aout_1knbsd_vec"
> +    want64=true
>      ;;
>  
>    vax-*-netbsdaout* | vax-*-netbsd*)
> 
> 
> Is this line no longer needed, or was this overlooked?

This was done differently:

===================================================================
RCS file: /cvsroot/src/external/gpl3/binutils.old/dist/bfd/config.bfd,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- external/gpl3/binutils.old/dist/bfd/config.bfd      23 Dec 2022 17:09:18 -0000      1.9
+++ external/gpl3/binutils.old/dist/bfd/config.bfd      25 Nov 2023 12:09:59 -0000      1.10
@@ -1454,6 +1454,13 @@
     ;;
 esac
 
+# vax natively supports 64-bit integers.
+case "${targ_defvec} ${targ_selvecs}" in
+  *vax*)
+    want64=true
+    ;;
+esac
+
 case "${host64}${want64}" in
   *true*)
     targ_selvecs="${targ_selvecs} ${targ64_selvecs}"


(and this part got pulled up as ticket #492)

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.