graphviz port build fails on alpha FBSD 6.3

Anton Shterenlikht mexas at bristol.ac.uk
Mon Jul 7 13:40:10 UTC 2008


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


More information about the freebsd-alpha mailing list