Re: [oi-dev] Python 2.7 SPARC build needs an adjusted patch and a new patch

2018-06-04 Thread Gary Mills
On Mon, Jun 04, 2018 at 02:59:40AM +0200, Aurélien Larcher wrote: > >Why not just activate GNU extensions with -std=gnu99? >Python 2.7 was probably compiled with them until I added -std=c99. I didn't want to do anything that might affect the x86 build. -- -Gary Mills-

Re: [oi-dev] Python 2.7 SPARC build needs an adjusted patch and a new patch

2018-06-03 Thread Aurélien Larcher
On Mon, Jun 4, 2018 at 2:26 AM, Gary Mills wrote: > In an attempt to build python2.7 on a T2000 (SPARC), I received this > error: > > /usr/gcc/4.4.4/bin/gcc -m32 -O3 -mno-app-regs -fPIC -DPIC -std=c99 > -D_XOPEN_SOURCE=600 -m32 -fPIC -DPIC -R/usr/gnu/lib -L/usr/gnu/lib -o > python \ >

[oi-dev] Python 2.7 SPARC build needs an adjusted patch and a new patch

2018-06-03 Thread Gary Mills
In an attempt to build python2.7 on a T2000 (SPARC), I received this error: /usr/gcc/4.4.4/bin/gcc -m32 -O3 -mno-app-regs -fPIC -DPIC -std=c99 -D_XOPEN_SOURCE=600 -m32 -fPIC -DPIC -R/usr/gnu/lib -L/usr/gnu/lib -o python \ Modules/python.o \ -L. -lpython2.7