Status of PR21561
If you try ../gcc-4.1.2/configure; make bootstrap on a powerpc-darwin G4 system, then the bootstrap will fail because the process builds 64-bit multilibs and tries to execute a program with "xgcc -m64'. In May 2005, PR 21561 reported this same problem on 32-bit x86 solaris; the workaround is to specify --disable-multilibs on the configure line. The suggested fix is to automatically generate this "--disable-multilibs" on machines where bootstrap would fail without it. A comment in the PR says "Supending until the other bugs like this is fixed." I'm kind of surprised that a bootstrap failure like this was shipped with 4.1.2; also, I couldn't find out using bugzilla what are "the other bugs like this". Would it be reasonable to reopen this report? A bootstrap failure on 32-bit powerpc-darwin is definitely a regression from gcc-3. Brad
Re: Status of PR21561
On 4/15/07, Bradley Lucier <[EMAIL PROTECTED]> wrote: If you try ../gcc-4.1.2/configure; make bootstrap on a powerpc-darwin G4 system, then the bootstrap will fail because the process builds 64-bit multilibs and tries to execute a program with "xgcc -m64'. Again this is not magic or rock science, use --disable-mutlilib for 32bit targets that enable 64bit by default even on machines where you have only run 32bit programs. I think this has already been fixed on the trunk but I cannot test it because I don't have access to a darwin machine that I want to bootstrap on or one with internet access. There is no magic anyways, it was an automake/libtool bug anyways :) and not a GCC one :). -- Pinski
Re: Status of PR21561
On Apr 15, 2007, at 6:37 PM, Andrew Pinski wrote: On 4/15/07, Bradley Lucier <[EMAIL PROTECTED]> wrote: If you try ../gcc-4.1.2/configure; make bootstrap on a powerpc-darwin G4 system, then the bootstrap will fail because the process builds 64-bit multilibs and tries to execute a program with "xgcc -m64'. Again this is not magic or rock science, use --disable-mutlilib for 32bit targets that enable 64bit by default even on machines where you have only run 32bit programs. After my first two attempts today to build 4.1.2 on powerpc-darwin failed, I'm already trying this. I put a note in the PR21561 saying I think it should be re-opened. Brad