Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 1999 13:04:43 -0400 (EDT)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        ijliao@csie.nctu.edu.tw (Ying-Chieh Liao)
Cc:        stable@freebsd.org
Subject:   Re: more on t1lib
Message-ID:  <199906101704.NAA24524@misha.cisco.com>
In-Reply-To: <19990610232155.A56365@terry.dorm10.nctu.edu.tw> from Ying-Chieh Liao at "Jun 10, 1999 11:21:55 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!  I'm trying  to debug  a  problem with  one of  the latest  ports
(devel/t1lib). The port's maintainer, Ying-Chieh Liao, can not reproduce
it. The port does  not do any patching, so a number  of people used this
exact configure  script with no  troubles. I'm hoping a  larger audience
can help me understand what's going on.

The configure  script gets  stuck, because one  of the  tests ("checking
whether external  symbols need  an underscore prefix")  starts expecting
input from stdin, it seems. I first  thought, it is related to my choice
of CFLAGS,  but it behaves  the same  way even if  I do not  touch them.

Could  I  be  running  "just  the right"  version  of  stable?  (FreeBSD
3.2-STABLE Tue  Jun 8 12:46:07 EDT  1999 i386)... I first  observed this
during the simple  ``make install'' of the port, but  the line that make
ends up executing:

	env CC="cc" CXX="c++"  CFLAGS="-O -pipe" CXXFLAGS="-O -pipe" \
		INSTALL="/usr/bin/install -c -o root -g wheel" \
		INSTALL_DATA="install -c -o root -g wheel -m 444" \
		INSTALL_PROGRAM="install -c -s -o root -g wheel -m \
		555" INSTALL_SCRIPT="install -c -o root -g wheel -m \
		555" PORTOBJFORMAT=elf ./configure --prefix=/usr/local \
		i386--freebsd3.2

hangs by itself.

Putting ``set -x'' in the middle of the configure script shows:

checking for gcc strength-reduce bug... no
checking whether external symbols need an underscore prefix... + echo ${ac_cv_c_extern_prefix+set}
+ eval test "${ac_cv_c_extern_prefix+set}" = set
+ test  = set
+ saved_libs=
+ LIBS=conftest_asm.s 
+ cat
+ cat
+ eval echo configure:2794: "${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5"
+ echo configure:2794: cc -o conftest -O -pipe   conftest.c conftest_asm.s  1>&5
[... HANG ...]

The list of processes in the terminal then appears as (some fields removed):

  PID  PPID WCHAN STAT TIME COMMAND
  359   353 pause Is  0:00.71 -csh (tcsh)
22327   359 wait  I+  0:00.27 /bin/sh ./configure --prefix=/usr/local i386--freebsd3.2
23174 22327 wait  I+  0:00.00 /bin/sh ./configure --prefix=/usr/local i386--freebsd3.2
23175 23174 wait  I+  0:00.01 cc -o conftest -O -pipe conftest.c conftest_asm.s
23179 23175 ttyin I+  0:00.01 /usr/libexec/elf/as -o /var/tmp/ccy231752.o conftest_asm.s -

Note, the ``ttyin'' state of the `as'... Any clues? Thanks!

	-mi


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




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