This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problem patching gcc-2.7.2.1 /.2 [ contains longish log ]



Hi,

	I am struggling with rather unexpected problems involved in
compiling GCC as a cross compiler :-(, and I was wondering whether they
are related to the odd messages I get when I patch gcc ....

Hmm...  Looks like a context diff to me...
The text leading up to this was:
--------------------------
|To apply this patch:
|
|cd gcc-2.7.2.2
|patch -p1 < this-file
|
|Send comments or bug reports to dje@cygnus.com.
|
|Mon Mar 17 10:59:14 1997  <Various people at Cygnus>
|
|	* configure (i386-go32): Set xmake_file to x-go32.
|	* config/i386/x-go32: New file.
|	* ginclude/ppc-asm.h: New file.
|
|Tue Nov 21 13:24:41 1995  <Various people at Cygnus>
|
|	* Makefile.in (objc): Don't build objc-runtime, must be done later.
|	(distclean): rm float.h.
|	* config/float.h-ieee: New file.
|	* config/float.h-i32: New file.
|	* config/float.h-vax: New file.
|	* i386/t-go32 (LIBGCC1, CROSS_LIBGCC1): Define as null.
|	* i386/xm-go32.h: New file.
|	* config.sub: Recognize go32* as an os.
|	* configure: Handle float_format.
|	(i[345]86-*-go32): Define xm_file and tmake_file.
|	(LIBGCC2_FLAGS): Define inhibit_libc if cross compiler.
|
|diff -rcp2N /tege/gcc/gcc-2.7.2.2/Makefile.in ./Makefile.in
|*** /tege/gcc/gcc-2.7.2.2/Makefile.in	Sun Nov 26 11:44:25 1995
|--- ./Makefile.in	Fri Feb 21 16:38:53 1997
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 failed at 636.
(Fascinating--this is really a new-style context diff but without
the telltale extra asterisks on the *** line that usually indicate
the new style...)
Hunk #2 succeeded at 1984 with fuzz 2.
1 out of 2 hunks failed--saving rejects to Makefile.in.rej
Hmm...  The next patch looks like a context diff to me...
The text leading up to this was:
--------------------------
|diff -rcp2N /tege/gcc/gcc-2.7.2.2/config/float.h-i32 ./config/float.h-i32
|*** /tege/gcc/gcc-2.7.2.2/config/float.h-i32	Wed Dec 31 16:00:00 1969
|--- ./config/float.h-i32	Fri Feb 21 16:38:53 1997
--------------------------
(Creating file config/float.h-i32...)
Patching file config/float.h-i32 using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a context diff to me...
The text leading up to this was:
--------------------------
|diff -rcp2N /tege/gcc/gcc-2.7.2.2/config/float.h-ieee ./config/float.h-ieee
|*** /tege/gcc/gcc-2.7.2.2/config/float.h-ieee	Wed Dec 31 16:00:00 1969
|--- ./config/float.h-ieee	Fri Feb 21 16:38:54 1997
--------------------------
(Creating file config/float.h-ieee...)
Patching file config/float.h-ieee using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a context diff to me...
The text leading up to this was:
--------------------------
|diff -rcp2N /tege/gcc/gcc-2.7.2.2/config/float.h-vax ./config/float.h-vax
|*** /tege/gcc/gcc-2.7.2.2/config/float.h-vax	Wed Dec 31 16:00:00 1969
|--- ./config/float.h-vax	Fri Feb 21 16:38:54 1997
--------------------------
(Creating file config/float.h-vax...)
Patching file config/float.h-vax using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a context diff to me...
The text leading up to this was:
--------------------------
|diff -rcp2N /tege/gcc/gcc-2.7.2.2/config/i386/t-go32 ./config/i386/t-go32
|*** /tege/gcc/gcc-2.7.2.2/config/i386/t-go32	Wed Dec 31 16:00:00 1969
|--- ./config/i386/t-go32	Fri Feb 21 16:38:54 1997
--------------------------
(Creating file config/i386/t-go32...)
Patching file config/i386/t-go32 using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a context diff to me...
The text leading up to this was:
--------------------------
|diff -rcp2N /tege/gcc/gcc-2.7.2.2/config/i386/x-go32 ./config/i386/x-go32
|*** /tege/gcc/gcc-2.7.2.2/config/i386/x-go32	Wed Dec 31 16:00:00 1969
|--- ./config/i386/x-go32	Sat Mar 15 16:44:28 1997
--------------------------
(Creating file config/i386/x-go32...)
Patching file config/i386/x-go32 using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a context diff to me...
The text leading up to this was:
--------------------------
|diff -rcp2N /tege/gcc/gcc-2.7.2.2/config/i386/xm-go32.h ./config/i386/xm-go32.h
|*** /tege/gcc/gcc-2.7.2.2/config/i386/xm-go32.h	Wed Dec 31 16:00:00 1969
|--- ./config/i386/xm-go32.h	Fri Feb 21 16:38:54 1997
--------------------------
(Creating file config/i386/xm-go32.h...)
Patching file config/i386/xm-go32.h using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a context diff to me...
The text leading up to this was:
--------------------------
|diff -rcp2N /tege/gcc/gcc-2.7.2.2/config.sub ./config.sub
|*** /tege/gcc/gcc-2.7.2.2/config.sub	Thu Jun 15 14:01:49 1995
|--- ./config.sub	Fri Feb 21 16:38:54 1997
--------------------------
Patching file config.sub using Plan A...
Hunk #1 failed at 642.
1 out of 1 hunks failed--saving rejects to config.sub.rej
Hmm...  The next patch looks like a context diff to me...
The text leading up to this was:
--------------------------
|diff -rcp2N /tege/gcc/gcc-2.7.2.2/configure ./configure
|*** /tege/gcc/gcc-2.7.2.2/configure	Thu Jan 30 14:20:15 1997
|--- ./configure	Sat Mar 15 16:43:47 1997
--------------------------
Patching file configure using Plan A...
(Fascinating--this is really a new-style context diff but without
the telltale extra asterisks on the *** line that usually indicate
the new style...)
Hunk #1 succeeded at 493 with fuzz 2.
Hunk #2 succeeded at 673 with fuzz 2.
Hunk #3 failed at 1027.
Hunk #4 failed at 2353.
Hunk #5 failed at 2367.
Hunk #6 succeeded at 2514 with fuzz 2.
Hunk #7 succeeded at 2867 with fuzz 2.
Hunk #8 failed at 2999.
Hunk #9 succeeded at 3027 with fuzz 2.
4 out of 9 hunks failed--saving rejects to configure.rej
Hmm...  The next patch looks like a context diff to me...
The text leading up to this was:
--------------------------
|diff -rcp2N /tege/gcc/gcc-2.7.2.2/ginclude/ppc-asm.h ./ginclude/ppc-asm.h
|*** /tege/gcc/gcc-2.7.2.2/ginclude/ppc-asm.h	Wed Dec 31 16:00:00 1969
|--- ./ginclude/ppc-asm.h	Sun Mar 16 19:23:55 1997
--------------------------
(Creating file ginclude/ppc-asm.h...)
Patching file ginclude/ppc-asm.h using Plan A...
Hunk #1 succeeded at 1.
done


	A fair number appear to fail :-( is this due to an old version of
patch, or is it supposed to happen ?, I have tried several times with
clean, unpatched versions of gcc straight from sunsite, both 2.7.2.1 and
2.7.2.2

	Many thanks in advance for any help you can offer,,


	Regards,

		Michael Meeks.