Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2018 20:19:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 232510] lang/python37: Python 3.7.1 fails to build
Message-ID:  <bug-232510-21822-5hTdsen1mk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-232510-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-232510-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232510

--- Comment #3 from w.schwarzenfeld@utanet.at ---
Maybe something with the path to the compiler
if do
make CC=3Dclang60 CXX=3Dclang++60 CPP=3Dclang-cpp60 (could be any other com=
piler)

I got:
--- python ---
./libpython3.7m.so: undefined reference to `pthread_getcpuclockid'
./libpython3.7m.so: undefined reference to `pthread_create'
--- Programs/_testembed ---
./libpython3.7m.so: undefined reference to `pthread_getcpuclockid'
--- python ---
clang-6.0: error: linker command failed with exit code 1 (use -v to see
invocation)
--- Programs/_testembed ---
./libpython3.7m.so: undefined reference to `pthread_create'
clang-6.0: error: linker command failed with exit code 1 (use -v to see
invocation)
--- python ---

if i do
make CC=3D/usr/local/bin/clang60 CXX=3D/usr/local/bin/clang++60
CPP=3D/usr/local/bin/clang-cpp60

it compiles fine.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232510-21822-5hTdsen1mk>