Re: HEADS UP: plan to switch many ports over to GCC 12 soon

Rhialto <[email protected]>
Newsgroups gmane.os.netbsd.current,gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
Does the assembler also get updated with this? I'm asking because I
noticed when compiling pkgsrc package libdeflate-1.20 with gcc12 (from
pkgsrc) that the compiler generates vpdpbusd instructions (amd64) but
the assembler doesn't know those:

[ 55%] Building C object CMakeFiles/libdeflate_static.dir/lib/crc32.c.o
[ 58%] Building C object CMakeFiles/libdeflate_shared.dir/lib/zlib_decompress.c.o
[ 62%] Building C object CMakeFiles/libdeflate_static.dir/lib/gzip_compress.c.o
[ 65%] Building C object CMakeFiles/libdeflate_shared.dir/lib/crc32.c.o
/tmp//ccZfStzB.s: Assembler messages:
/tmp//ccZfStzB.s:1377: Error: unsupported instruction `vpdpbusd'
/tmp//ccZfStzB.s:1379: Error: unsupported instruction `vpdpbusd'
/tmp//ccfRuVym.s: Assembler messages:
/tmp//ccfRuVym.s:1377: Error: unsupported instruction `vpdpbusd'
/tmp//ccfRuVym.s:1379: Error: unsupported instruction `vpdpbusd'
... more of the same...

For building firefox, I had to pretend that __AVXVNNI__ wasn't #defined.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEFVAhiiWjqgwBVdQAmYnGRWHD+9MFAmaBdU4ACgkQmYnGRWHD
+9P0mAf/ZsKuK6oVrcKa3BzBGSIOkVRfWv/eWKHvw7QvmIad1DJMu/b2OZUg3XiU
sN6EAoJ+LUMQAkR73dYBDVK9KImEVenAxMPXD5KIcZCaAZdJyhiBlf8P3m0SesK2
sFn2pEuO7mDij4LfwZdELzt69RpQKw4rjr1Zpsl67cov+IT/Ex1rfqtON+aR2KfY
eWbgmUAQgkrtj11f6CX7iAiqhzNo27lXBxF/wN7wz7LHwH+7Au9MiyGqtqo8XEr7
qPJR1F5vLSJ4yz/vp4DeYahCc03Kt2jbGZbJ03fyTWd+GcXJuU4XZsapkV5q0lWp
DCZzwpBqEmcrWP+JKY5TR1QHA1U0ng==
=r0FZ
-----END PGP SIGNATURE-----
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.