1 |
I've been trying bootstrap on 10.4 and I've hit problems compiling |
2 |
gcc-apple (which defaults to 4.2.1_p5564). |
3 |
It looks like the same problem that arose last fall: http://www.mail- |
4 |
archive.com/gentoo-alt@l.g.o/msg03224.html |
5 |
Was it ever resolved? |
6 |
I'll try some of the 4.0.1 versions to see if they work properly. |
7 |
|
8 |
Here's the info that I've been able to cull from the logs: |
9 |
checking for ANSI C header files... rm: cannot remove |
10 |
`conftest.dSYM': Is a directory |
11 |
rm: cannot remove `conftest.dSYM': Is a directory |
12 |
yes |
13 |
checking for sys/types.h... yes |
14 |
checking for sys/stat.h... yes |
15 |
checking for stdlib.h... yes |
16 |
checking for string.h... yes |
17 |
checking for memory.h... yes |
18 |
checking for strings.h... yes |
19 |
checking for inttypes.h... yes |
20 |
checking for stdint.h... yes |
21 |
checking for unistd.h... yes |
22 |
checking for void *... yes |
23 |
checking size of void *... configure: error: cannot compute sizeof |
24 |
(void *) |
25 |
See `config.log' for more details. |
26 |
make[2]: *** [configure-stage2-gcc] Error 77 |
27 |
make[1]: *** [stage2-bubble] Error 2 |
28 |
make: *** [bootstrap] Error 2 |
29 |
* ERROR: sys-devel/gcc-apple-4.2.1_p5564 failed: |
30 |
* emake failed |
31 |
* |
32 |
* Call stack: |
33 |
* ebuild.sh: 49: <call src_compile> |
34 |
* environment:4918: emake bootstrap || die "emake |
35 |
failed"; |
36 |
|
37 |
|
38 |
The error from config.log: |
39 |
configure:4278: result: yes |
40 |
configure:4285: checking size of void * |
41 |
configure:4587: /Library/Gentoo/var/tmp/portage/sys-devel/gcc- |
42 |
apple-4.2.1_p5564/work/build/./prev-gcc/xgcc -B/Library/Gentoo/var/ |
43 |
tmp/portage/sys-devel/gcc-apple-4.2.1_p5564/work/build |
44 |
/./prev-gcc/ -B/Library/Gentoo/usr/i686-apple-darwin8/bin/ -o |
45 |
conftest -g -O2 -mdynamic-no-pic -I/Library/Gentoo/usr/include |
46 |
conftest.c >&5 |
47 |
/SourceCache/dwarf_utilities/dwarf_utilities-22/source/DWARFdSYM.cpp: |
48 |
968: failed assertion `!"Unknown one-operand"' |
49 |
xgcc: Internal error: Abort trap (program dsymutil) |
50 |
Please submit a full bug report. |
51 |
See <URL:http://developer.apple.com/bugreporter> for instructions. |
52 |
configure:4590: $? = 1 |
53 |
|
54 |
More detail from config.log: |
55 |
configure: program exited with status 1 |
56 |
configure: failed program was: |
57 |
| /* confdefs.h. */ |
58 |
| #define PACKAGE_NAME "" |
59 |
| #define PACKAGE_TARNAME "" |
60 |
| #define PACKAGE_VERSION "" |
61 |
| #define PACKAGE_STRING "" |
62 |
| #define PACKAGE_BUGREPORT "" |
63 |
| #define DEFAULT_LINKER "/Library/Gentoo/usr/bin/i686-apple-darwin8-ld" |
64 |
| #define DEFAULT_ASSEMBLER "/Library/Gentoo/usr/bin/i686-apple- |
65 |
darwin8-as" |
66 |
| #define STDC_HEADERS 1 |
67 |
| #define HAVE_SYS_TYPES_H 1 |
68 |
| #define HAVE_SYS_STAT_H 1 |
69 |
| #define HAVE_STDLIB_H 1 |
70 |
| #define HAVE_STRING_H 1 |
71 |
| #define HAVE_MEMORY_H 1 |
72 |
| #define HAVE_STRINGS_H 1 |
73 |
| #define HAVE_INTTYPES_H 1 |
74 |
| #define HAVE_STDINT_H 1 |
75 |
| #define HAVE_UNISTD_H 1 |
76 |
| /* end confdefs.h. */ |
77 |
| #include <stdio.h> |
78 |
| #ifdef HAVE_SYS_TYPES_H |
79 |
| # include <sys/types.h> |
80 |
| #endif |
81 |
| #ifdef HAVE_SYS_STAT_H |
82 |
| # include <sys/stat.h> |
83 |
| #endif |
84 |
| #ifdef STDC_HEADERS |
85 |
| # include <stdlib.h> |
86 |
| # include <stddef.h> |
87 |
| #else |
88 |
| # ifdef HAVE_STDLIB_H |
89 |
| # include <stdlib.h> |
90 |
| # endif |
91 |
| #endif |
92 |
| #ifdef HAVE_STRING_H |
93 |
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
94 |
| # include <memory.h> |
95 |
| # endif |
96 |
| # include <string.h> |
97 |
| #endif |
98 |
| #ifdef HAVE_STRINGS_H |
99 |
| # include <strings.h> |
100 |
| #endif |
101 |
| #ifdef HAVE_INTTYPES_H |
102 |
| # include <inttypes.h> |
103 |
| #endif |
104 |
| #ifdef HAVE_STDINT_H |
105 |
| # include <stdint.h> |
106 |
| #endif |
107 |
| #ifdef HAVE_UNISTD_H |
108 |
| # include <unistd.h> |
109 |
| #endif |
110 |
| typedef void * ac__type_sizeof_; |
111 |
| static long int longval () { return (long int) (sizeof |
112 |
(ac__type_sizeof_)); } |
113 |
| static unsigned long int ulongval () { return (long int) (sizeof |
114 |
(ac__type_sizeof_)); } |
115 |
| #include <stdio.h> |
116 |
| #include <stdlib.h> |
117 |
| int |
118 |
| main () |
119 |
| { |
120 |
| |
121 |
| FILE *f = fopen ("conftest.val", "w"); |
122 |
| if (! f) |
123 |
| return 1; |
124 |
| if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
125 |
| { |
126 |
| long int i = longval (); |
127 |
| if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
128 |
| return 1; |
129 |
| fprintf (f, "%ld\n", i); |
130 |
| } |
131 |
| else |
132 |
| { |
133 |
| unsigned long int i = ulongval (); |
134 |
| if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
135 |
| return 1; |
136 |
| fprintf (f, "%lu\n", i); |
137 |
| } |
138 |
| return ferror (f) || fclose (f) != 0; |
139 |
| |
140 |
| ; |
141 |
| return 0; |
142 |
| } |
143 |
configure:4610: error: cannot compute sizeof (void *) |
144 |
See `config.log' for more details. |
145 |
|
146 |
|
147 |
|
148 |
John |