1 |
Sorry if I wasn't precise enough. |
2 |
|
3 |
1. My hardware is a G4 (i.e. 32bit ppc cpu, no 64bit support) running |
4 |
Mac OS X 10.4.6, reinstalled in the last month from scratch, i.e. |
5 |
blank hard disk, formatted HFSX+J. |
6 |
2. I have Xcode 2.2 installed. |
7 |
3. I am using a special user portage, group portage, to experiment |
8 |
with portage-prefix. Homedir is /Volumes/portage, again HFSX+J. |
9 |
4. I am using portage-alt-prefix-20060406. |
10 |
5. I have no special environment, i.e. SHELL=/bin/bash, TERM=xterm- |
11 |
color, PATH=/bin:/sbin:/usr/bin:/usr/sbin, DEFAULT_PATH etc. unset. |
12 |
6. I try to bootstrap portage using the command |
13 |
$ ./portage-alt-prefix/scripts/bootstrap-prefix.sh /Volumes/portage/ |
14 |
prefix |
15 |
This script first fetches and compiles odcctools, then gcc-apple-5247. |
16 |
7. In particular, this script does not pass --disable-multilib to gcc |
17 |
configure. |
18 |
8. The following make boostrap-lean fails as posted before. As I |
19 |
suspected, I was not the only one experiencing this bug, even though |
20 |
the reference in my last mail is to mainline-gnu-gcc. |
21 |
9. The gcc-people don't seem to consider this a bug, I filed one with |
22 |
apple, though, to see what they think. |
23 |
10. In the meantime: What's the correct way to --disable-multilib, |
24 |
i.e. a profile ppc32 and a profile ppc64, hardcoded in bootstrap or a |
25 |
bootstrap commandline option --disable-multilibs? What are multilibs, |
26 |
i.e. does this mean the compiler executable will take advantage of |
27 |
64bit hardware even if compiled on 32bit hardware or just that the |
28 |
compiler is able to generate fat binaries? Do we want multilibs in |
29 |
portage or do we want to give the user a choice? It's Gentoo after |
30 |
all... |
31 |
|
32 |
|
33 |
Am 07.04.2006 um 13:09 schrieb Grobian: |
34 |
|
35 |
> I don't really understand. Unless you really want to build the |
36 |
> upstream |
37 |
> GCC release you probably need to give configure that flag, but for |
38 |
> Apple's GCC it should just work as far as I know. |
39 |
> |
40 |
> Did you use the bootstrap script? If so does this failure comes |
41 |
> during |
42 |
> the bootstrap? Have you tried a recent (== a few days ago) version of |
43 |
> the bootstrap script? |
44 |
> |
45 |
> On 07-04-2006 13:43:29 +0200, Tobias Hahn wrote: |
46 |
>> I'm experiencing bug http://gcc.gnu.org/bugzilla/show_bug.cgi? |
47 |
>> id=26628 (I can't |
48 |
>> understand marking that bug invalid. It's definitely something |
49 |
>> autoconf should |
50 |
>> be able to detect. But support for machines that don't understand |
51 |
>> tail -n seems |
52 |
>> to be more of a priority to the gcc people...) since I'm still on |
53 |
>> a G4. Where's |
54 |
>> the correct point to --disable-multilib (profile, bootstrap-script?) |
55 |
>> |
56 |
>> Tobias |
57 |
>> |
58 |
>> Adding multilib support to Makefile in ../../../gcc-5247/libstdc++-v3 |
59 |
>> multidirs=ppc64 |
60 |
>> with_multisubdir= |
61 |
>> Running configure in multilib subdirs ppc64 |
62 |
>> pwd: /tmp/gcc-apple/build/powerpc-apple-darwin8/libstdc++-v3 |
63 |
>> Running configure in multilib subdir ppc64 |
64 |
>> pwd: /tmp/gcc-apple/build/powerpc-apple-darwin8 |
65 |
>> configure: creating cache ./config.cache |
66 |
>> checking build system type... powerpc-apple-darwin8 |
67 |
>> checking host system type... powerpc-apple-darwin8 |
68 |
>> checking target system type... powerpc-apple-darwin8 |
69 |
>> checking for a BSD-compatible install... /usr/bin/install -c |
70 |
>> checking whether build environment is sane... yes |
71 |
>> checking for gawk... no |
72 |
>> checking for mawk... no |
73 |
>> checking for nawk... no |
74 |
>> checking for awk... awk |
75 |
>> checking whether make sets $(MAKE)... yes |
76 |
>> checking for powerpc-apple-darwin8-gcc... /tmp/gcc-apple/build/gcc/ |
77 |
>> xgcc |
78 |
>> -B/tmp/gcc-apple/build/gcc/ -B/tmp/gcc-apple/usr/powerpc-apple- |
79 |
>> darwin8/bin/ |
80 |
>> -B/tmp/gcc-apple/usr/powerpc-apple-darwin8/lib/ -isystem |
81 |
>> /tmp/gcc-apple/usr/powerpc-apple-darwin8/include -isystem |
82 |
>> /tmp/gcc-apple/usr/powerpc-apple-darwin8/sys-include -m64 |
83 |
>> checking for C compiler default output file name... a.out |
84 |
>> checking whether the C compiler works... configure: error: cannot |
85 |
>> run C |
86 |
>> compiled programs. |
87 |
>> If you meant to cross compile, use `--host'. |
88 |
>> See `config.log' for more details. |
89 |
>> make[1]: *** [configure-target-libstdc++-v3] Error 1 |
90 |
>> make[1]: *** Waiting for unfinished jobs.... |
91 |
>> |
92 |
>> -- |
93 |
>> gentoo-osx@g.o mailing list |
94 |
>> |
95 |
> |
96 |
> -- |
97 |
> Fabian Groffen |
98 |
> Gentoo for Mac OS X Project |
99 |
> -- |
100 |
> gentoo-osx@g.o mailing list |
101 |
> |
102 |
|
103 |
-- |
104 |
gentoo-osx@g.o mailing list |