| View previous topic :: View next topic |
| Author |
Message |
qlfecv
Joined: 30 Jul 2005 Posts: 4
|
Posted: Tue Aug 02, 2005 6:43 pm Post subject: toolchain error |
|
|
| Code: | patching file `bfd/Makefile.am'
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to bfd/Makefile.am.rej
patching file `bfd/bfd-in2.h'
Hunk #1 FAILED at 1600.
1 out of 1 hunk FAILED -- saving rejects to bfd/bfd-in2.h.rej
patching file `bfd/archures.c'
Hunk #1 FAILED at 155.
1 out of 1 hunk FAILED -- saving rejects to bfd/archures.c.rej
patching file `bfd/elfxx-mips.c'
Hunk #1 FAILED at 4669.
Hunk #2 FAILED at 7885.
Hunk #3 FAILED at 9589.
3 out of 3 hunks FAILED -- saving rejects to bfd/elfxx-mips.c.rej
patching file `bfd/cpu-mips.c'
Hunk #1 FAILED at 86.
Hunk #2 FAILED at 119.
2 out of 2 hunks FAILED -- saving rejects to bfd/cpu-mips.c.rej
patching file `bfd/Makefile.in'
Hunk #1 FAILED at 250.
1 out of 1 hunk FAILED -- saving rejects to bfd/Makefile.in.rej
patching file `bfd/version.h'
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to bfd/version.h.rej
patching file `binutils/readelf.c'
Hunk #1 FAILED at 2043.
1 out of 1 hunk FAILED -- saving rejects to binutils/readelf.c.rej
patching file `config.sub'
Hunk #1 FAILED at 253.
Hunk #2 FAILED at 327.
Hunk #3 FAILED at 667.
3 out of 3 hunks FAILED -- saving rejects to config.sub.rej
patching file `gas/config/tc-mips.c'
Hunk #1 FAILED at 365.
Hunk #2 FAILED at 7821.
Hunk #3 FAILED at 8513.
Hunk #4 FAILED at 13772.
4 out of 4 hunks FAILED -- saving rejects to gas/config/tc-mips.c.rej
patching file `gas/configure'
Hunk #1 FAILED at 4537.
1 out of 1 hunk FAILED -- saving rejects to gas/configure.rej
patching file `gas/configure.in'
Hunk #1 FAILED at 222.
1 out of 1 hunk FAILED -- saving rejects to gas/configure.in.rej
patching file `include/elf/common.h'
Hunk #1 FAILED at 93.
1 out of 1 hunk FAILED -- saving rejects to include/elf/common.h.rej
patching file `include/elf/mips.h'
Hunk #1 FAILED at 212.
1 out of 1 hunk FAILED -- saving rejects to include/elf/mips.h.rej
patching file `include/opcode/mips.h'
Hunk #1 FAILED at 148.
Hunk #2 FAILED at 455.
Hunk #3 FAILED at 504.
Hunk #4 FAILED at 526.
4 out of 4 hunks FAILED -- saving rejects to include/opcode/mips.h.rej
patching file `include/bin-bugs.h'
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to include/bin-bugs.h.rej
patching file `ld/Makefile.am'
Hunk #1 FAILED at 190.
Hunk #2 FAILED at 865.
2 out of 2 hunks FAILED -- saving rejects to ld/Makefile.am.rej
patching file `ld/Makefile.in'
Hunk #1 FAILED at 315.
Hunk #2 FAILED at 1602.
2 out of 2 hunks FAILED -- saving rejects to ld/Makefile.in.rej
patching file `ld/configure.tgt'
Hunk #1 FAILED at 428.
1 out of 1 hunk FAILED -- saving rejects to ld/configure.tgt.rej
patching file `ld/emulparams/elf_mipsallegrexel_psp.sh'
patching file `ld/scripttempl/elf_psp.sc'
patching file `opcodes/mips-dis.c'
Hunk #1 FAILED at 140.
Hunk #2 FAILED at 421.
Hunk #3 FAILED at 540.
Hunk #4 FAILED at 1214.
4 out of 4 hunks FAILED -- saving rejects to opcodes/mips-dis.c.rej
patching file `opcodes/mips-opc.c'
Hunk #1 FAILED at 109.
Hunk #2 FAILED at 272.
Hunk #3 FAILED at 434.
Hunk #4 FAILED at 445.
Hunk #5 FAILED at 469.
Hunk #6 FAILED at 601.
Hunk #7 FAILED at 611.
Hunk #8 FAILED at 645.
Hunk #9 FAILED at 679.
Hunk #10 FAILED at 711.
Hunk #11 FAILED at 756.
Hunk #12 FAILED at 769.
Hunk #13 FAILED at 786.
Hunk #14 FAILED at 938.
Hunk #15 FAILED at 976.
Hunk #16 FAILED at 1079.
Hunk #17 FAILED at 1164.
Hunk #18 FAILED at 1175.
Hunk #19 FAILED at 1508.
19 out of 19 hunks FAILED -- saving rejects to opcodes/mips-opc.c.rej
ERROR PATCHING BINUTILS |
Any idea? |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Tue Aug 02, 2005 11:55 pm Post subject: |
|
|
| What version of patch are you using? |
|
| Back to top |
|
 |
qlfecv
Joined: 30 Jul 2005 Posts: 4
|
Posted: Wed Aug 03, 2005 2:58 am Post subject: |
|
|
2005-07-23 07:52
download all trunk yesterday nigth. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Wed Aug 03, 2005 3:41 am Post subject: |
|
|
| Code: | $ patch -v
patch 2.5.4
Copyright 1984-1988 Larry Wall
Copyright 1989-1999 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
written by Larry Wall and Paul Eggert |
Now which version of patch are you using? |
|
| Back to top |
|
 |
Karmix
Joined: 29 Apr 2004 Posts: 2
|
Posted: Wed Aug 03, 2005 10:31 am Post subject: |
|
|
| You ususally have a hunk fail when the patch file you are using was made for a different version of the file you are trying to patch. I personally would be suprised if it had something to do with the version of patch you were using, but check anyway. I'd also double check to make sure you have the right patch files and the right version of the source. A little more information on what you're doing to build would be helpful. (what did you do to checkout the toolchain, what did you type to start the build, etc.) I'm assuming that you're using Oopo's build script, so listen to what he says :). Good Luck |
|
| Back to top |
|
 |
Jim

Joined: 02 Jul 2005 Posts: 487 Location: Sydney
|
Posted: Wed Aug 03, 2005 9:39 pm Post subject: |
|
|
Toolchain did recently move from 4.0.0 to 4.0.1. That would screw all the patches. Do a full update.
Jim _________________ http://www.dbfinteractive.com |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Aug 04, 2005 12:26 am Post subject: |
|
|
The toolchain script has the gcc version set in one place. If the script is using gcc-4.0.0.patch, it will download gcc-4.0.0.tar.bz2, unpack, and patch it. There is no reason for it to go with the wrong version unless you're manually renaming files or editing the script.
Regardless, its failing during binutils - it doesn't even get to gcc. And the version he's using (I'll assume he meant 20050725) is already updated to use gcc-4.0.1.
I've had a problem with patch before where an older version couldn't understand some of the information in the diff file and would fail chunks. I've also had a problem once where patch wouldn't accept '-p0' and it would fail as well. This is why I asked which version of patch he was using. |
|
| Back to top |
|
 |
qlfecv
Joined: 30 Jul 2005 Posts: 4
|
Posted: Thu Aug 04, 2005 7:03 pm Post subject: |
|
|
Thank.
The problem was to have multiple app of cywin installed. :(
I clean all, install last version of cygwin and it work fine. |
|
| Back to top |
|
 |
|