[Bug 232510] lang/python37: Python 3.7.1 fails to build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 21 20:19:13 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232510

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

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=/usr/local/bin/clang60 CXX=/usr/local/bin/clang++60
CPP=/usr/local/bin/clang-cpp60

it compiles fine.

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


More information about the freebsd-python mailing list