[Python-bugs-list] [ python-Bugs-662840 ] configure script fails with wchat_t size.

SourceForge.net noreply@sourceforge.net
Mon, 06 Jan 2003 14:01:09 -0800


Bugs item #662840, was opened at 2003-01-05 23:03
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=662840&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Nadav Horesh (nadavhoresh)
Assigned to: Nobody/Anonymous (nobody)
Summary: configure script fails with wchat_t size. 

Initial Comment:
Python version 2.3a1
System RH 7.3
Compiler: gcc 3.2.1

The configure script bails out when trying to determain
the size of wchar_t. The configure runs OK with gcc 2.96.
.
.
.

checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for wchar_t... yes
checking size of wchar_t... configure: error: cannot
compute sizeof (wchar_t), 77


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2003-01-06 23:01

Message:
Logged In: YES 
user_id=21627

I see. The problem lies in these lines

configure:15806: ./conftest
./configure: line 1:  6876 Segmentation fault     
./conftest$ac_exeext

Now, it is not clear why the test program (printed below
these lines) could possible cause a segmentation fault -
unless there is a bug in the compiler. So I would conclude
this to be a gcc bug, on this configuration.

It would be possible to track this further down, but that
would require access to the machine, using a debugger, etc.

----------------------------------------------------------------------

Comment By: Nadav Horesh (nadavhoresh)
Date: 2003-01-06 21:02

Message:
Logged In: YES 
user_id=75473

Further info:
On the same system (RH7.3+gcc3.2.1+PIII) I compliled python
2.2.2 without any problems. On another system: RH8.0 +
gcc3.2.1 + dual PIII --- the configure script concluded
without errors. I didn't try to compile though.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-01-06 00:12

Message:
Logged In: YES 
user_id=21627

Can you please attach the resulting config.log?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=662840&group_id=5470