linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix typo in binutils version check
@ 2004-06-05  7:43 Olaf Hering
  2004-06-05 10:40 ` Christian Kujau
  2004-06-08 11:25 ` [PATCH] fix missing option " Olaf Hering
  0 siblings, 2 replies; 49+ messages in thread
From: Olaf Hering @ 2004-06-05  7:43 UTC (permalink / raw)
  To: Andrew Morton, linuxppc-dev


The binutils check is bogus, it doesnt work with the just released
binutils. A space is needed in the error message.

pomegranate:~# echo dssall | /usr/bin/as -o /tmp/x
{standard input}: Assembler messages:
{standard input}:1: Error: Unrecognized opcode: `dssall'
pomegranate:~# /usr/bin/as -v
GNU assembler version 2.15.91.0.1 (powerpc-suse-linux) using BFD version 2.15.91.0.1 20040527 (SuSE Linux)


*** 2.6 kernels no longer buildcorrectly with old versions of binutils.
*** Please upgrade your binutils to 2.12.1 or newer
make: *** [checkbin] Error 1
make: Target `all' not remade because of errors.


--- linux-2.6.7-rc2-bk5.orig/arch/ppc/Makefile	2004-06-05 09:31:28.000000000 +0200
+++ linux-2.6.7-rc2-bk5/arch/ppc/Makefile	2004-06-05 09:38:02.000000000 +0200
@@ -94,7 +94,7 @@ endif

 ifneq ($(NEW_AS),0)
 checkbin:
-	@echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build'
+	@echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build '
 	@echo 'correctly with old versions of binutils.'
 	@echo '*** Please upgrade your binutils to ${GOODVER} or newer'
 	@false


--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 49+ messages in thread
* [PATCH] fix missing option in binutils version check
@ 2004-06-10 16:19 Christian
  0 siblings, 0 replies; 49+ messages in thread
From: Christian @ 2004-06-10 16:19 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]

On Sat, Jun 05, Olaf Hering wrote:
 >> pomegranate:~# echo dssall | /usr/bin/as -o /tmp/x
 >> {standard input}: Assembler messages:
 >> {standard input}:1: Error: Unrecognized opcode: `dssall'
 >> pomegranate:~# /usr/bin/as -v
 >> GNU assembler version 2.15.91.0.1 (powerpc-suse-linux) using BFD
 >> version 2.15.91.0.1 20040527 (SuSE Linux)
 >>
 >>
 >> *** 2.6 kernels no longer buildcorrectly with old versions of binutils.
 >> *** Please upgrade your binutils to 2.12.1 or newer
 >> make: *** [checkbin] Error 1
 >> make: Target `all' not remade because of errors.
 >
 > I talked to Alan, and -many is the correct fix.
 >

seeing your new patch now which indeed exports "as" with this needed
option i seem to understand now. somehow i was unable to apply your
patch, so i patched by hand / made a new patch:

evil@sheep:/usr/src/linux-2.6$ cat ../as-dssall.diff | patch -p1 -s \
--dry-run
patch: **** malformed patch at line 6: ifdef CONFIG_6xx

Thank you,
Christian.
--
BOFH excuse #377:

Someone hooked the twisted pair wires into the answering machine.

[-- Attachment #2: as-dssall.diff --]
[-- Type: text/x-diff, Size: 752 bytes --]

--- linux-2.6/arch/ppc/Makefile.orig	2004-06-10 18:07:35.000000000 +0200
+++ linux-2.6/arch/ppc/Makefile	2004-06-10 18:10:24.000000000 +0200
@@ -86,7 +86,7 @@

 ifdef CONFIG_6xx
 # Ensure this is binutils 2.12.1 (or 2.12.90.0.7) or later
-NEW_AS	:= $(shell echo dssall | $(AS) -o /dev/null >/dev/null 2>&1 ; echo $$?)
+NEW_AS := $(shell echo dssall | $(AS) -many -o /dev/null >/dev/null 2>&1 ; echo $$?)
 GOODVER	:= 2.12.1
 else
 NEW_AS	:= 0
@@ -94,7 +94,7 @@

 ifneq ($(NEW_AS),0)
 checkbin:
-	@echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build'
+	@echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build '
 	@echo 'correctly with old versions of binutils.'
 	@echo '*** Please upgrade your binutils to ${GOODVER} or newer'
 	@false

^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2004-07-26 23:07 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-05  7:43 [PATCH] fix typo in binutils version check Olaf Hering
2004-06-05 10:40 ` Christian Kujau
2004-06-05 11:11   ` Olaf Hering
2004-06-05 13:11     ` Christian Kujau
2004-06-07 15:57     ` Tom Rini
2004-06-08 11:25 ` [PATCH] fix missing option " Olaf Hering
2004-06-10  0:16   ` Tom Rini
2004-06-14  9:15     ` Olaf Hering
2004-06-14 16:23       ` Tom Rini
2004-06-14 17:38         ` Olaf Hering
2004-06-14 18:07           ` Olaf Hering
2004-06-14 20:55             ` Tom Rini
2004-06-14 21:19               ` Olaf Hering
2004-06-15 16:12                 ` Tom Rini
2004-06-15 17:25                   ` Olaf Hering
2004-06-15 17:46                     ` Tom Rini
2004-07-03 22:29                       ` Olaf Hering
2004-07-04  1:30                         ` Stef Simoens
2004-07-04  2:41                           ` Tom Rini
2004-07-04  8:32                             ` Geert Uytterhoeven
2004-07-04 16:33                               ` Hollis Blanchard
2004-07-25  6:07                                 ` Alan Modra
2004-07-26 19:36                                   ` Tom Rini
2004-07-26 23:03                                     ` Alan Modra
2004-07-26 23:07                                       ` Tom Rini
2004-07-04 18:32                               ` Tom Rini
2004-07-04  7:23                         ` Olaf Hering
2004-07-05 18:32                           ` Tom Rini
2004-07-09  1:34                             ` Tom Rini
2004-07-09  1:43                               ` Tom Rini
2004-07-12  9:06                               ` Olaf Hering
2004-07-12 15:11                                 ` Tom Rini
2004-07-12 18:03                                   ` Tom Rini
2004-07-13 13:49                                     ` Olaf Hering
2004-07-13 14:01                                       ` Tom Rini
2004-07-13 14:02                                         ` Olaf Hering
2004-07-13 14:20                                           ` Tom Rini
2004-07-13 15:18                                             ` Olaf Hering
2004-07-13 15:26                                               ` Tom Rini
2004-07-13 15:29                                                 ` Olaf Hering
2004-07-13 19:45                                                   ` Tom Rini
2004-07-14 23:23                                                   ` Tom Rini
2004-07-15  7:54                                                     ` Geert Uytterhoeven
2004-07-15 12:50                                                     ` Olaf Hering
2004-07-15 14:15                                                       ` Tom Rini
2004-07-15 14:24                                                         ` Olaf Hering
2004-07-15 14:23                                                       ` Tom Rini
2004-07-05 18:18                         ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2004-06-10 16:19 Christian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).