[flashrom] [PATCH] Add Suport for Dr.Kaiser PC-Waechter
Stefan Reinauer
stepan at coresystems.de
Fri Sep 4 03:09:24 CEST 2009
Jörg Fischer wrote:
> Hi,
> Uwe Hermann schrieb:
>
>
>>> Unrelated issue: My OpenSUSE 11.2 Beta Box needs
>>> "make CFLAGS=-fno-strict-aliasing"
>>> GCC is "gcc version 4.4.1 [gcc-4_4-branch revision 149935] (SUSE Linux)"
>>>
>> Can you post the full build output of your compiler here, so we can fix
>> the actual issue (so that fno-strict-aliasing is hopefully no longer
>> needed).
>>
>
> Here it is:
> cc -Os -Wall -Werror -D'SERPROG_SUPPORT=1'
> -D'FLASHROM_VERSION="0.9.1-runknown"' -o physmap.o -c physmap.c
> cc1: warnings being treated as errors
> physmap.c: In function ârdmsrâ:
> physmap.c:146: error: dereferencing type-punned pointer will break
> strict-aliasing rules
> make: *** [physmap.o] Fehler 1
>
> This issue has already been reported on this list.
>
Does the following patch fix compilation for you?
Best regards,
Stefan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: physmap-gcc44-fix.diff
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20090904/1bbeba18/attachment.ksh>
More information about the flashrom
mailing list