List Info

Thread: Re: mysql build error




Re: mysql build error
country flaguser name
Denmark
2007-02-27 13:40:07
On Tuesday 27 February 2007 19:41:37 Uwe Thiem wrote:
> > > CXXFLAGS="O3"
> >
> > And yet you did... ;)
>
> Hm... That never was a problem with mysql before. Not
even with versions
> that do not compile anymore but did in the past.
>
> Here are the relevant lines in make.conf:
> CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer
-pipe"
> CXXFLAGS="$"
>
> That should not cause the dash to be omitted. Anyway, I
will give it a try
> after copying CFLAGS over to CXXFLAGS verbatim.
>
> Will let you know about the outcome.

Are you sure there isn't a second entry setting CXXFLAGS=O3?
Or perhaps in 
your env?

# grep CXXFLAGS /etc/make.conf
# env | grep CXXFLAGS

> Or are you referring to "-O3" in itself? Same
applies here. Never caused a
> problem with mysql. See above.

No, I was referring to the missing dash. From your
config.log:

configure:40088: i686-pc-linux-gnu-g++ -c  -DDBUG_OFF 
O3 -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions
-fno-strict-aliasing -felide-constructors -fno-rtti
-fno-implicit-templates   -fno-implicit-templates
-fno-exceptions -fno-rtti  
conftest.cpp >&5
i686-pc-linux-gnu-g++: O3: No such file or directory

-- 
Bo Andresen
Re: mysql build error
user name
2007-02-28 00:19:10
On 27 February 2007, Bo Ørsted Andresen wrote:
> On Tuesday 27 February 2007 19:41:37 Uwe Thiem wrote:
> > > > CXXFLAGS="O3"
> > >
> > > And yet you did... ;)
> >
> > Hm... That never was a problem with mysql before.
Not even with versions
> > that do not compile anymore but did in the past.
> >
> > Here are the relevant lines in make.conf:
> > CFLAGS="-O3 -march=pentium4
-fomit-frame-pointer -pipe"
> > CXXFLAGS="$"
> >
> > That should not cause the dash to be omitted.
Anyway, I will give it a
> > try after copying CFLAGS over to CXXFLAGS
verbatim.
> >
> > Will let you know about the outcome.

Alright, that yielded the very same outcome.

>
> Are you sure there isn't a second entry setting
CXXFLAGS=O3? Or perhaps in
> your env?
>
> # grep CXXFLAGS /etc/make.conf
> # env | grep CXXFLAGS

uweuwix ~ $ grep CXX /etc/make.conf
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer
-pipe"

uweuwix ~ $ env | grep CXX
CXXFLAGS=-O3 -march=pentium4 -mcpu=pentium4

So where does the dash get lost? Weird.

Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.Sy
sEx.com.na/iwy-1.0.tar.bz2
Proof of concept of a TSP solver for KDE:
http://www.S
ysEx.com.na/epat-0.1.tar.bz2
--
gentoo-usergentoo.org mailing list


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )