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