https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95712
Alexander Egorenkov <egorenar at linux dot ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #6 from Alexander Egorenkov <egorenar at linux dot ibm.com> --- Ok, i understand, therefore, i reproduced the problem without buildroot. My steps: $ mkdir compiler $ cd compiler $ tar xvjf gmp-6.1.0.tar.bz2 $ cd gmp-6.1.0 $ ./configure --prefix=$HOME/compiler/install --disable-shared $ make -j81 $ make install $ cd .. $ tar xvjf mpfr-3.1.4.tar.bz2 $ cd mpfr-3.1.4 $ ./configure --prefix=$HOME/compiler/install --disable-shared --with-gmp=$HOME/compiler/install $ make -j81 $ make install $ cd .. $ tar xvzf mpc-1.0.3.tar.gz $ cd mpc-1.0.3 $ ./configure --prefix=$HOME/compiler/install --disable-shared --with-gmp=$HOME/compiler/install --with-mpfr=$HOME/compiler/install $ make -j81 $ make install $ cd .. $ tar xvzf gcc-9.3.0.tar.xz $ mkdir build-gcc $ cd build-gcc $ ../gcc-9.3.0/configure --prefix=$HOME/compiler/install --enable-shared --disable-static \ --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs \ --disable-documentation --disable-debug --with-xmlto=no --with-fop=no \ --disable-nls --disable-dependency-tracking --target=s390x-buildroot-linux-gnu \ --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib \ --disable-decimal-float --with-gmp=$HOME/compiler/install \ --with-mpc=$HOME/compiler/install --with-mpfr=$HOME/compiler/install \ --with-pkgversion="Buildroot 2020.08-git-g2d8407f8ab" \ --with-bugurl="http://bugs.buildroot.net/" --disable-libquadmath --enable-tls \ --enable-threads --without-isl --without-cloog --with-arch="z196" \ --with-long-double-128 --enable-languages=c --disable-shared --without-headers \ --disable-threads --with-newlib --disable-largefile $ make -j81 gcc_cv_libc_provides_ssp=yes all-gcc all-target-libgcc The above steps were executed manually w/o any buildroot infrastructure. And i get the same problem, almost the same commands are executed by buildroot. Again, xgcc is not being built and libgcc fails. I patched nothing, everything was vanilla. What i did notice, is that everything seems to work fine and the make commands succeeds, if i drop "-j81" in the last step. I did all these steps on a s390x machine with 80 cores, it is a highly parallel machine. So the issue seems to depend on it somehow, my guess is that maybe some dependencies are not correctly done in libgcc Makefile ? Another workaround i found is to split the last maske command into 2 like this: $ make -j81 all-gcc $ make -j81 all-target-libgcc This seems to fix it also. I'm ready to do more test if required. I really want to fix it, it is very annoying and blocking me. Regards