Tal Einat added the comment:

Confirmed on OSX 10.10. Here's my output:

running build
running build_ext
building 'cmath' extension
./slow-cc.py -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g 
-fwrapv -O3 -Wall -Wstrict-prototypes -Werror=declaration-after-statement 
-I./Include -I. -IInclude -I/usr/local/include 
-I/Users/taleinat/dev/cpython/Include -I/Users/taleinat/dev/cpython -c 
/Users/taleinat/dev/cpython/Modules/cmathmodule.c -o 
build/temp.macosx-10.10-x86_64-3.6/Users/taleinat/dev/cpython/Modules/cmathmodule.o
building 'math' extension
./slow-cc.py -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g 
-fwrapv -O3 -Wall -Wstrict-prototypes -Werror=declaration-after-statement 
-I./Include -I. -IInclude -I/usr/local/include 
-I/Users/taleinat/dev/cpython/Include -I/Users/taleinat/dev/cpython -c 
/Users/taleinat/dev/cpython/Modules/mathmodule.c -o 
build/temp.macosx-10.10-x86_64-3.6/Users/taleinat/dev/cpython/Modules/mathmodule.o
./slow-cc.py -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g 
-fwrapv -O3 -Wall -Wstrict-prototypes -Werror=declaration-after-statement 
-I./Include -I. -IInclude -I/usr/local/include 
-I/Users/taleinat/dev/cpython/Include -I/Users/taleinat/dev/cpython -c 
/Users/taleinat/dev/cpython/Modules/_math.c -o 
build/temp.macosx-10.10-x86_64-3.6/Users/taleinat/dev/cpython/Modules/_math.o
./slow-cc.py -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g 
-fwrapv -O3 -Wall -Wstrict-prototypes -Werror=declaration-after-statement 
-I./Include -I. -IInclude -I/usr/local/include 
-I/Users/taleinat/dev/cpython/Include -I/Users/taleinat/dev/cpython -c 
/Users/taleinat/dev/cpython/Modules/_math.c -o 
build/temp.macosx-10.10-x86_64-3.6/Users/taleinat/dev/cpython/Modules/_math.o
INITIAL COMPILE
RECOMPILE
RECOMPIILE TRUNCATING
INITIAL COMPILE FINISHED
./slow-cc.py -bundle -undefined dynamic_lookup 
build/temp.macosx-10.10-x86_64-3.6/Users/taleinat/dev/cpython/Modules/mathmodule.o
 build/temp.macosx-10.10-x86_64-3.6/Users/taleinat/dev/cpython/Modules/_math.o 
-L/usr/local/lib -o build/lib.macosx-10.10-x86_64-3.6/math.cpython-36m-darwin.so
ld: file too small (length=0) file 
'build/temp.macosx-10.10-x86_64-3.6/Users/taleinat/dev/cpython/Modules/_math.o' 
for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
RECOMPILE FINISHED
./slow-cc.py -bundle -undefined dynamic_lookup 
build/temp.macosx-10.10-x86_64-3.6/Users/taleinat/dev/cpython/Modules/cmathmodule.o
 build/temp.macosx-10.10-x86_64-3.6/Users/taleinat/dev/cpython/Modules/_math.o 
-L/usr/local/lib -o 
build/lib.macosx-10.10-x86_64-3.6/cmath.cpython-36m-darwin.so

----------
nosy: +taleinat

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24421>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to