Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2005 22:48:48 +0200
From:      Tilman Linneweh <arved@FreeBSD.org>
To:        Kevin Oberman <oberman@es.net>
Cc:        freebsd-gnats-submit@FreeBSD.org
Subject:   Re: ports/80711: misc/most: most-4.10.1 can not search
Message-ID:  <20050509204848.GN2894@arved.at>
In-Reply-To: <20050509194751.4A3BF5D08@ptavv.es.net>
References:  <200505082028.j48KSlwF053917@freefall.freebsd.org> <20050509194751.4A3BF5D08@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Kevin Oberman [2005-05-09 21:48]:
> I sort of found the problem. 
> 
> >From configure:
> if test "$ac_test_CFLAGS" = set; then
>   CFLAGS=$ac_save_CFLAGS
> elif test $ac_cv_prog_cc_g = yes; then
>   if test "$GCC" = yes; then
>     CFLAGS="-g -O2"
>   else
>     CFLAGS="-g"
>   fi
> else
>   if test "$GCC" = yes; then
>     CFLAGS="-O2"
>   else
>     CFLAGS=
>   fi
> fi

This is the normal configure script. The CFLAGS are set by the ports
framework, so this should not be a problem.
 
> It REALLY wants to build with -O2, but -O2 produces the failures. If I
> compile without the -O2, it works fine.
> 
> How are you compiling?

I am compiling with -O, because there are too many ports that just
don't work with -O2
But i just tried it with -O2 and this one still works...

Anyway, I disabled building with -O2 in the port...

regards
tilman



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