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