1 |
I am using the latest Xcode, which comes with build 5247. It seems |
2 |
that the bootstrap script is able to build gcc-5247, but then fails |
3 |
in stage 2 when it tries to compile gcc-5247 again using the newly |
4 |
built gcc-5247. |
5 |
|
6 |
my env is |
7 |
|
8 |
$ env |
9 |
SHELL=/bin/bash |
10 |
TERM=xterm-color |
11 |
USER=portage |
12 |
PATH=/bin:/sbin:/usr/bin:/usr/sbin |
13 |
PWD=/Volumes/portage/usr |
14 |
SHLVL=1 |
15 |
HOME=/Volumes/portage |
16 |
_=/usr/bin/env |
17 |
OLDPWD=/Volumes/portage |
18 |
|
19 |
here some output of bootstrap saying it's in stage 2: |
20 |
|
21 |
lipo -output libgcc_s.10.4.dylib -create libgcc_s.10.4.dylib_T* |
22 |
lipo -output libgcc_s.10.5.dylib -create libgcc_s.10.5.dylib_T* |
23 |
rm libgcc_s.10.5.dylib_T* |
24 |
rm libgcc_s.10.4.dylib_T* |
25 |
echo timestamp > stage2_build |
26 |
echo stage2_build > stage_last |
27 |
make stage2 |
28 |
if [ -d stage2 ] ; then true ; else mkdir stage2 ; fi |
29 |
make -f libgcc.mk libgcc-stage-start stage=stage2 |
30 |
for dir in libgcc ppc64 libgcc/ppc64 static libgcc/static kext libgcc/ |
31 |
kext; do \ |
32 |
if [ -d stage2/$dir ]; then :; \ |
33 |
else /bin/sh /Volumes/portage/var/tmp/gcc-5247/gcc-5247/gcc/../ |
34 |
mkinstalldirs stage2/$dir; fi; \ |
35 |
done |
36 |
mkdir stage2/libgcc |
37 |
mkdir stage2/ppc64 |
38 |
mkdir stage2/libgcc/ppc64 |
39 |
mkdir stage2/static |
40 |
mkdir stage2/libgcc/static |
41 |
mkdir stage2/kext |
42 |
mkdir stage2/libgcc/kext |
43 |
for dir in libgcc ppc64 libgcc/ppc64 static libgcc/static kext libgcc/ |
44 |
kext; do \ |
45 |
mv $dir/*.o stage2/$dir; \ |
46 |
mv $dir/*.vis stage2/$dir; \ |
47 |
mv $dir/*.map stage2/$dir; \ |
48 |
test ! -f $dir/libgcc.a || mv $dir/lib* stage2/$dir; \ |
49 |
done |
50 |
mv: rename ppc64/*.o to stage2/ppc64/*.o: No such file or directory |
51 |
mv: rename ppc64/*.vis to stage2/ppc64/*.vis: No such file or directory |
52 |
mv: rename ppc64/*.map to stage2/ppc64/*.map: No such file or directory |
53 |
mv: rename static/*.o to stage2/static/*.o: No such file or directory |
54 |
mv: rename static/*.vis to stage2/static/*.vis: No such file or |
55 |
directory |
56 |
mv: rename static/*.map to stage2/static/*.map: No such file or |
57 |
directory |
58 |
mv: rename libgcc/static/*.map to stage2/libgcc/static/*.map: No such |
59 |
file or directory |
60 |
mv: rename kext/*.o to stage2/kext/*.o: No such file or directory |
61 |
mv: rename kext/*.vis to stage2/kext/*.vis: No such file or directory |
62 |
mv: rename kext/*.map to stage2/kext/*.map: No such file or directory |
63 |
mv: rename libgcc/kext/*.map to stage2/libgcc/kext/*.map: No such |
64 |
file or directory |
65 |
subdirs="cp build"; for dir in $subdirs; \ |
66 |
do \ |
67 |
if [ -d stage2/$dir ] ; then true ; else mkdir stage2/$dir ; fi ; \ |
68 |
done |
69 |
# APPLE LOCAL begin mainline 2005-10-02 4218570 |
70 |
rm -f stage2/libgcc.a stage2/libgcov.a stage2/libgcc_eh.a |
71 |
rm -f stage2/libgcc_s*.dylib |
72 |
rm -f stage2/libunwind.a stage2/libunwind*.dylib |
73 |
# APPLE LOCAL end mainline 2005-10-02 4218570 |
74 |
mv specs stage2/specs |
75 |
mv *.o s-* xgcc cpp cc1 cc1*-dummy crt2.o gcc-cross protoize |
76 |
unprotoize specs collect2 gcov-iov gcov gcov-dump *.[0-9][0-9].* *. |
77 |
[si] *-checksum.c libbackend.a libgcc.mk g++ g++-cross cc1plus stage2 |
78 |
mv: crt2.o: No such file or directory |
79 |
mv: rename gcc-cross to stage2/gcc-cross: No such file or directory |
80 |
mv: rename protoize to stage2/protoize: No such file or directory |
81 |
mv: rename unprotoize to stage2/unprotoize: No such file or directory |
82 |
mv: specs: No such file or directory |
83 |
mv: rename gcov-iov to stage2/gcov-iov: No such file or directory |
84 |
mv: rename *.[si] to stage2/*.[si]: No such file or directory |
85 |
mv: rename g++-cross to stage2/g++-cross: No such file or directory |
86 |
make[2]: [stage2-start] Error 1 (ignored) |
87 |
mv build/* stage2/build |
88 |
cp -p insn-flags.h insn-config.h insn-codes.h insn-output.c insn- |
89 |
recog.c insn-emit.c insn-extract.c insn-peep.c insn-attr.h insn- |
90 |
attrtab.c insn-opinit.c insn-preds.c insn-constants.h tm-preds.h tree- |
91 |
check.h insn-conditions.c min-insn-modes.c insn-modes.c insn-modes.h |
92 |
genrtl.c genrtl.h gt-*.h gtype-*.h gtype-desc.c gtyp-gen.h stage2 |
93 |
if [ -f as ] ; then (cd stage2 && ln -s ../as .) ; else true ; fi |
94 |
if [ -f ld ] ; then (cd stage2 && ln -s ../ld .) ; else true ; fi |
95 |
if [ -f collect-ld ] ; then (cd stage2 && ln -s ../collect-ld .) ; |
96 |
else true ; fi |
97 |
# APPLE LOCAL begin mainline 2005-10-02 4218570 |
98 |
# APPLE LOCAL end mainline 2005-10-02 4218570 |
99 |
cp libgcc.a stage2 |
100 |
ranlib stage2/libgcc.a |
101 |
cp libgcov.a stage2 |
102 |
ranlib stage2/libgcov.a |
103 |
if [ -f libgcc_eh.a ] ; then cp libgcc_eh.a stage2; \ |
104 |
ranlib stage2/libgcc_eh.a; \ |
105 |
fi |
106 |
cp libgcc_s*.dylib stage2 |
107 |
cp libunwind.a libunwind*.dylib stage2 |
108 |
cp: libunwind*.dylib: No such file or directory |
109 |
cp: libunwind.a: No such file or directory |
110 |
make[2]: [stage2-start] Error 1 (ignored) |
111 |
for f in .. ; do if [ x${f} != x.. ]; then \ |
112 |
cp stage2/${f} . ; \ |
113 |
else true; \ |
114 |
fi; done |
115 |
mv cp/*.o stage2/cp |
116 |
echo timestamp > stage2_copy |
117 |
echo stage3_build > stage_last |
118 |
rm -rf stage1 |
119 |
|
120 |
|
121 |
|
122 |
|
123 |
Am 04.04.2006 um 11:44 schrieb Grobian: |
124 |
|
125 |
> What compiler/env did you use to bootstrap? I did this last weekend |
126 |
> without a problem. Do you have the latest Xcode installed? |
127 |
> |
128 |
> On 04-04-2006 11:49:40 +0200, Tobias Hahn wrote: |
129 |
>> When I try to run the bootstrap script, I get the following error. |
130 |
>> Can anybody |
131 |
>> help, please? |
132 |
>> |
133 |
>> /Volumes/portage/var/tmp/gcc-5247/build/gcc/xgcc |
134 |
>> -B/Volumes/portage/var/tmp/gcc-5247/build/gcc/ |
135 |
>> -B/Volumes/portage/usr/powerpc-apple-darwin8/bin/ |
136 |
>> -B/Volumes/portage/usr/powerpc-apple-darwin8/lib/ -isystem |
137 |
>> /Volumes/portage/usr/powerpc-apple-darwin8/include -isystem |
138 |
>> /Volumes/portage/usr/powerpc-apple-darwin8/sys-include -c - |
139 |
>> DHAVE_CONFIG_H -O2 |
140 |
>> -O2 -pipe -m64 -I. |
141 |
>> -I/Volumes/portage/var/tmp/gcc-5247/gcc-5247/libiberty/../include |
142 |
>> -W -Wall |
143 |
>> -Wtraditional -pedantic |
144 |
>> /Volumes/portage/var/tmp/gcc-5247/gcc-5247/libiberty/strverscmp.c -o |
145 |
>> strverscmp.o |
146 |
>> /Volumes/portage/var/tmp/gcc-5247/gcc-5247/libiberty/strverscmp.c: |
147 |
>> In function |
148 |
>> 'strverscmp': |
149 |
>> /Volumes/portage/var/tmp/gcc-5247/gcc-5247/libiberty/strverscmp.c: |
150 |
>> 92: warning: |
151 |
>> traditional C rejects ISO C style function definitions |
152 |
>> /Volumes/portage/var/tmp/gcc-5247/gcc-5247/libiberty/strverscmp.c: |
153 |
>> 117: warning: |
154 |
>> traditional C rejects the unary plus operator |
155 |
>> /Volumes/portage/var/tmp/gcc-5247/gcc-5247/libiberty/strverscmp.c: |
156 |
>> 118: warning: |
157 |
>> traditional C rejects the unary plus operator |
158 |
>> /Volumes/portage/var/tmp/gcc-5247/gcc-5247/libiberty/strverscmp.c: |
159 |
>> 121: warning: |
160 |
>> traditional C rejects the unary plus operator |
161 |
>> /Volumes/portage/var/tmp/gcc-5247/gcc-5247/libiberty/strverscmp.c: |
162 |
>> 121: warning: |
163 |
>> traditional C rejects the unary plus operator |
164 |
>> rm -f ./libiberty.a pic/./libiberty.a |
165 |
>> ar rc ./libiberty.a \ |
166 |
>> ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o |
167 |
>> ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./ |
168 |
>> fdmatch.o ./fibheap.o |
169 |
>> ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o |
170 |
>> ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./ |
171 |
>> lrealpath.o |
172 |
>> ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o |
173 |
>> ./partition.o ./physmem.o ./pex-unix.o ./safe-ctype.o ./sort.o ./ |
174 |
>> spaces.o |
175 |
>> ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./ |
176 |
>> xatexit.o ./xexit.o |
177 |
>> ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./mempcpy.o ./ |
178 |
>> stpncpy.o |
179 |
>> ./strverscmp.o |
180 |
>> ranlib -c ./libiberty.a |
181 |
>> if [ x"" != x ]; then \ |
182 |
>> cd pic; \ |
183 |
>> ar rc ./libiberty.a \ |
184 |
>> ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./ |
185 |
>> argv.o |
186 |
>> ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./ |
187 |
>> fdmatch.o ./fibheap.o |
188 |
>> ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o |
189 |
>> ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./ |
190 |
>> lrealpath.o |
191 |
>> ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o |
192 |
>> ./partition.o ./physmem.o ./pex-unix.o ./safe-ctype.o ./sort.o ./ |
193 |
>> spaces.o |
194 |
>> ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./ |
195 |
>> xatexit.o ./xexit.o |
196 |
>> ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./mempcpy.o ./ |
197 |
>> stpncpy.o |
198 |
>> ./strverscmp.o; \ |
199 |
>> ranlib -c ./libiberty.a; \ |
200 |
>> cd ..; \ |
201 |
>> else true; fi |
202 |
>> make: *** [bootstrap-lean] Error 2 |
203 |
>> |
204 |
>> -- |
205 |
>> gentoo-osx@g.o mailing list |
206 |
>> |
207 |
> |
208 |
> -- |
209 |
> Fabian Groffen |
210 |
> Gentoo for Mac OS X Project |
211 |
> -- |
212 |
> gentoo-osx@g.o mailing list |
213 |
> |
214 |
|
215 |
-- |
216 |
gentoo-osx@g.o mailing list |