1 |
On 28 February 2007, Bo Ørsted Andresen wrote: |
2 |
> On Wednesday 28 February 2007 07:19:10 Uwe Thiem wrote: |
3 |
> > > Are you sure there isn't a second entry setting CXXFLAGS=O3? Or perhaps |
4 |
> > > in your env? |
5 |
> > > |
6 |
> > > # grep CXXFLAGS /etc/make.conf |
7 |
> > > # env | grep CXXFLAGS |
8 |
> > |
9 |
> > uwe@uwix ~ $ grep CXX /etc/make.conf |
10 |
> > CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" |
11 |
> > |
12 |
> > uwe@uwix ~ $ env | grep CXX |
13 |
> > CXXFLAGS=-O3 -march=pentium4 -mcpu=pentium4 |
14 |
> > |
15 |
> > So where does the dash get lost? Weird. |
16 |
> |
17 |
> So it is set in your env. To something different than in your make.conf. |
18 |
> While this still doesn't explain how it got set to O3 it does seem to |
19 |
> suggest that somehow you're polluting your env... I suggest you figure out |
20 |
> where it gets set or make sure that it doesn't anymore. |
21 |
> |
22 |
> You've pasted an emerge --info where it was set to O3 which matches the |
23 |
> error message in config.log. So once you've figured out to have emerge |
24 |
> --info report something sensible you should be able to emerge it... |
25 |
|
26 |
I now did it as root which has no CXXFLAGS settings: |
27 |
|
28 |
uwix ~ # env | grep CXX |
29 |
uwix ~ # |
30 |
|
31 |
emerge --info is still the same. |
32 |
|
33 |
Unfortunately, there is still an error: |
34 |
|
35 |
make[3]: Entering directory |
36 |
`/var/tmp/portage/dev-db/mysql-5.0.32/work/mysql/bdb/build_unix' |
37 |
/bin/sh ./libtool --mode=compile |
38 |
i686-pc-linux-gnu-gcc -c -I. -I../../././bdb/dist/.. -I../../././bdb/dist/../dbinc -D_GNU_SOURCE -D_REENTRANT -DDBUG_OFF -O3 -march=pentium4 -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1 ../../././bdb/dist/../mutex/mut_pthread.c |
39 |
./libtool: line 323: s,^.*/,,g: No such file or directory |
40 |
./libtool: line 730: -e: command not found |
41 |
*** Warning: inferring the mode of operation is deprecated. |
42 |
*** Future versions of Libtool will require --mode=MODE be specified. |
43 |
./libtool: line 1041: -e: command not found |
44 |
./libtool: line 1041: -e: command not found |
45 |
./libtool: line 1041: -e: command not found |
46 |
./libtool: line 1041: -e: command not found |
47 |
./libtool: line 1041: -e: command not found |
48 |
./libtool: line 1041: -e: command not found |
49 |
./libtool: line 1041: -e: command not found |
50 |
./libtool: line 1041: -e: command not found |
51 |
./libtool: line 1041: -e: command not found |
52 |
./libtool: line 1041: -e: command not found |
53 |
./libtool: line 1041: -e: command not found |
54 |
./libtool: line 1041: -e: command not found |
55 |
./libtool: line 1041: -e: command not found |
56 |
./libtool: line 1069: -e: command not found |
57 |
./libtool: line 1093: -e: command not found |
58 |
: compile: cannot determine name of library object from `' |
59 |
make[3]: *** [mut_pthread.o] Error 1 |
60 |
make[3]: Leaving directory |
61 |
`/var/tmp/portage/dev-db/mysql-5.0.32/work/mysql/bdb/build_unix' |
62 |
make[2]: *** [all] Error 2 |
63 |
make[2]: Leaving directory |
64 |
`/var/tmp/portage/dev-db/mysql-5.0.32/work/mysql/bdb' |
65 |
make[1]: *** [all-recursive] Error 1 |
66 |
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.32/work/mysql' |
67 |
make: *** [all] Error 2 |
68 |
|
69 |
This suggests some issue with libtool. |
70 |
|
71 |
No error in config.log. |
72 |
|
73 |
Uwe |
74 |
|
75 |
|
76 |
-- |
77 |
A fast and easy generator of fractals for KDE: |
78 |
http://www.SysEx.com.na/iwy-1.0.tar.bz2 |
79 |
Proof of concept of a TSP solver for KDE: |
80 |
http://www.SysEx.com.na/epat-0.1.tar.bz2 |
81 |
-- |
82 |
gentoo-user@g.o mailing list |