Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705874 - dev-vcs/git-2.21.1 - ld: ../../libgit.a(run-command.o): undefined reference to symbol 'pthread_join@@GLIBC_2.3'
Summary: dev-vcs/git-2.21.1 - ld: ../../libgit.a(run-command.o): undefined reference t...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 705876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-19 19:34 UTC by ernsteiswuerfel
Modified: 2020-05-17 13:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_705874.txt,5.83 KB, text/plain)
2020-01-19 19:34 UTC, ernsteiswuerfel
Details
build.log (git-2.21.1:20200119-192701.log,329.71 KB, text/plain)
2020-01-19 19:34 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-01-19 19:34:28 UTC
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
Comment 1 ernsteiswuerfel archtester 2020-01-19 19:34:59 UTC
Created attachment 603748 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-19 19:53:27 UTC
*** Bug 705876 has been marked as a duplicate of this bug. ***
Comment 3 ernsteiswuerfel archtester 2020-05-17 13:45:50 UTC
git-2.26.2 builds fine with these flags on ppc64.