[issue11923] gcc: unrecognized option '-n32'

2011-04-25 Thread Paul Griffith

New submission from Paul Griffith :

In compiling Python 2.7.1 on RHEL I run into the following error message when 
running make.

gcc: unrecognized option '-n32'
gcc -pthread -n32  -Xlinker -export-dynamic -o python \
Modules/python.o \
-L. -lpython2.7 -lpthread -ldl  -lutil   -lm  
gcc: unrecognized option '-n32'
running build
running build_ext


Configured with:

./configure --prefix=/cs/local --enable-shared --libdir=/cs/local/lib64 
--with-gcc=yes

GCC:

 # gcc --version
gcc (GCC) 4.4.4 20100726 (Red Hat 4.4.4-13)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I checked the bug tracker, but I only thing I see related deals with IRIX.

--
components: Build
messages: 134410
nosy: paulg_ca
priority: normal
severity: normal
status: open
title: gcc: unrecognized option '-n32'
type: compile error
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue11923>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11923] gcc: unrecognized option '-n32'

2011-04-26 Thread Paul Griffith

Paul Griffith  added the comment:

I have included the config.log file and a script of configure and make process. 
CFAGS and friends are not set.

--
Added file: http://bugs.python.org/file21782/typescript.python-2.7.1

___
Python tracker 
<http://bugs.python.org/issue11923>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11923] gcc: unrecognized option '-n32'

2011-04-26 Thread Paul Griffith

Paul Griffith  added the comment:

Here is the config.log file!

--
Added file: http://bugs.python.org/file21783/config.log

___
Python tracker 
<http://bugs.python.org/issue11923>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11923] gcc: unrecognized option '-n32'

2011-04-26 Thread Paul Griffith

Paul Griffith  added the comment:

I found the problem, it is with my system. In the past we used to support SGI 
hosts and I had the SGI_ABI environmental variable set to -n32.


Please consider this issue closed.

--
status: open -> closed

___
Python tracker 
<http://bugs.python.org/issue11923>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com