From owner-freebsd-stable Thu Jun 10 10: 5:28 1999 Delivered-To: freebsd-stable@freebsd.org Received: from misha.cisco.com (misha.cisco.com [171.69.206.50]) by hub.freebsd.org (Postfix) with ESMTP id 2B29414FBB for ; Thu, 10 Jun 1999 10:05:23 -0700 (PDT) (envelope-from mi@misha.cisco.com) Received: (from mi@localhost) by misha.cisco.com (8.9.3/8.9.1) id NAA24524; Thu, 10 Jun 1999 13:04:44 -0400 (EDT) (envelope-from mi) Message-Id: <199906101704.NAA24524@misha.cisco.com> Subject: Re: more on t1lib In-Reply-To: <19990610232155.A56365@terry.dorm10.nctu.edu.tw> from Ying-Chieh Liao at "Jun 10, 1999 11:21:55 pm" To: ijliao@csie.nctu.edu.tw (Ying-Chieh Liao) Date: Thu, 10 Jun 1999 13:04:43 -0400 (EDT) Cc: stable@freebsd.org Reply-To: mi@aldan.algebra.com From: Mikhail Teterin X-Mailer: ELM [version 2.4ME+ PL52 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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