[issue1633863] AIX: configure ignores $CC

2010-09-21 Thread Sébastien Sablé

Sébastien Sablé sa...@users.sourceforge.net added the comment:

I am currently in the process of correcting the building of Python on AIX and 
stabilizing the tests in order to add my buildbot as a slave of the official 
buildbot master, cf post on python-dev
http://mail.python.org/pipermail/python-dev/2010-September/103774.html

Could someone please commit this (IMO straightforward) patch?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1633863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1633863] AIX: configure ignores $CC

2010-09-21 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Ok, committed in r84946 (3.2), r84947 (3.1) and r84948 (2.7). Thank you!

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
versions:  -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1633863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1633863] AIX: configure ignores $CC

2010-09-15 Thread Sébastien Sablé

Sébastien Sablé sa...@users.sourceforge.net added the comment:

Antoine, I tested your commit with cc_r and it compiles fine (I have buildbot 
running now, just need to find a way to make the results publicly browsable).

I still think xlc_r would be a better choice as a default: at the moment ctypes 
will not compile on AIX, but cc_r will fail as soon as when it compiles 
_ctypes.c, while xlc_r will compile this file fine but fail later on 
libffi/src/powerpc/ffi.c

cc_r -qlanglvl=extc89 -DNDEBUG -O -O2 -O2 
-Ibuild/temp.aix-6.1-3.2/libffi/include -Ibuild/temp.aix-6.1-3.2/libffi 
-I/san_cis/home/cis/buildbot/buildbot-aix6/py3k/build/Modules/_ctypes/libffi/src
 -I. -I./Include -I/home/cis/buildbot/support-buildbot/include 
-I/home/cis/buildbot/support-buildbot/include/ncurses -I/usr/local/include 
-IInclude -I/san_cis/home/cis/buildbot/buildbot-aix6/py3k/build -c 
/san_cis/home/cis/buildbot/buildbot-aix6/py3k/build/Modules/_ctypes/_ctypes.c 
-o 
build/temp.aix-6.1-3.2/san_cis/home/cis/buildbot/buildbot-aix6/py3k/build/Modules/_ctypes/_ctypes.o
build/temp.aix-6.1-3.2/libffi/include/ffi.h, line 133.27: 1506-207 (W) 
Integer constant 9223372036854775807 out of range.
build/temp.aix-6.1-3.2/libffi/include/ffi.h, line 134.3: 1506-205 (S) #error 
no 64-bit data type supported
/san_cis/home/cis/buildbot/buildbot-aix6/py3k/build/Modules/_ctypes/_ctypes.c,
 line 3222.27: 1506-068 (W) Operation between types void* and int(*)(void) 
is not allowed.
/san_cis/home/cis/buildbot/buildbot-aix6/py3k/build/Modules/_ctypes/_ctypes.c,
 line 3766.31: 1506-280 (W) Function argument assignment between types 
int(*)(void) and void* is not allowed.
/san_cis/home/cis/buildbot/buildbot-aix6/py3k/build/Modules/_ctypes/_ctypes.c,
 line 5386.63: 1506-280 (W) Function argument assignment between types void* 
and void*(*)(void*,const void*,unsigned long) is not allowed.
/san_cis/home/cis/buildbot/buildbot-aix6/py3k/build/Modules/_ctypes/_ctypes.c,
 line 5387.62: 1506-280 (W) Function argument assignment between types void* 
and void*(*)(void*,int,unsigned long) is not allowed.
/san_cis/home/cis/buildbot/buildbot-aix6/py3k/build/Modules/_ctypes/_ctypes.c,
 line 5388.65: 1506-280 (W) Function argument assignment between types void* 
and struct _object*(*)(const char*,int) is not allowed.
/san_cis/home/cis/buildbot/buildbot-aix6/py3k/build/Modules/_ctypes/_ctypes.c,
 line 5389.60: 1506-280 (W) Function argument assignment between types void* 
and struct _object*(*)(void*,struct _object*,struct _object*) is not allowed.
/san_cis/home/cis/buildbot/buildbot-aix6/py3k/build/Modules/_ctypes/_ctypes.c,
 line 5391.66: 1506-280 (W) Function argument assignment between types void* 
and struct _object*(*)(const unsigned short*,int) is not allowed.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1633863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1633863] AIX: configure ignores $CC

2010-09-15 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Sébastien, you could email Martin (tracker id loewis) about adding your 
buildbot to our unstable fleet (or even to stable if it is stable; that is, the 
tests normally pass and don't randomly fail).  As long as you are around to 
help fix bugs it would be great to have an aix buildbot in our buildbot fleet.

(NB: see also http://wiki.python.org/moin/BuildBot, which unfortunately is a 
bit out of date...)

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1633863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1633863] AIX: configure ignores $CC

2010-09-14 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

 cc_r does not seems to be able to compile py3k, so it seems to be a bad 
 idea to force it by default.

Python should be able to compile with any C89-compliant compiler, so it seems a 
good idea to open a bug for compile errors instead.
In this case, the fix is trivial, though, so I'm simply committing it (replace 
a C++-style comment (// ...) with a normal /* ... */)). Can you try again 
with r84799?

That said, it seems xlc (or xlc_r) enables additional C extensions compared to 
cc, so perhaps it's beneficial to use it anyway?

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1633863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1633863] AIX: configure ignores $CC

2010-08-30 Thread Sébastien Sablé

Sébastien Sablé sa...@users.sourceforge.net added the comment:

The workaround that I have been using is to call configure like this:

./configure --with-gcc=${CC}

(I usually define CC like this: export CC=xlc_r)

Python compiles fine on AIX 6.1 with that.

--
nosy: +sable

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1633863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1633863] AIX: configure ignores $CC

2010-06-16 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
versions:  -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1633863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1633863] AIX: configure ignores $CC

2008-10-03 Thread David Jones

David Jones [EMAIL PROTECTED] added the comment:

This is still a problem for Python 2.6 on AIX 6.1.

The simplest fix is to change «CC=cc_r» to «CC=${CC:-xlc_r}» but I have no 
idea how to go about changing the configure script.

--
nosy: +drj
versions: +Python 2.6

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1633863
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com