Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



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

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index