Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 1999 14:09:05 -0800 (PST)
From:      dann@greycat.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15426: devel/t1lib hangs in configure
Message-ID:  <199912112209.OAA60992@bigphred.greycat.com>

next in thread | raw e-mail | index | archive | help

>Number:         15426
>Category:       ports
>Synopsis:       build of devel/t1lib hangs in configure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 11 14:10:02 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Dann Lunsford
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
Just me...
>Environment:

FreeBSD bigphred.greycat.com 3.3-STABLE FreeBSD 3.3-STABLE #0: Sun Nov 21 20:35:41 PST 1999     root@bigphred.greycat.com:/usr/src/sys/compile/PHRED  i386

>Description:
building devel/t1lib (t1lib-0.9.2). make hangs during autoconfigure, at
checking for external symbols requiring underscores. Last few lines of 
config log are:

configure:2768: checking size of void *
configure:2787: cc -o conftest -O -pipe   conftest.c  1>&5
configure:2812: checking for gcc strength-reduce bug
configure:2831: cc -o conftest -O -pipe   conftest.c  1>&5
configure:2854: checking whether external symbols need an underscore prefix
configure:2873: cc -o conftest -O -pipe   conftest.c conftest_asm.s  1>&5

By sprinkling a few echo's it appears to be stopping dead at the "if"
statement in configure indicated below.  I can't see anything wrong 
with it, though.

echo $ac_n "checking "whether external symbols need an underscore prefix"""... $ac_c" 1>&6
echo "configure:2854: checking "whether external symbols need an underscore prefix"" >&5
if eval "test \"`echo '$''{'ac_cv_c_extern_prefix'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  saved_libs=$LIBS
LIBS="conftest_asm.s $LIBS"
cat > conftest_asm.s <<EOF
	.globl _ac_test
_ac_test:
	.long 0
EOF
cat > conftest.$ac_ext <<EOF
#line 2866 "configure"
#include "confdefs.h"
extern int ac_test;
int main() {
if (ac_test) return 1
; return 0; }
EOF           ***************  this if \/ stops, probably here \/
if { (eval echo configure:2873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*         ******** never gets here...
  ac_cv_c_extern_prefix="yes"
else
  echo "configure: failed program was:" 1>&5   ******** ... or here 
  cat conftest.$ac_ext 1>&5
  rm -rf conftest*
  ac_cv_c_extern_prefix="no"
fi
rm -f conftest*
LIBS=$saved_libs
fi

echo "$ac_t""$ac_cv_c_extern_prefix" 1>&6
if test "$ac_cv_c_extern_prefix" = "yes"
then
  cat >> confdefs.h <<\EOF
#define NEED_UNDERSCORE_PREFIX 1
EOF

fi
>How-To-Repeat:
            cd /usr/ports/devel/t1lib ; make

>Fix:
      I can't see any.  Been trying to get past this for
the better part of the day.  Shell bug?  Compiler bug?
Anyway, this library is needed for a few other ports, notably
xpdf.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912112209.OAA60992>