Problem emerge glibc-2.11

When try to emerge glibc-2.11 from older version you might get this error:

checking for cpuid.h... no
configure: error: gcc must provide the header
* ERROR: sys-libs/glibc-2.11.2 failed:
* failed to configure glibc

To solve it get the cpuid.h file from official GCC respositories and put it into /usr/include. Check the name of the downloaded file to be “cpuid.h”.

Now, glibc should compile without problem.

Tags: ,

2 Responses to “Problem emerge glibc-2.11”

  1. cristian ursuleanu says:

    Nice to know… thanks.

  2. liquidnight says:

    If that fails, you should use a newer version of gcc. Check #gcc-config for gcc>3.4 and choose one. They provide the cpuid header.

Leave a Reply