On 03/03/2012 07:29 AM, Stuart Hughes wrote:
> Hi Peter,
>
> I tried to apply this, but the current CVS version does not have
> patches: 7,8 and 9.
>
> Could you send these and a I'll get them all applied.

Stuart, those patches are to fix particulars in my system (dealing with
linux-3.0 MTD changes, and problems with OOB layout for a Micron in-chip
ECC where jffs2's cleanmarker "polutted" the ECC).  I'd recommend
skipping them (the mtd-utils-20080618-gcc-4.6.1-01.patch should apply
cleanly without them).

> Regards, Stuart
>
> On 28/02/12 19:37, Peter Barada wrote:
>> When building mtd-utils-20080618 using CodeSourcery 2011.09-70 for ARM
>> (gcc-4.6.1) it fails with (at least):
>>
>> gcc -I./inc -I./src -I../include -std=gnu99 -DPACKAGE_VERSION=\"1.0\"
>> -O2 -g -Werror -Wall -Wwrite-strings -W -c -o error.o ./src/error.c -g
>> -Wp,-MD,.error.c.dep
>> ./src/error.c: In function 'info_msg':
>> ./src/error.c:77:6: error: variable 'n' set but not used
>> [-Werror=unused-but-set-variable]
>> cc1: all warnings being treated as errors
>>
>> make[1]: *** [error.o] Error 1
>> make[1]: Leaving directory
>> `/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/mtd-utils/ubi-utils'
>> make: *** [all] Error 2
>> error: Bad exit status from
>> /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/tmp/rpm-tmp.85594
>> (%build)
>>
>>
>> RPM build errors:
>>     Bad exit status from
>> /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/tmp/rpm-tmp.85594
>> (%build)
>> Build time for mtd-utils: 7 seconds
>>
>> Failed building mtd-utils
>>
>>
>> The attached patch fixes this (at least makes mtd-utils build) for
>> gcc-4.5+...
>>
>>
>>
>>
>> _______________________________________________
>> LTIB home page: http://ltib.org
>>
>> Ltib mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/ltib


-- 
Peter Barada
[email protected]


_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to