[Click] click kernel module compile for Debian Lenny

Eddie Kohler kohler at cs.ucla.edu
Fri Oct 17 16:05:58 EDT 2008


Do latest version of c++ actually parse 'asm ("foo"::"bar")' correctly?  The 
reason we patch code like that is that when included, c++ complains, thinking 
that "::" is the scope operator rather than two colons.  I agree that those 
patches are super problematic from kernel version to kernel version.

E


Harald Schiöberg wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Adam Greenhalgh wrote:
>> Unfortunately I haven't had time to try it on 2.6.27.x . Has anyone else ?
> 
> I did with the latest patchset I could find on the list against 2.6.26
> 
> Result: The patches contain a tremendous amount of substitutions
> /::/: :/
> which seem unnecessary and sometimes even dangerous, and which generate
> a lot of rejects, especially since apparently all
>  asm( "foo"::"bar")
> statements in the kernel are patched, and a lot of asm code was moved
> lately.
> 
> I started to clean the patches of these things, i just have the cleaned
> patchset on a different machine.
> After that, the patches applied and compiled fine, but I had no time to
> actually run it.
> 
> so far,
> 	Harald
> 
> btw: I'm also targeting OpenWRT with it, if you manage an OpenWRT patch
> first I'd be really interested.
> You can also have a look at my OpenWRT click userspace package at
> http://svn.net.t-labs.tu-berlin.de/svn/magnets/openwrt/packages/click-new/
> which is updated to git and contains a full wrapper of all configure
> options for the userspace.
> 
> - --
> Harald Schiöberg
> Technische Universität Berlin | T-Laboratories | FG INET
> www: http://www.net.t-labs.tu-berlin.de
> Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFI+OEqy8wrZ9OvkU0RAiO1AJ0e0zZ0+sV9/I98C8rEQup5pPKxKwCfe711
> pTex6C2LvZnPpJ8cMdtL8V0=
> =/Vk/
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list