[Click] Click on IA64
Qinghua(Kevin) Ye
qye at trlabs.ca
Wed Jun 23 17:43:03 EDT 2004
Hi, Eddie,
Thanks for your reply.
When I run userlevel click, I used the test.click configuration file
provided in $CLICK/conf/test.click. So, I used the Align.
The bug I encountered is as follows: (I run on Sun Fire V20Z with AMD
Opteron processors )
1) There is no definition of these functions when HAVE_INT64_TYPES and
HAVE_64_BIT_LONG is true.
cp_unsigned(const String &str, uint64_t *return_value)
cp_integer(const String &str, int64_t *return_value)
....
I simply commented line 80 in $CLICK/include/click/confparse.hh:
# if !HAVE_64_BIT_LONG
2) elements/standard/simplequeue.cc line205 and line 225, there is type
converting error, since in IA64, the int and void * cannot match. I
changed:
int which = reinterpret_cast<int>(thunk); to
long which = reinterpret_cast<long>(thunk);
That's all I modified. Hope to get more help from you. Thanks.
Regards,
Qinghua(Kevin) Ye
----- Original Message -----
From: "Eddie Kohler" <kohler at CS.UCLA.EDU>
To: "Qinghua(Kevin) Ye" <qye at trlabs.ca>
Cc: <click at amsterdam.lcs.mit.edu>
Sent: Tuesday, June 22, 2004 3:40 PM
Subject: Re: [Click] Click on IA64
> Hi Qinghua,
>
> On Jun 22, 2004, at 1:30 PM, Qinghua(Kevin) Ye wrote:
>> I have some questions about Click on Dual IA64 Processor Linux
>> platform.
>>
>> 1) Have it been tested much on such system?
>
> Not at all as far as I know.
>
>> 2) Could Click support multithread on such system?
>
> It *could*, but it probably doesn't yet. There's a fair amount if
> x86-specific code in Click.
>
>> When I compile the userlevel system, there is some problems. After I
>> fixed
>> it, and compiled successfully, there is some segment faults when I run
>> it
>> with simple test.click configuration file.
>
> Did you use "click-align"? And what were the problems you fixed?
>
>> When I compile the module, there is an error saying:
>> ../include/click/sync.hh:45:3: #error "no multithread support
>> for non
>> i386 click"
>> make: *** [templatei.o] Error 1
>>
>> So, can anyone help me to figure our my questions? If the answer is
>> negative, I wonder if I can do some work with you guys to make click
>> support
>> such system. Thank you!
>
> We'd love it!
>
> Eddie
>
>
>>
>> Regards,
>> Qinghua(Kevin) Ye
>>
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
More information about the click
mailing list