Possible gcc-4.3 regression wrt bootstrapping the toolchain
Hello I tried building a crosstoolchain with gcc-4.3. The way it worked with earlier versions doesn't work with 4.3 anymore because make all-gcc doesn't build libgcc at all. It doesn't fail, it just doesn't build it. If this is intended behaviour I'd be glad for anyhints how to bootstrap a toolchain now. Thanks, Jonas
Re: Possible gcc-4.3 regression wrt bootstrapping the toolchain
I gave it a couple more tries and I'm still pretty sure that make all-gcc was the correct way to do it. After all all the toolchain creating scripts I looked at like openwrt,buildroot and crosstools do it that way. make all fails while configuring libmudflap - telling me the c compiler couldn't create executables. Probably because the libc is not yet there. I'm building on x86_64 for a i486-linux-uclibc target. I could try building for i486-linux-glibc but I'm sure that wouldn't change anything about this problem. How should I go on about this problem?
Re: Possible gcc-4.3 regression wrt bootstrapping the toolchain
ah great. that should work. can you tell me the equivalent of install-gcc,too? Thanks. On 10/03/2008, Jakub Jelinek <[EMAIL PROTECTED]> wrote: > On Mon, Mar 10, 2008 at 11:57:21AM +0100, Jonas Meyer wrote: > > I gave it a couple more tries and I'm still pretty sure that make > > all-gcc was the correct way to do it. After all all the toolchain > > creating scripts I looked at like openwrt,buildroot and crosstools do > > it that way. > > make all fails while configuring libmudflap - telling me the c > > compiler couldn't create executables. Probably because the libc is not > > yet there. I'm building on x86_64 for a i486-linux-uclibc target. > > I could try building for i486-linux-glibc but I'm sure that wouldn't > > change anything about this problem. > > How should I go on about this problem? > > > If you just want to build just gcc and libgcc, not any other target > libraries, do > make all-gcc && make all-target-libgcc > ah great. that should work. can you tell me the equivalent of install-gcc,too? Thanks.
Re: Possible gcc-4.3 regression wrt bootstrapping the toolchain
On 10/03/2008, Paolo Bonzini <[EMAIL PROTECTED]> wrote: > > >> If you just want to build just gcc and libgcc, not any other target > >> libraries, do > >> make all-gcc && make all-target-libgcc > >> > > ah great. that should work. can you tell me the equivalent of > install-gcc,too? > > > make install-gcc install-target-libgcc > > Or, just configure with --disable-libmudflap if it's giving problems. great. all-target-gcc actually works. But when trying --disable-libmudflap instead the next thing it fails at is configuring libiberty. I already tried --disable-libiberty which seems to not change anything. Can I disable libiberty indirectly,maybe? Jonas