These are chat archives for dropbox/pyston

6th
Apr 2016
Kevin Modzelewski
@kmod
Apr 06 2016 00:04
awesome, merged them :)
Sun
@Daetalus
Apr 06 2016 00:04
Thank you!
Dong-hee Na
@corona10
Apr 06 2016 15:21
Today I tried to build refcount branch but I got failed with this message
In file included from Modules/pyexpat.c:1:0:
/home/parallels/pyston/build/Debug/from_cpython/Include/Python.h:143:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 PyAPI_FUNC(void) PyGC_Enable() PYSTON_NOEXCEPT;
 ^
/home/parallels/pyston/build/Debug/from_cpython/Include/Python.h:144:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 PyAPI_FUNC(void) PyGC_Disable() PYSTON_NOEXCEPT;
 ^
Modules/pyexpat.c: In function ‘get_handler_name’:
Modules/pyexpat.c:162:9: error: implicit declaration of function ‘PyGC_AddRoot’ [-Werror=implicit-function-declaration]
         name = PyGC_AddRoot(PyString_FromString(hinfo->name));
         ^
Modules/pyexpat.c:162:14: warning: assignment makes pointer from integer without a cast [enabled by default]
         name = PyGC_AddRoot(PyString_FromString(hinfo->name));
              ^
Modules/pyexpat.c: In function ‘initpyexpat’:
Modules/pyexpat.c:1894:21: warning: assignment makes pointer from integer without a cast [enabled by default]
         ErrorObject = PyGC_AddRoot(PyErr_NewException("xml.parsers.expat.ExpatError",
                     ^
cc1: some warnings being treated as errors
error: command 'gcc' failed with exit status 1
ninja: build stopped: subcommand failed.
more over I can build successfully on master branch
my OS is ubuntu 14.04 gcc version is 4.8.4
Marius Wachtler
@undingen
Apr 06 2016 15:28
I think this is a known issue :-(, we don't support yet building the sharedlib extension modules
you have to build with e.g. PYTHONIOENCODING=utf8 make CMAKE_SHAREDMODS= RUN_DEPS= ARGS= check_dbg to build debug version and run the tests
Dong-hee Na
@corona10
Apr 06 2016 15:35
Oh i got it
thanks
it works
Dong-hee Na
@corona10
Apr 06 2016 15:54
one more things can I get some information how to run specific unit test files on refcount brench?
Kevin Modzelewski
@kmod
Apr 06 2016 15:56
PYTHONIOENCODING=utf8 make CMAKE_SHAREDMODS= RUN_DEPS= ARGS=$TESTNAME check_dbg
Dong-hee Na
@corona10
Apr 06 2016 15:58
@kmod Thanks~
Sun
@Daetalus
Apr 06 2016 22:26
Working on set refcounting annotation.