Re: Patch for gcc-10.3.0

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

 



On Mon, 12 Apr 2021 at 13:10, John Hendry wrote:
>
>
>         Dear gcc maintainers,
>
>                 I'm trying to install gcc-10.3.0 on a 64-bit PC running Crux Linux 3.5.  Make gives the error "bit_AVX512VPTINTERSECT not declared" in cpuinfo.c, line 392 or so, and then AVX512BF16 is not declared 4 lines later.
>         The same thing was happening with 10.2 and I don't know whether I've misconfigured something to do with 32-bit libraries for cross-compiling or whether these bits refer to features of machines more advanced.  Can I switch off support for these technological advances?  I couldn't see anything in help for ../configure.
>         The closest thing I could find on the internet was on a gentoo forum but had no acknowledgement of a problem.  The patches I've seen seem to be directed to Intel developers, at least not to ordinary users trying to compile gcc.
>         Can you confirm that it needs a patch or suggest some files I might modify?

No patch should be needed. GCC 10.2 and 10.3 have been compiled many,
many times on x86_64-linux.

The constant should be bit_AVX512VP2INTERSECT (not
bit_AVX512VPTINTERSECT as you wrote). If the error is really what you
wrote, it suggests your sources have got corrupted somehow.

The bit_AVX512VP2INTERSECT constant is defined in the cpuid.h header
in the same directory.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux