python-greenlet / greenlet

Lightweight in-process concurrent programming
Other
1.64k stars 247 forks source link

Issue compiling with IBM xlc compiler #118

Open typer100 opened 7 years ago

typer100 commented 7 years ago

I might try with gcc... until then, here's the error:

root@sxttst9999:/tmp/greenlet-0.4.11$ python setup.py install
running install
running build
running build_ext
building 'greenlet' extension
xlc_r -ma -I/opt/freeware/include -DAIX_GENUINE_CPLUSCPLUS -Wl,-brtl -qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include -DNDEBUG -O -I/opt/freeware/include/python2.7 -c greenlet.c -o build/temp.aix-7.1-2.7/greenlet.o
"greenlet.c", line 332.2: 1506-205 (S) #error "greenlet needs to be ported to this platform, or teached how to detect your compiler properly."
"greenlet.c", line 1609.9: 1506-045 (S) Undeclared identifier cannot_inline_slp_switch.
error: command 'xlc_r' failed with exit status 1
snaury commented 7 years ago

As you may see from the error message "greenlet needs to be ported to this platform, or teached how to detect your compiler properly."

If you manage to port greenlet to xlc, then patches are welcome.