From nobody  Mon Nov  9 13:17:42 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id NAA23668;
          Mon, 9 Nov 1998 13:17:42 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199811092117.NAA23668@hub.freebsd.org>
Date: Mon, 9 Nov 1998 13:17:42 -0800 (PST)
From: yds@ingress.net
To: freebsd-gnats-submit@freebsd.org
Subject: configure for python-1.5.1 thinks cc is a cross compiler
X-Send-Pr-Version: www-1.0

>Number:         8636
>Category:       ports
>Synopsis:       configure for python-1.5.1 thinks cc is a cross compiler
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov  9 13:20:04 PST 1998
>Closed-Date:    Wed Nov 11 09:10:35 PST 1998
>Last-Modified:  Wed Nov 11 09:11:56 PST 1998
>Originator:     Yarema
>Release:        3.0-CURRENT
>Organization:
IngressNet
>Environment:
FreeBSD webber.ingress.net 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Wed Nov  4 18:09:36 EST 1998  yds@webber.ingress.net:/usr/src/sys/compile/SERVER  i386
>Description:
===>  Configuring for python-1.5.1
creating cache ./config.cache
checking MACHDEP... freebsd3
checking CCC... 
checking for --without-gcc... no
checking for gcc... cc
checking whether the C compiler (cc -pipe -O2 -D_THREAD_SAFE -pthread  -rdynamic) works... yes
checking whether the C compiler (cc -pipe -O2 -D_THREAD_SAFE -pthread  -rdynamic) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking LINKCC... $(PURIFY) $(CC)
checking for ranlib... ranlib
checking for ar... ar
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for minix/config.h... no
checking whether cc accepts -Olimit 1500... configure: error: can not run test program while cross compiling
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

>How-To-Repeat:
On recent ELF 3.0-CURRENT do: make configure

>Fix:

>Release-Note:
>Audit-Trail:

From: Thomas Gellekum <tg@ihf.rwth-aachen.de>
To: yds@ingress.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/8636: configure for python-1.5.1 thinks cc is a cross compiler
Date: 10 Nov 1998 09:24:47 +0100

 yds@ingress.net writes:
 
 > checking whether the C compiler (cc -pipe -O2 -D_THREAD_SAFE -pthread  -rdynamic) is a cross-compiler... yes
 
 Could you please post the part from config.log with this check? IIRC,
 configure tries to run a small program for this check. If that fails
 for some reason it may think cc is a cross-compiler.
 
 tg
State-Changed-From-To: open->closed 
State-Changed-By: tg 
State-Changed-When: Wed Nov 11 09:10:35 PST 1998 
State-Changed-Why:  
Local problem. 
>Unformatted:
