1 |
Okay, so I got bored, upgraded my x86 box to virtually as bleeding edge |
2 |
as I think I can get it, and decided to emerge -e world (on a |
3 |
package-by-package basis), and out of ~207 packages, 6 have issues. |
4 |
They are detailed below. |
5 |
|
6 |
For starters, my base system is the following: |
7 |
|
8 |
gcc-3.3-r1 |
9 |
glibc-2.3.2-r3 + nptl-0.55 |
10 |
binutils-2.14.90.0.5 |
11 |
linux-2.6.0-test1-mm2 |
12 |
linux-headers-2.4.19 |
13 |
|
14 |
CFLAGS/CXXFLAGS = -march=athlon -O2 -pipe -fomit-frame-pointer |
15 |
-fforce-addr -falign-functions=4 -ffast-math -fstack-protector |
16 |
|
17 |
|
18 |
And the failing packages... |
19 |
|
20 |
//-------------------------- |
21 |
=sys-libs/pam-0.75-r11 |
22 |
|
23 |
mkdir -p /usr/obj/portage/pam-0.75-r11/image///lib |
24 |
/bin/install -c -m 755 libpam_misc.so |
25 |
/usr/obj/portage/pam-0.75-r11/image///lib/libpam_misc.so.0.75 |
26 |
( cd /usr/obj/portage/pam-0.75-r11/image///lib ; rm -f libpam_misc.so ; |
27 |
ln -s libpam_misc.so.0 libpam_misc.so ) |
28 |
/bin/install -c -m 644 libpam_misc.a |
29 |
/usr/obj/portage/pam-0.75-r11/image///lib |
30 |
make[1]: Leaving directory |
31 |
`/usr/obj/portage/pam-0.75-r11/work/Linux-PAM-0.75/libpam_misc' |
32 |
* Checking if all modules were built... |
33 |
* ERROR: pam_pwdb module did not build. |
34 |
|
35 |
Notes: This occurs during the "install" phase of things. pwdb was |
36 |
supposedly deprecated, so why it's still grabbing for this module, I'm |
37 |
not quite sure. |
38 |
//-------------------------- |
39 |
|
40 |
|
41 |
//-------------------------- |
42 |
=net-libs/liblockfile-1.03 |
43 |
|
44 |
gcc -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr |
45 |
-falign-functions=4 -ffast-math -fstack-protector -Wall -D_GNU_SOURCE |
46 |
-I. -c -o dotlockfile.o dotlockfile.c |
47 |
dotlockfile.c:131:47: pasting "_PATH_MAILDIR" and ""/"" does not give a |
48 |
valid preprocessing token |
49 |
lockfile.c:392:35: pasting "_PATH_MAILDIR" and ""/"" does not give a |
50 |
valid preprocessing token |
51 |
lockfile.c:401:41: pasting "_PATH_MAILDIR" and ""/"" does not give a |
52 |
valid preprocessing token |
53 |
make: *** [dotlockfile.o] Error 1 |
54 |
make: *** Waiting for unfinished jobs.... |
55 |
make: *** [lockfile.o] Error 1 |
56 |
|
57 |
!!! ERROR: net-libs/liblockfile-1.03 failed. |
58 |
!!! Function src_compile, Line 19, Exitcode 2 |
59 |
!!! (no error message) |
60 |
//-------------------------- |
61 |
|
62 |
|
63 |
//-------------------------- |
64 |
=sys-apps/modutils-2.4.25 |
65 |
|
66 |
gcc -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr |
67 |
-falign-functions=4 -ffast-math -fstack-protector -I./../include |
68 |
-D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 |
69 |
-DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 |
70 |
-DTAINT_URL='"http://www.tux.org/lkml/#export-tainted"' -DCOMBINE_rmmod |
71 |
-DCOMBINE_modprobe -DCOMBINE_lsmod -DCOMBINE_ksyms -DCOMBINE_kallsyms |
72 |
-Dmain=combined_insmod_main -c -o combined_insmod.o insmod.c |
73 |
In file included from modprobe.c:39: |
74 |
../include/util.h:42: warning: built-in function `log' declared as |
75 |
non-function |
76 |
gcc -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr |
77 |
-falign-functions=4 -ffast-math -fstack-protector -o insmod insmod.o |
78 |
rmmod.o modprobe.o lsmod.o ksyms.o kallsyms.o ../obj/libobj.a |
79 |
../util/libutil.a |
80 |
gcc -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr |
81 |
-falign-functions=4 -ffast-math -fstack-protector -o modinfo modinfo.o |
82 |
../obj/libobj.a ../util/libutil.a |
83 |
gcc -static -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr |
84 |
-falign-functions=4 -ffast-math -fstack-protector -o insmod.static |
85 |
insmod.o rmmod.o modprobe.o lsmod.o ksyms.o kallsyms.o ../obj/libobj.a |
86 |
../util/libutil.a |
87 |
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/libgcc_eh.a(unwind-dw2-fde-glibc.o)(.text+0x1651): |
88 |
In function `_Unwind_Find_FDE': |
89 |
/usr/obj/portage/gcc-3.3-r1/work/gcc-3.3/gcc/unwind-dw2-fde-glibc.c:283: |
90 |
undefined reference to `dl_iterate_phdr' |
91 |
collect2: ld returned 1 exit status |
92 |
make[1]: *** [insmod.static] Error 1 |
93 |
make[1]: *** Waiting for unfinished jobs.... |
94 |
In file included from insmod.c:79: |
95 |
../include/util.h:42: warning: built-in function `log' declared as |
96 |
non-function |
97 |
make[1]: Leaving directory |
98 |
`/usr/obj/portage/modutils-2.4.25/work/modutils-2.4.25/insmod' |
99 |
make: *** [all] Error 2 |
100 |
|
101 |
!!! ERROR: sys-apps/modutils-2.4.25 failed. |
102 |
!!! Function src_compile, Line 41, Exitcode 2 |
103 |
!!! emake failed |
104 |
//-------------------------- |
105 |
|
106 |
|
107 |
//-------------------------- |
108 |
=sys-apps/module-init-tools-0.9.12-r1 |
109 |
|
110 |
gcc -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr |
111 |
-falign-functions=4 -ffast-math -fstack-protector -o modinfo modinfo.o |
112 |
../obj/libobj.a ../util/libutil.a |
113 |
gcc -static -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr |
114 |
-falign-functions=4 -ffast-math -fstack-protector -o insmod.static |
115 |
insmod.o rmmod.o modprobe.o lsmod.o ksyms.o kallsyms.o ../obj/libobj.a |
116 |
../util/libutil.a |
117 |
ar rv libmodutils.a combined_insmod.o |
118 |
a - combined_insmod.o |
119 |
ln -sf insmod modprobe |
120 |
ln -sf insmod rmmod |
121 |
ln -sf insmod lsmod |
122 |
ln -sf insmod ksyms |
123 |
ln -sf insmod kallsyms |
124 |
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/libgcc_eh.a(unwind-dw2-fde-glibc.o)(.text+0x1651): |
125 |
In function `_Unwind_Find_FDE': |
126 |
/usr/obj/portage/gcc-3.3-r1/work/gcc-3.3/gcc/unwind-dw2-fde-glibc.c:283: |
127 |
undefined reference to `dl_iterate_phdr' |
128 |
collect2: ld returned 1 exit status |
129 |
make[1]: *** [insmod.static] Error 1 |
130 |
make[1]: Leaving directory |
131 |
`/usr/obj/portage/module-init-tools-0.9.12-r1/work/modutils-2.4.25/insmod' |
132 |
make: *** [all] Error 2 |
133 |
|
134 |
!!! ERROR: sys-apps/module-init-tools-0.9.12-r1 failed. |
135 |
!!! Function src_compile, Line 76, Exitcode 2 |
136 |
!!! emake modutils failed |
137 |
//-------------------------- |
138 |
|
139 |
|
140 |
//-------------------------- |
141 |
=sys-apps/parted-1.6.5 |
142 |
|
143 |
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -march=athlon -O2 |
144 |
-pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -ffast-math |
145 |
-fstack-protector -D_REENTRANT -D_FILE_OFFSET_BITS=64 |
146 |
-DLOCALEDIR=\"/usr/share/locale\" -DLOCALEDIR=\"/usr/share/locale\" -W |
147 |
-Wall -Wno-unused -Wno-switch -Wno-format -Werror -c |
148 |
ext2_block_relocator.c -MT ext2_block_relocator.lo -MD -MP -MF |
149 |
.deps/ext2_block_relocator.TPlo -fPIC -DPIC -o |
150 |
.libs/ext2_block_relocator.lo |
151 |
ext2.c: In function `_inode_update_size': |
152 |
ext2.c:358: warning: integer constant is too large for "long" type |
153 |
ext2.c:359: warning: integer constant is too large for "long" type |
154 |
make[3]: *** [ext2.lo] Error 1 |
155 |
make[3]: *** Waiting for unfinished jobs.... |
156 |
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -march=athlon -O2 |
157 |
-pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -ffast-math |
158 |
-fstack-protector -D_REENTRANT -D_FILE_OFFSET_BITS=64 |
159 |
-DLOCALEDIR=\"/usr/share/locale\" -DLOCALEDIR=\"/usr/share/locale\" -W |
160 |
-Wall -Wno-unused -Wno-switch -Wno-format -Werror -c |
161 |
ext2_block_relocator.c -MT ext2_block_relocator.lo -MD -MP -MF |
162 |
.deps/ext2_block_relocator.TPlo -o ext2_block_relocator.o >/dev/null 2>&1 |
163 |
mv -f .libs/ext2_block_relocator.lo ext2_block_relocator.lo |
164 |
make[3]: Leaving directory |
165 |
`/usr/obj/portage/parted-1.6.5/work/parted-1.6.5/libparted/fs_ext2' |
166 |
make[2]: *** [all-recursive] Error 1 |
167 |
make[2]: Leaving directory |
168 |
`/usr/obj/portage/parted-1.6.5/work/parted-1.6.5/libparted' |
169 |
make[1]: *** [all-recursive] Error 1 |
170 |
make[1]: Leaving directory `/usr/obj/portage/parted-1.6.5/work/parted-1.6.5' |
171 |
make: *** [all] Error 2 |
172 |
|
173 |
!!! ERROR: sys-apps/parted-1.6.5 failed. |
174 |
!!! Function src_compile, Line 31, Exitcode 2 |
175 |
!!! Make failed |
176 |
|
177 |
Notes: Using sys-apps/parted-1.6.5-r1, this problem does not occur. |
178 |
However, -r1 of parted is not yet marked stable or even unstable on x86. |
179 |
//-------------------------- |
180 |
|
181 |
|
182 |
//-------------------------- |
183 |
=net-analyzer/tcpdump-3.7.2 |
184 |
|
185 |
gcc -march=athlon -O2 -pipe -fomit-frame-pointer -fforce-addr |
186 |
-falign-functions=4 -ffast-math -fstack-protector -DHAVE_CONFIG_H -I. |
187 |
-I./missing -I/usr/include -c ./print-sctp.c |
188 |
In file included from print-sctp.c:54: |
189 |
/usr/include/netinet/in.h:83: error: parse error before numeric constant |
190 |
print-sctp.c: In function `sctp_print': |
191 |
print-sctp.c:117: error: `IPPROTO_SCTP' undeclared (first use in this |
192 |
function) |
193 |
print-sctp.c:117: error: (Each undeclared identifier is reported only once |
194 |
print-sctp.c:117: error: for each function it appears in.) |
195 |
make: *** [print-sctp.o] Error 1 |
196 |
|
197 |
!!! ERROR: net-analyzer/tcpdump-3.7.2 failed. |
198 |
!!! Function src_compile, Line 28, Exitcode 2 |
199 |
!!! (no error message) |
200 |
//-------------------------- |
201 |
|
202 |
|
203 |
|
204 |
So anyone got any ideas on all this? That's not half bad for ~207 |
205 |
packages. Some of these I don't think are gcc-3.3 issues, but one never |
206 |
knows (like the pam issue). |
207 |
|
208 |
--Kumba |
209 |
|
210 |
-- |
211 |
"Such is oft the course of deeds that move the wheels of the world: |
212 |
small hands do them because they must, while the eyes of the great are |
213 |
elsewhere." --Elrond |
214 |
|
215 |
|
216 |
-- |
217 |
gentoo-dev@g.o mailing list |