Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mysql build error
Date: Tue, 27 Feb 2007 19:49:32
Message-Id: 200702272040.11489.bo.andresen@zlin.dk
In Reply to: Re: [gentoo-user] mysql build error by Uwe Thiem
1 On Tuesday 27 February 2007 19:41:37 Uwe Thiem wrote:
2 > > > CXXFLAGS="O3"
3 > >
4 > > And yet you did... ;)
5 >
6 > Hm... That never was a problem with mysql before. Not even with versions
7 > that do not compile anymore but did in the past.
8 >
9 > Here are the relevant lines in make.conf:
10 > CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
11 > CXXFLAGS="${CFLAGS}"
12 >
13 > That should not cause the dash to be omitted. Anyway, I will give it a try
14 > after copying CFLAGS over to CXXFLAGS verbatim.
15 >
16 > Will let you know about the outcome.
17
18 Are you sure there isn't a second entry setting CXXFLAGS=O3? Or perhaps in
19 your env?
20
21 # grep CXXFLAGS /etc/make.conf
22 # env | grep CXXFLAGS
23
24 > Or are you referring to "-O3" in itself? Same applies here. Never caused a
25 > problem with mysql. See above.
26
27 No, I was referring to the missing dash. From your config.log:
28
29 configure:40088: i686-pc-linux-gnu-g++ -c -DDBUG_OFF
30 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
31 conftest.cpp >&5
32 i686-pc-linux-gnu-g++: O3: No such file or directory
33
34 --
35 Bo Andresen

Replies

Subject Author
Re: [gentoo-user] mysql build error Uwe Thiem <uwix@××××.na>