https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059

--- Comment #15 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #13)
> I wonder how it works for Tobias then.

Bootstrap
* works on x86_64  with Ubuntu 20.04.5 LTS (focal) with glibc 2.31-0ubuntu9.9
* fails on ppc64le  with Ubuntu 18.04.3 LTS (bionic) with glibc 2.27-3ubuntu1

I have now done some debugging. The reason it works on x86-64 is that I have
there
in the $BUILD directory:
  gcc/include-fixed/bits -> x86_64-linux-gnu/bits

That matches:
  /usr/include/bits -> x86_64-linux-gnu/bits 

dpkg -S find
* the symbolic link in package libc6-dev-i386
* the real 'bits' directory in package libc6-dev:amd64


On PowerPC, I see /usr/include/powerpc64le-linux-gnu/bits but no associated
/usr/include/bits symbolic link. (The existing directory is in package
libc6-dev:ppc64el)

 * * *

Before finding this, I wondered whether --enable-multiarch makes a difference,
but it doesn't.

Reply via email to