[Python-bugs-list] [ python-Bugs-811160 ] HP/UX vs configure

SourceForge.net noreply at sourceforge.net
Tue Sep 23 09:58:49 EDT 2003


Bugs item #811160, was opened at 2003-09-23 23:47
Message generated for change (Comment added) made by anthonybaxter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=811160&group_id=5470

Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Anthony Baxter (anthonybaxter)
Assigned to: Nobody/Anonymous (nobody)
Summary: HP/UX vs configure

Initial Comment:
configure is busted when building with HP's compiler.

"cc -Ac" is ancient and broken, "cc -Aa" is too anal to

compile it's own system headers, and "cc -Ae" breaks

autoconf.

The problem is the same one as outlined here:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12100

but in our case, it hits a whole lot of functions.



(basically: AC_CHECK_FUNCS expands to code that ends up

#including limits.h, which ends up including

sys/time.h, which breaks all checks for the various

time related bits.)



The GCC people worked around it with their own version

of the appropriate magic.





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

>Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-09-23 23:58

Message:
Logged In: YES 
user_id=29957

Oh, and the problem also occurs if you use gcc instead of cc -Ae





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

Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-09-23 23:56

Message:
Logged In: YES 
user_id=29957

the functions that fail (erroneously) are

HAVE_CLOCK HAVE_GETTIMEOFDAY HAVE_MKTIME HAVE_SELECT

HAVE_STRFTIME HAVE_STRPTIME HAVE_UTIMES





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

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



More information about the Python-bugs-list mailing list