[coreboot] SerialICE Build Error

Cristi Magherusan Cristi.Magherusan at net.utcluj.ro
Fri Oct 2 05:49:30 CEST 2009


On Thu, 2009-10-01 at 22:11 -0400, Joseph Smith wrote:
> [root at smitty5m SerialICE-1.0]# make
> gcc -O2 -Wall -o romcc util/romcc.c
> util/romcc.c: In function ‘simplify_load’:
> util/romcc.c:9925: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> util/romcc.c:9926: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> util/romcc.c:9927: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> util/romcc.c: In function ‘get_const_pool_ref’:
> util/romcc.c:23846: warning: format ‘%ld’ expects type ‘long int’, but 
> argument 3 has type ‘size_t’
> util/romcc.c:23851: warning: format ‘%ld’ expects type ‘long int’, but 
> argument 3 has type ‘size_t’
> util/romcc.c: In function ‘print_sdecl’:
> util/romcc.c:24660: warning: format ‘%ld’ expects type ‘long int’, but 
> argument 3 has type ‘size_t’
> ./romcc -mcpu=i386 -I. -Imainboard -o serialice.S serialice.c
> i386-elf-as -o serialice.o serialice.S
> make: i386-elf-as: Command not found
> make: *** [serialice.o] Error 127
> 
> Any ideas?
Try the attached patch

Signed-off-by: Cristi Măgherușan <cristi.magherusan at net.utcluj.ro>

Regards,
Cristi

-- 
Ing. Cristi Măgherușan, System/Network Engineer
Technical University of Cluj-Napoca, Romania
http://cc.utcluj.ro  +40264 401247
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serialice.diff
Type: text/x-patch
Size: 1181 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091002/aca8aa21/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091002/aca8aa21/attachment.sig>


More information about the coreboot mailing list