[Click] AlignmentInfo Question

Eddie Kohler kohler at cs.ucla.edu
Mon Apr 23 12:12:28 EDT 2007


Roberto,

It looks like recent GCCs caught a mistake in one of our configuration test 
programs.  As a result, Click's configuration process was not able to 
determine whether a machine was indifferent to alignment, at leas ton my 
machine.  This should be fixed now.

If the updates don't help you, send your generated config.h, and tell us what 
type of machine you're running on.

Eddie


Roberto Riggio wrote:
> Hi,
> 
> I'm puzzled, is htat supposed to be just a warning?
> 
> I'm using the latest CVS version and I've tried to run the click
> configuration in the following way:
> 
> click -w  running.click 
> 
> running.click:221: While configuring 'Classifier at 16 :: Classifier':
>   no AlignmentInfo available: you may experience unaligned accesses
> Router could not be initialized!
> 
> The same script was running fine without an older version of click.
> 
> Is there a way to fix the problem? 
> 
> Roberto
> 
> ----- Original Message -----
> From: Eddie Kohler <kohler at cs.ucla.edu>
> To: Fischofer William-B09792 <Bill.Fischofer at freescale.com>
> Cc: Click <click at pdos.csail.mit.edu>
> Sent: Monday, March 26, 2007 10:02:21 PM GMT+0100 Europe/Berlin
> Subject: Re: [Click] AlignmentInfo Question
> 
> Ah -- the problem was that a test that should have been generic (#if 
> !HAVE_INDIFFERENT_ALIGNMENT) was architecture specific (#ifndef 
> __i386__).  Fixed; it may take some time to make its way to the 
> anonymous CVS.  In the meantime you can just ignore the warning.
> 
> Eddie
> 
> 
> Fischofer William-B09792 wrote:
>> Attached.  Thanks for your help. 
>>
>> Bill
>>
>> -----Original Message-----
>> From: Eddie Kohler [mailto:kohler at cs.ucla.edu] 
>> Sent: Monday, March 26, 2007 2:13 PM
>> To: Fischofer William-B09792
>> Cc: click at amsterdam.lcs.mit.edu
>> Subject: Re: [Click] AlignmentInfo Question
>>
>> Huh.  Is "int" 64 bits wide on AMD64?  I'd appreciate it if you sent me
>> your "config.log" file (don't cc the list, those files are large) so I
>> can take a look.
>>
>> Eddie
>>
>>
>> Fischofer William-B09792 wrote:
>>> Actually, this is running on Linux on an AMD64 box.  I'll be moving 
>>> this to a PPC-based platform later but I wanted to get things running 
>>> on an x86-compatible box first.  I did look up click-align and will 
>>> use that if it seems advisable but I was just surprised to get that 
>>> error message (even moreso now that you say I shouldn't have gotten it
>>> in the first place).
>>>
>>> Bill
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 
> 


More information about the click mailing list