From: Christian <evil@g-house•de>
To: linuxppc-dev@lists•linuxppc.org
Subject: [PATCH] fix missing option in binutils version check
Date: Thu, 10 Jun 2004 18:19:39 +0200 [thread overview]
Message-ID: <40C88A1B.4020102@g-house.de> (raw)
[-- 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
next reply other threads:[~2004-06-10 16:19 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-10 16:19 Christian [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-06-05 7:43 [PATCH] fix typo in binutils version check Olaf Hering
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40C88A1B.4020102@g-house.de \
--to=evil@g-house$(echo .)de \
--cc=linuxppc-dev@lists$(echo .)linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox