[Click] Support for IA64 Linux

Eddie Kohler kohler at cs.ucla.edu
Thu Dec 9 21:37:43 EST 2004


OK, I understand your situation then.  We didn't need or want full C++ 
support in the kernel, so we compile with -fno-exceptions and 
-fno-rtti.  Look at the Reykjavik work if you want full C++ support, we 
can't help you.

Eddie


On Dec 9, 2004, at 12:29 PM, Nim, Rahul wrote:

>
> Hi Eddie.
>
> 26 needs a patch for supporting ia64 (see ia64-linux.org).  This patch
> conflicts a little with the click patch, but I was able to get past 
> that
> point by editing one source file by hand.  I haven't been able to run
> the kernel yet because of initrd problems (I am a newbie when it comes
> to initrd).
>
> My primary reason for trying this out is to see how difficult it is to
> write a module in C++.  We have a significant piece of code that we 
> want
> to run in kernel mode; the problem is that it is written in C++ - a
> situation similar to yours.  I would avoid C++ if I could, but I have 
> no
> choice.
>
> BTW, I hope you guys have looked at Reykjavik University's work for
> supporting C++ in Linux kernel (2.6.9 only):
> http://netlab.ru.is/exception/LinuxCXX.shtml
>
> I don't understand the entire work, but I think you guys should have
> done something similar to support C++.  From the documentation it seems
> that your patch changes certain header files so that g++ does not
> complain.  But what about the run-time support for things like
> exceptions (which is provided by user-mode libraries usually)?  What
> have you guys done for that?  Any knowledge about this will be very
> useful for me!
>
> I have a question about SMP: You say it will not work.  Which one did
> you mean will not work: the click module, or the patched kernel only?
>
> Thanks for responding,
>
> -Rahul
>
>
> -----Original Message-----
> From: Eddie Kohler [mailto:kohler at cs.ucla.edu]
> Sent: Thursday, December 09, 2004 11:02 AM
> To: Nim, Rahul
> Cc: click at amsterdam.lcs.mit.edu
> Subject: Re: [Click] Support for IA64 Linux
>
> Hi Rahul,
>
> Give a stock 2.4.26 or 2.4.27 kernel a try, patched of course with
> Click's kernel patches.  I don't believe anyone has tried an IA-64
> configuration, so let us know how it goes!!  (SMP will definitely not
> work.)
>
> Eddie
>
>
> On Dec 6, 2004, at 6:33 PM, Nim, Rahul wrote:
>
>>
>> Hi All.
>>
>> What is the ideal IA64 kernel to compile click for?  I am currently
>> running RedHat 2.4.21-20EL.
>>
>> Thanks,
>>
>> Rahul
>>
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list