L4 bug report

Ronald Aigner ra3 at os.inf.tu-dresden.de
Mon Aug 21 10:33:45 CEST 2006

Hash: SHA1

Hello again,

Ronald Aigner wrote on 21.08.2006 10:02 this:
>>> 	I doubted that it is sed version's problem. In ubuntu 6.06 the sed is NU sed 
>>> version 4.1.4.
> It actually is. As mentioned in
> http://os.inf.tu-dresden.de/pipermail/l4-hackers/2006/002972.html the
> fix is to split the multiline sed commands into multiple commands with
> -e prefixed.
To be able to give a more precise answer, I rechecked. Apparently, the
bug is a combined bug of make and sed. Make changed the way line-breaks
in continued shell commands are handled. As a result, the argument for
sed is not formatted as expected by sed. Thus sed throws the error.

(I can only guess that instead of replacing "\\n" with a whitespace the
"\n" is preserved - but that is only a guess.)

One fix is to remove the line-breaks in the command string -> multiple
- -e arguments. Another is to use '"' instead of ''' to embrace the
command string.  This, however, has the consequence that Make-variables
inside the command string are no longer evaluated.

> However, gcc-wrap should be obsolete. Feel free to delete that subdir
> from the tools directory.

Greetings, Ron.
l4-hackers mailing list
l4-hackers at os.inf.tu-dresden.de

- --
Mit freundlichen Gruessen / with regards
ra3 @ inf.tu-dresden.de
Version: GnuPG v1.4.3 (GNU/Linux)


More information about the l4-hackers mailing list