python-2.7.16 (working "ish")

hammy

Member
Jun 1, 2019
35
12
8
UK
Most tests passing, still some issues with long doubles, some ctypes calls (which might be locale related) - which can be recreated with make test.

Patch here: https://raw.githubusercontent.com/danielhams/didbs/master/packages/python2/python2_7_16.sgifixes.patch

Depends on: openssl, berkley-db, ncurses, probably other things if it can find them

Example environment:
Code:
CPPFLAGS="-D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS -I/builds/dan/bootstrapinstall/include -I/builds/dan/bootstrapinstall/include/ncurses"
CC=c99
CXX=CC
CFLAGS="-mips4"
CXXFLAGS="$CFLAGS"
LDFLAGS="-mips4 -L/builds/dan/bootstrapinstall/lib"
This one was a fun one - I have to "autoreconf" after applying the patch, and binutils ld/as need to be in the PATH for the build to complete.
 
Last edited:
Reactions: Elf

massiverobot

Administrator
Staff member
Feb 8, 2019
14
9
3
I'm def looking forward to this one. I'll try and re-create the build on my system and see where I end up.