From owner-freebsd-alpha@FreeBSD.ORG Mon Jul 7 13:40:10 2008 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C24291065681 for ; Mon, 7 Jul 2008 13:40:10 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 7B5168FC19 for ; Mon, 7 Jul 2008 13:40:10 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KFqwo-00021q-O5; Mon, 07 Jul 2008 14:40:08 +0100 Received: from mech-cluster238.men.bris.ac.uk ([137.222.187.238]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1KFqwo-0003rW-1h; Mon, 07 Jul 2008 14:40:06 +0100 Received: from mech-cluster238.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m67De5sd096021; Mon, 7 Jul 2008 14:40:05 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m67De5xD096008; Mon, 7 Jul 2008 14:40:05 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster238.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 7 Jul 2008 14:40:04 +0100 From: Anton Shterenlikht To: Dirk Meyer , freebsd-alpha@freebsd.org Message-ID: <20080707134004.GA74030@mech-cluster238.men.bris.ac.uk> References: <20080705155035.GA88847@mech-cluster238.men.bris.ac.uk> <20080705155035.GA88847@mech-cluster238.men.bris.ac.uk> <20080705201242.GA20124@mech-cluster238.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -1.3 X-Spam-Level: - Cc: Subject: Re: graphviz port build fails on alpha FBSD 6.3 X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2008 13:40:10 -0000 On Mon, Jul 07, 2008 at 03:06:41PM +0200, Dirk Meyer wrote: > Hallo Anton Shterenlikht, > > > > I get the following error when building this port on > > > FreeBSD 6.3-STABLE #0: alpha (ds10l). > > Thanks fo testing Alpha. > > > # make configure > configure.out > > # grep strncasecmp configure.out > > checking for strncasecmp... no > > # > > Can you look into the config.log. > There should be a section with "strncasecmp". > somwhow compile/link of it failed. > > > Where in the configure script is the check for strncasecmp done? > > On i386 FBSD 7.0-stable all is fine: checking for strncasecmp... yes > > search for strncasecmp > its a start of a for block in configure. Dirk I think the following fragment of config.log is relevant: %vi config.log 6929 configure:9333: result: no 6930 configure:9253: checking for strncasecmp 6931 configure:9309: cc -o conftest -O -pipe -mcpu=ev6 -mieee -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -I/usr/local/include -I/usr/local/include -L/usr/local/lib -L/usr/local/lib conftest.c >&5 6932 conftest.c:86: warning: function declaration isn't a prototype 6933 conftest.c:96: warning: function declaration isn't a prototype 6934 /usr/lib/crtfastmath.o(.text+0x1c): In function `set_fast_math': 6935 : undefined reference to `__ieee_set_fp_control' 6936 /usr/lib/crtfastmath.o(.text+0x20): In function `set_fast_math': 6937 : undefined reference to `__ieee_set_fp_control' 6938 configure:9315: $? = 1 which indicates that lines starting with 9253 in configure are of interest: %vi configure 9250 for ac_func in strcasecmp strncasecmp 9251 do 9252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9253 { echo "$as_me:$LINENO: checking for $ac_func" >&5 9254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9256 echo $ECHO_N "(cached) $ECHO_C" >&6 9257 else 9258 cat >conftest.$ac_ext <<_ACEOF I'd be very happy to provide any other build output. many thanks for supporting this port on alpha! anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423