1 |
I bootstrapped with odcctools-20080820. |
2 |
I finished bootstrapping with gcc-apple-4.0.1_p5484. |
3 |
|
4 |
I just tried re-emerging gcc-apple-4.2.1_p5564 which also pulled in |
5 |
gmp and mpfr. |
6 |
|
7 |
However it still failed. This time with a slightly different error. |
8 |
|
9 |
John |
10 |
|
11 |
configure:4241: checking size of int |
12 |
configure:4560: /Library/Gentoo/var/tmp/portage/sys-devel/gcc- |
13 |
apple-4.2.1_p5564/work/build/./prev-gcc/xgcc -B/Library/Gentoo/var/ |
14 |
tmp/portage/sys-devel/gcc-apple-4.2.1_p5564/work/build/./prev-gcc/ -B/ |
15 |
Library/Gentoo/usr/i686-apple-darwin8/bin/ -o conftest -g -O2 - |
16 |
mdynamic-no-pic conftest.c >&5 |
17 |
/SourceCache/dwarf_utilities/dwarf_utilities-22/source/DWARFdSYM.cpp: |
18 |
968: failed assertion `!"Unknown one-operand"' |
19 |
xgcc: Internal error: Abort trap (program dsymutil) |
20 |
Please submit a full bug report. |
21 |
See <URL:http://developer.apple.com/bugreporter> for instructions. |
22 |
configure:4563: $? = 1 |
23 |
configure: program exited with status 1 |
24 |
configure: failed program was: |
25 |
| /* confdefs.h. */ |
26 |
| |
27 |
| #define PACKAGE_NAME "" |
28 |
| #define PACKAGE_TARNAME "" |
29 |
| #define PACKAGE_VERSION "" |
30 |
| #define PACKAGE_STRING "" |
31 |
| #define PACKAGE_BUGREPORT "" |
32 |
| #define HAVE_SYS_FILE_H 1 |
33 |
| #define HAVE_SYS_PARAM_H 1 |
34 |
| #define HAVE_LIMITS_H 1 |
35 |
| #define HAVE_STDLIB_H 1 |
36 |
| #define HAVE_STRING_H 1 |
37 |
| #define HAVE_UNISTD_H 1 |
38 |
| #define HAVE_STRINGS_H 1 |
39 |
| #define HAVE_SYS_TIME_H 1 |
40 |
| #define HAVE_TIME_H 1 |
41 |
| #define HAVE_SYS_RESOURCE_H 1 |
42 |
| #define HAVE_SYS_STAT_H 1 |
43 |
| #define HAVE_SYS_MMAN_H 1 |
44 |
| #define HAVE_FCNTL_H 1 |
45 |
| #define HAVE_ALLOCA_H 1 |
46 |
| #define HAVE_SYS_SYSCTL_H 1 |
47 |
| #define HAVE_STDINT_H 1 |
48 |
| #define HAVE_SYS_WAIT_H 1 |
49 |
| #define TIME_WITH_SYS_TIME 1 |
50 |
| #define STDC_HEADERS 1 |
51 |
| #define HAVE_SYS_TYPES_H 1 |
52 |
| #define HAVE_SYS_STAT_H 1 |
53 |
| #define HAVE_STDLIB_H 1 |
54 |
| #define HAVE_STRING_H 1 |
55 |
| #define HAVE_MEMORY_H 1 |
56 |
| #define HAVE_STRINGS_H 1 |
57 |
| #define HAVE_INTTYPES_H 1 |
58 |
| #define HAVE_STDINT_H 1 |
59 |
| #define HAVE_UNISTD_H 1 |
60 |
| /* end confdefs.h. */ |
61 |
| #include <stdio.h> |
62 |
| #if HAVE_SYS_TYPES_H |
63 |
| # include <sys/types.h> |
64 |
| #endif |
65 |
| #if HAVE_SYS_STAT_H |
66 |
| # include <sys/stat.h> |
67 |
| #endif |
68 |
| #if STDC_HEADERS |
69 |
| # include <stdlib.h> |
70 |
| # include <stddef.h> |
71 |
| #else |
72 |
| # if HAVE_STDLIB_H |
73 |
| # include <stdlib.h> |
74 |
| # endif |
75 |
| #endif |
76 |
| #if HAVE_STRING_H |
77 |
| # if !STDC_HEADERS && HAVE_MEMORY_H |
78 |
| # include <memory.h> |
79 |
| # endif |
80 |
| # include <string.h> |
81 |
| #endif |
82 |
| #if HAVE_STRINGS_H |
83 |
| # include <strings.h> |
84 |
| #endif |
85 |
| #if HAVE_INTTYPES_H |
86 |
| # include <inttypes.h> |
87 |
| #else |
88 |
| # if HAVE_STDINT_H |
89 |
| # include <stdint.h> |
90 |
| # endif |
91 |
| #endif |
92 |
| #if HAVE_UNISTD_H |
93 |
| # include <unistd.h> |
94 |
| #endif |
95 |
| long longval () { return (long) (sizeof (int)); } |
96 |
| unsigned long ulongval () { return (long) (sizeof (int)); } |
97 |
| #include <stdio.h> |
98 |
| #include <stdlib.h> |
99 |
| int |
100 |
| main () |
101 |
| { |
102 |
| |
103 |
| FILE *f = fopen ("conftest.val", "w"); |
104 |
| if (! f) |
105 |
| exit (1); |
106 |
| if (((long) (sizeof (int))) < 0) |
107 |
| { |
108 |
| long i = longval (); |
109 |
| if (i != ((long) (sizeof (int)))) |
110 |
| exit (1); |
111 |
| fprintf (f, "%ld\n", i); |
112 |
| } |
113 |
| else |
114 |
| { |
115 |
| unsigned long i = ulongval (); |
116 |
| if (i != ((long) (sizeof (int)))) |
117 |
| exit (1); |
118 |
| fprintf (f, "%lu\n", i); |
119 |
| } |
120 |
| exit (ferror (f) || fclose (f) != 0); |
121 |
| |
122 |
| ; |
123 |
| return 0; |
124 |
| } |
125 |
configure:4578: error: cannot compute sizeof (int), 77 |
126 |
See `config.log' for more details. |
127 |
|
128 |
On Oct 6, 2008, at 7:55 AM, Fabian Groffen wrote: |
129 |
|
130 |
> What odcctools do you have installed? |
131 |
> |
132 |
> |
133 |
> On 05-10-2008 16:45:20 -0400, John Gibson wrote: |
134 |
>> I've been trying bootstrap on 10.4 and I've hit problems compiling |
135 |
>> gcc-apple (which defaults to 4.2.1_p5564). |
136 |
>> It looks like the same problem that arose last fall: http://www.mail- |
137 |
>> archive.com/gentoo-alt@l.g.o/msg03224.html |
138 |
>> Was it ever resolved? |
139 |
>> I'll try some of the 4.0.1 versions to see if they work properly. |
140 |
>> |
141 |
>> Here's the info that I've been able to cull from the logs: |
142 |
>> checking for ANSI C header files... rm: cannot remove |
143 |
>> `conftest.dSYM': Is |
144 |
>> a directory |
145 |
>> rm: cannot remove `conftest.dSYM': Is a directory |
146 |
>> yes |
147 |
>> checking for sys/types.h... yes |
148 |
>> checking for sys/stat.h... yes |
149 |
>> checking for stdlib.h... yes |
150 |
>> checking for string.h... yes |
151 |
>> checking for memory.h... yes |
152 |
>> checking for strings.h... yes |
153 |
>> checking for inttypes.h... yes |
154 |
>> checking for stdint.h... yes |
155 |
>> checking for unistd.h... yes |
156 |
>> checking for void *... yes |
157 |
>> checking size of void *... configure: error: cannot compute sizeof |
158 |
>> (void |
159 |
>> *) |
160 |
>> See `config.log' for more details. |
161 |
>> make[2]: *** [configure-stage2-gcc] Error 77 |
162 |
>> make[1]: *** [stage2-bubble] Error 2 |
163 |
>> make: *** [bootstrap] Error 2 |
164 |
>> * ERROR: sys-devel/gcc-apple-4.2.1_p5564 failed: |
165 |
>> * emake failed |
166 |
>> * |
167 |
>> * Call stack: |
168 |
>> * ebuild.sh: 49: <call src_compile> |
169 |
>> * environment:4918: emake bootstrap || die "emake |
170 |
>> failed"; |
171 |
>> |
172 |
>> |
173 |
>> The error from config.log: |
174 |
>> configure:4278: result: yes |
175 |
>> configure:4285: checking size of void * |
176 |
>> configure:4587: /Library/Gentoo/var/tmp/portage/sys-devel/gcc- |
177 |
>> apple-4.2.1_p5564/work/build/./prev-gcc/xgcc -B/Library/Gentoo/var/ |
178 |
>> tmp/portage/sys-devel/gcc-apple-4.2.1_p5564/work/build |
179 |
>> /./prev-gcc/ -B/Library/Gentoo/usr/i686-apple-darwin8/bin/ -o |
180 |
>> conftest -g |
181 |
>> -O2 -mdynamic-no-pic -I/Library/Gentoo/usr/include conftest.c >&5 |
182 |
>> /SourceCache/dwarf_utilities/dwarf_utilities-22/source/DWARFdSYM.cpp: |
183 |
>> 968: failed assertion `!"Unknown one-operand"' |
184 |
>> xgcc: Internal error: Abort trap (program dsymutil) |
185 |
>> Please submit a full bug report. |
186 |
>> See <URL:http://developer.apple.com/bugreporter> for instructions. |
187 |
>> configure:4590: $? = 1 |
188 |
>> |
189 |
>> More detail from config.log: |
190 |
>> configure: program exited with status 1 |
191 |
>> configure: failed program was: |
192 |
>> | /* confdefs.h. */ |
193 |
>> | #define PACKAGE_NAME "" |
194 |
>> | #define PACKAGE_TARNAME "" |
195 |
>> | #define PACKAGE_VERSION "" |
196 |
>> | #define PACKAGE_STRING "" |
197 |
>> | #define PACKAGE_BUGREPORT "" |
198 |
>> | #define DEFAULT_LINKER "/Library/Gentoo/usr/bin/i686-apple- |
199 |
>> darwin8-ld" |
200 |
>> | #define DEFAULT_ASSEMBLER "/Library/Gentoo/usr/bin/i686-apple- |
201 |
>> darwin8-as" |
202 |
>> | #define STDC_HEADERS 1 |
203 |
>> | #define HAVE_SYS_TYPES_H 1 |
204 |
>> | #define HAVE_SYS_STAT_H 1 |
205 |
>> | #define HAVE_STDLIB_H 1 |
206 |
>> | #define HAVE_STRING_H 1 |
207 |
>> | #define HAVE_MEMORY_H 1 |
208 |
>> | #define HAVE_STRINGS_H 1 |
209 |
>> | #define HAVE_INTTYPES_H 1 |
210 |
>> | #define HAVE_STDINT_H 1 |
211 |
>> | #define HAVE_UNISTD_H 1 |
212 |
>> | /* end confdefs.h. */ |
213 |
>> | #include <stdio.h> |
214 |
>> | #ifdef HAVE_SYS_TYPES_H |
215 |
>> | # include <sys/types.h> |
216 |
>> | #endif |
217 |
>> | #ifdef HAVE_SYS_STAT_H |
218 |
>> | # include <sys/stat.h> |
219 |
>> | #endif |
220 |
>> | #ifdef STDC_HEADERS |
221 |
>> | # include <stdlib.h> |
222 |
>> | # include <stddef.h> |
223 |
>> | #else |
224 |
>> | # ifdef HAVE_STDLIB_H |
225 |
>> | # include <stdlib.h> |
226 |
>> | # endif |
227 |
>> | #endif |
228 |
>> | #ifdef HAVE_STRING_H |
229 |
>> | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
230 |
>> | # include <memory.h> |
231 |
>> | # endif |
232 |
>> | # include <string.h> |
233 |
>> | #endif |
234 |
>> | #ifdef HAVE_STRINGS_H |
235 |
>> | # include <strings.h> |
236 |
>> | #endif |
237 |
>> | #ifdef HAVE_INTTYPES_H |
238 |
>> | # include <inttypes.h> |
239 |
>> | #endif |
240 |
>> | #ifdef HAVE_STDINT_H |
241 |
>> | # include <stdint.h> |
242 |
>> | #endif |
243 |
>> | #ifdef HAVE_UNISTD_H |
244 |
>> | # include <unistd.h> |
245 |
>> | #endif |
246 |
>> | typedef void * ac__type_sizeof_; |
247 |
>> | static long int longval () { return (long int) (sizeof |
248 |
>> (ac__type_sizeof_)); } |
249 |
>> | static unsigned long int ulongval () { return (long int) (sizeof |
250 |
>> (ac__type_sizeof_)); } |
251 |
>> | #include <stdio.h> |
252 |
>> | #include <stdlib.h> |
253 |
>> | int |
254 |
>> | main () |
255 |
>> | { |
256 |
>> | |
257 |
>> | FILE *f = fopen ("conftest.val", "w"); |
258 |
>> | if (! f) |
259 |
>> | return 1; |
260 |
>> | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
261 |
>> | { |
262 |
>> | long int i = longval (); |
263 |
>> | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
264 |
>> | return 1; |
265 |
>> | fprintf (f, "%ld\n", i); |
266 |
>> | } |
267 |
>> | else |
268 |
>> | { |
269 |
>> | unsigned long int i = ulongval (); |
270 |
>> | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
271 |
>> | return 1; |
272 |
>> | fprintf (f, "%lu\n", i); |
273 |
>> | } |
274 |
>> | return ferror (f) || fclose (f) != 0; |
275 |
>> | |
276 |
>> | ; |
277 |
>> | return 0; |
278 |
>> | } |
279 |
>> configure:4610: error: cannot compute sizeof (void *) |
280 |
>> See `config.log' for more details. |
281 |
>> |
282 |
>> |
283 |
>> |
284 |
>> John |
285 |
>> |
286 |
>> |
287 |
> |
288 |
> -- |
289 |
> Fabian Groffen |
290 |
> Gentoo on a different level |
291 |
> |