grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Various build failures in current bzr tree


From: Lennart Sorensen
Subject: Re: Various build failures in current bzr tree
Date: Sun, 12 Feb 2012 12:41:18 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Feb 12, 2012 at 12:35:12PM -0500, Lennart Sorensen wrote:
> I think you got it.
> 
> Doing a clean build to be sure.

Oops.  Greping for warning: isn't enough.  Have to look for error: too.

gcc-4.4 -DHAVE_CONFIG_H -I. -I../..  -Wall -W -I./include -DGRUB_UTIL=1 
-DGRUB_LIBDIR=\"/usr/lib/grub\" -DLOCALEDIR=\"/usr/share/locale\"  
-DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=POWERPC_EMU -DGRUB_TARGET_CPU_POWERPC=1 
-DGRUB_FILE=\"grub-core/kern/emu/hostdisk.c\" -I. -I../.. -I. -I../.. 
-I../../include -I./include  -I./grub-core/gnulib -I../../grub-core/gnulib      
          -g -Wall -O2 -Wall -W -Wshadow -Wold-style-declaration 
-Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Warray-bounds 
-Wattributes -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts 
-Wclobbered -Wcomment -Wcoverage-mismatch -Wdeprecated 
-Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body 
-Wendif-labels -Wfloat-equal -Wformat-contains-nul -Wformat-extra-args 
-Wformat-security -Wformat-y2k -Wignored-qualifiers -Wimplicit 
-Wimplicit-function-declaration -Wimplicit-int -Winit-self 
-Wint-to-pointer-cast -Winvalid-pch -Wunsafe-loop-optimizations -Wlogical-op 
-Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute 
-Wmissing-noreturn -Wmudflap -Wmultichar -Wnonnull -Woverflow 
-Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-to-int-cast 
-Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstack-protector 
-Wstrict-aliasing -Wswitch -Wsync-nand -Wtrigraphs  -Wtype-limits -Wundef 
-Wuninitialized -Wunknown-pragmas -Wunreachable-code -Wunused -Wunused-function 
-Wunused-label -Wunused-parameter -Wunused-result -Wunused-value  
-Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings 
-Wmissing-declarations -Wmissing-parameter-type  -Wmissing-prototypes 
-Wnested-externs -Wstrict-prototypes -Wpointer-sign -Werror  -Wno-undef 
-Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls 
-Wno-unreachable-code -Wno-conversion -Wno-old-style-definition                
-c -o grub-core/kern/emu/libgrubkern_a-hostdisk.o `test -f 
'grub-core/kern/emu/hostdisk.c' || echo '../../'`grub-core/kern/emu/hostdisk.c
cc1: warnings being treated as errors
../../grub-core/kern/emu/hostdisk.c: In function 'open_device':
../../include/grub/list.h:45: error: dereferencing pointer 
'linux_partition_cache_list.66' does break strict-aliasing rules
../../grub-core/kern/emu/hostdisk.c:717: note: initialized from here

I am trying to make sure I patched properly since with --disable-werror it
seems to build. but I thought it would still generate the same warnings.
I think the patch is applied properly.

-- 
Len Sorensen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]