From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net,
Ian McDonald <imcdnzl@gmail.com>
Cc: Rob Landley <rob@landley.net>
Subject: Re: [uml-devel] Broken compiling under 2.6.12-rc2 on my machine
Date: Fri, 8 Apr 2005 07:15:52 +0200 [thread overview]
Message-ID: <200504080715.52655.blaisorblade@yahoo.it> (raw)
In-Reply-To: <cbec11ac0504071621298678da@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1391 bytes --]
On Friday 08 April 2005 01:21, Ian McDonald wrote:
> OK.
>
> Tested this change to arch/um/kernel/Makefile:
> cmd_quote2 = sed -e '/CONFIG/{' \
> -e 's/"CONFIG"\;/""/' \
> -e 'r $(obj)/config.tmp' \
> -e 'a \' \
> -e '""\;' \
> -e '}' \
> $< > $@
>
> and can report that it fixes my problems.
>
> I can also report that vacopy patch works (which is also in 2.6.11.7 I
> notice but I haven't tested yet - I will post a note when I have but
> that may be next week) and syscall patch works (which is not yet in
> 2.6.11.x).
Test it from -bs3, please.
> Paolo I agree from my angle that this should go forwards as a confirmed
> patch.
Please make sure that the attached patch produces the same makefile as the
manual change you did (yes, I'm a bit overzealous maybe, but copy and paste
isn't perfect from mailers, patches are much better).
For me, I tested it on my Gentoo and produces the same output as the unpatched
code.
Ah, Rob, I've re-read the code and re-understood pipes are not enough, and we
must keep the temp step. Sorry (even if I blamed both, so I hope I've not
been impolite).
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade
[-- Attachment #2: uml-workaround-sed-behaviour.patch --]
[-- Type: text/x-diff, Size: 1028 bytes --]
From: Rob Landley <rob@landley.net>
It is apparent that the sed 3.02 (from august 1998) is still used on Debian Woody, and
it is stricter on input expressions for the "a" command. So change the code to
make it work - it's not a big change.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
---
linux-2.6.11-paolo/arch/um/kernel/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -puN arch/um/kernel/Makefile~uml-workaround-sed-behaviour arch/um/kernel/Makefile
--- linux-2.6.11/arch/um/kernel/Makefile~uml-workaround-sed-behaviour 2005-04-08 07:00:07.000000000 +0200
+++ linux-2.6.11-paolo/arch/um/kernel/Makefile 2005-04-08 07:05:40.000000000 +0200
@@ -53,6 +53,7 @@ quiet_cmd_quote2 = QUOTE $@
cmd_quote2 = sed -e '/CONFIG/{' \
-e 's/"CONFIG"\;/""/' \
-e 'r $(obj)/config.tmp' \
- -e 'a""\;' \
+ -e 'a \' \
+ -e '""\;' \
-e '}' \
$< > $@
_
next prev parent reply other threads:[~2005-04-08 5:09 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-06 3:51 [uml-devel] Broken compiling under 2.6.12-rc2 on my machine Ian McDonald
2005-04-06 5:45 ` Rob Landley
2005-04-06 17:59 ` Ian McDonald
2005-04-06 19:36 ` Blaisorblade
2005-04-06 23:55 ` Ian McDonald
2005-04-07 8:08 ` Rob Landley
2005-04-07 10:57 ` Adrian Phillips
2005-04-07 18:20 ` Blaisorblade
2005-04-07 6:50 ` Rob Landley
2005-04-07 18:19 ` Blaisorblade
2005-04-08 4:57 ` Rob Landley
2005-04-07 18:22 ` Blaisorblade
2005-04-07 23:21 ` Ian McDonald
2005-04-08 5:15 ` Blaisorblade [this message]
2005-04-08 5:26 ` [uml-devel] [patch] Fix broken compiling under 2.6.12-rc2 with sed 3.02 Rob Landley
2005-04-08 6:56 ` Blaisorblade
2005-04-08 7:21 ` Rob Landley
2005-04-08 4:59 ` [uml-devel] Broken compiling under 2.6.12-rc2 on my machine Rob Landley
2005-04-08 5:46 ` Rob Landley
2005-04-08 6:59 ` Blaisorblade
2005-04-08 7:23 ` Rob Landley
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=200504080715.52655.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=imcdnzl@gmail.com \
--cc=rob@landley.net \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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