jsnyder / arm-eabi-toolchain

Makefile & supporting patches/scripts to build a bare metal ARM EABI toolchain.
264 stars 67 forks source link

2012.03-56 patch failure #22

Open ilg-ul opened 12 years ago

ilg-ul commented 12 years ago

I tried to build the just released version, and I got the following error during the patch step:

... ~/Work/NoBackup/Sourcery/arm-cs-tools-2012.03-56-4c24572-20120611/jsnyder-arm-eabi-toolchain-4c24572/gcc-4.6-2012.03 ~/Work/NoBackup/Sourcery/arm-cs-tools-2012.03-56-4c24572-20120611/jsnyder-arm-eabi-toolchain-4c24572 patching file gcc/gengtype.c Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file gcc/gengtype.c.rej make: *\ [newvpatch] Error 1 rm arm-2012.03-56-arm-none-eabi/binutils-2012.03-56.tar.bz2

regards,

Liviu

bradtgmurray commented 12 years ago

The new Mentor toolchain includes GCC 4.6.3, which already has that patch applied. The patch was just there to work around an issue in the old GCC 4.6.1 toolchain and can probably be removed after upgrading to the new version.

ilg-ul commented 12 years ago

Any plan for the upgrade to the new version?

tmeissner commented 12 years ago

I get the same error for gentype, but also for the genmultilib patch.

For example:

pushd gcc-4.6-2012.03 && \ patch -N -p0 < ../patches/gcc-multilib-bash.patch && \ popd ; ~/Temp/jsnyder-arm-eabi-toolchain-4c24572/gcc-4.6-2012.03 ~/Temp/jsnyder-arm-eabi-toolchain-4c24572 patching file gcc/genmultilib Reversed (or previously applied) patch detected! Skipping patch. 5 out of 5 hunks ignored -- saving rejects to file gcc/genmultilib.rej make: *\ [multilibbash] Error 1

Is it the same cause with GCC 4.6.3? So could I comment out these patches in the makefile to build successfully?