Busybox 1.16.x dnsd alignment problems

Lars Reemts lars at reemts.de
Sat Apr 17 11:43:12 UTC 2010


Sorry, my mistake.

Denys Vlasenko schrieb:
> On Thu, Apr 15, 2010 at 12:40 AM, Lars Reemts <lars at reemts.de> wrote:
>   
>>> So I went with slapping ALIGN4 on the byte array instead.
>>>       
>> The ALIGN4 doesn't compile for me. gcc complains not to know the ALIGN4
>> macro. Had to change it to:
>> uint8_t buf[MAX_PACK_LEN + 1] __attribute__ ((aligned (4)));
>>     
>
> Look at
>
> http://busybox.net/downloads/fixes-1.16.1/busybox-1.16.1-dnsd.patch
>
> more attentively. ALIGN4 is also added there.
>   


-- 
Lars Reemts, Lange Wieke 1, 26817 Rhauderfehn, Germany
Tel: +49 4952 942290, Fax: +49 4952 942291
mailto: lars at reemts.de




More information about the busybox mailing list