Created attachment 603746 [details] emerge --info git-2.21.1 fails to build with following flags (set by tatt): USE='-blksha1 cgi -curl -cvs -doc emacs -gnome-keyring gpg -highlight -iconv -libressl -nls pcre pcre-jit perl -ppcsha1 -python subversion -threads -tk -webdav xinetd' emerge -1 =dev-vcs/git-2.21.1 [...] make -j26 -l26 ASCIIDOC_NO_ROFF=YesPlease NO_CVS=YesPlease NO_ICONV=YesPlease NO_GETTEXT=YesPlease INSTALLDIRS=vendor NO_PERL_CPAN_FALLBACKS=YesPlease NO_PYTHON=YesPlease NO_PTHREAD=YesPlease NO_TCLTK=YesPlease NO_CURL=YesPlease NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease INSTALL=install TAR=tar SHELL_PATH=/bin/sh SANE_TOOL_PATH= OLD_ICONV= NO_EXTERNAL_GREP= USE_LIBPCRE2=YesPlease ASCIIDOC8=YesPlease prefix=/usr htmldir=/usr/share/doc/git-2.21.1/html perllibdir=/usr/lib64/perl5/vendor_perl/5.30.1 sysconfdir=/etc DESTDIR=/var/tmp/portage/dev-vcs/git-2.21.1/image/ GIT_TEST_OPTS=--no-color OPTAR=powerpc64-unknown-linux-gnu-ar OPTCC=powerpc64-unknown-linux-gnu-gcc 'OPTCFLAGS=-O2 -mcpu=970 -pipe' 'OPTLDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu' PERL_PATH=/usr/bin/perl PERL_MM_OPT= PYTHON_PATH= V=1 'EXTLIBS=-lz -lssl /var/tmp/portage/dev-vcs/git-2.21.1/work/git-2.21.1/xdiff/lib.a -lpcre2-8 ' powerpc64-unknown-linux-gnu-gcc -O2 -mcpu=970 -pipe -Wall -DHAVE_CLOCK_GETTIME -I../../vcs-svn -o svn-fe.o -c svn-fe.c make -C ../.. vcs-svn/lib.a make -C ../.. xdiff/lib.a make -C ../.. libgit.a make[1]: Entering directory '/var/tmp/portage/dev-vcs/git-2.21.1/work/git-2.21.1' make[1]: Entering directory '/var/tmp/portage/dev-vcs/git-2.21.1/work/git-2.21.1' make[1]: Entering directory '/var/tmp/portage/dev-vcs/git-2.21.1/work/git-2.21.1' make[1]: Leaving directory '/var/tmp/portage/dev-vcs/git-2.21.1/work/git-2.21.1' make[1]: Leaving directory '/var/tmp/portage/dev-vcs/git-2.21.1/work/git-2.21.1' make[1]: Leaving directory '/var/tmp/portage/dev-vcs/git-2.21.1/work/git-2.21.1' powerpc64-unknown-linux-gnu-gcc -O2 -mcpu=970 -pipe -Wall -DHAVE_CLOCK_GETTIME -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o svn-fe svn-fe.o ../../vcs-svn/lib.a ../../libgit.a ../../xdiff/lib.a -lz -lssl /var/tmp/portage/dev-vcs/git-2.21.1/work/git-2.21.1/xdiff/lib.a -lpcre2-8 /usr/lib/gcc/powerpc64-unknown-linux-gnu/9.2.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: ../../libgit.a(run-command.o): undefined reference to symbol 'pthread_join@@GLIBC_2.3' /usr/lib/gcc/powerpc64-unknown-linux-gnu/9.2.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: /lib64/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefile:77: svn-fe] Error 1 * ERROR: dev-vcs/git-2.21.1::gentoo failed (compile phase): * emake failed
Created attachment 603748 [details] build.log
*** Bug 705876 has been marked as a duplicate of this bug. ***
git-2.26.2 builds fine with these flags on ppc64.