From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RwNq7-0001dt-Sr for mharc-grub-devel@gnu.org; Sat, 11 Feb 2012 20:02:51 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwNq2-0001cy-St for grub-devel@gnu.org; Sat, 11 Feb 2012 20:02:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwNpz-0005U4-Rg for grub-devel@gnu.org; Sat, 11 Feb 2012 20:02:46 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:56338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwNpz-0005Tw-Ey for grub-devel@gnu.org; Sat, 11 Feb 2012 20:02:43 -0500 Received: by wera13 with SMTP id a13so3443906wer.0 for ; Sat, 11 Feb 2012 17:02:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; bh=UeDtR9RUgv+L3Ll5eJZhIqLb2HYOGCtPyz6nqkGTwnA=; b=kYltyAfcjO5f3v6nZNR8t0AJMV8fd87HXff5n/0dHQNTFsHC5zdKySv24OmPA0Js/0 xtbiIY9SCCu4NnMZXfAztgHRTTmxsh0hRNlK2Uz0cass48aLY3VKxiChW4C3XJGcenOI jgvHZ0UonN6dCOJ5QjCVCP6/dIkGRKFZAzHAY= Received: by 10.180.90.194 with SMTP id by2mr17010074wib.5.1329008561028; Sat, 11 Feb 2012 17:02:41 -0800 (PST) Received: from fedora.x201.phnet (151-64.203-62.cust.bluewin.ch. [62.203.64.151]) by mx.google.com with ESMTPS id cs4sm32213248wib.8.2012.02.11.17.02.37 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 11 Feb 2012 17:02:39 -0800 (PST) Message-ID: <4F370FA5.3020707@gmail.com> Date: Sun, 12 Feb 2012 02:02:29 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: Lennart Sorensen Subject: Re: Various build failures in current bzr tree References: <20120210181523.GC27742@caffeine.csclub.uwaterloo.ca> <4F3568D1.5020304@gmail.com> <20120210190852.GH27742@caffeine.csclub.uwaterloo.ca> <20120210191421.GJ27742@caffeine.csclub.uwaterloo.ca> <4F356F2C.1000308@gmail.com> <20120210202507.GK27742@caffeine.csclub.uwaterloo.ca> <4F358041.5090600@gmail.com> <20120210204301.GN27742@caffeine.csclub.uwaterloo.ca> <20120210231425.GO27742@caffeine.csclub.uwaterloo.ca> <4F35AA81.4010706@gmail.com> <20120212000258.GP27742@caffeine.csclub.uwaterloo.ca> In-Reply-To: <20120212000258.GP27742@caffeine.csclub.uwaterloo.ca> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig18643D2FD41DEA37843C944A" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.169 Cc: The development of GNU GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Feb 2012 01:02:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig18643D2FD41DEA37843C944A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12.02.2012 01:02, Lennart Sorensen wrote: > On Sat, Feb 11, 2012 at 12:38:41AM +0100, Vladimir '=CF=86-coder/phcode= r' Serbinenko wrote: >> =3D=3D=3D modified file 'configure.ac' >> --- configure.ac 2012-02-10 15:48:48 +0000 >> +++ configure.ac 2012-02-10 23:28:12 +0000 >> @@ -373,9 +373,9 @@ >> LIBS=3D"" >> =20 >> # debug flags. >> -WARN_FLAGS=3D"-Wall -W -Wshadow -Wold-style-declaration -Wold-style-d= efinition -Wpointer-arith -Wmissing-prototypes -Wundef -Wextra -Waddress = -Warray-bounds -Wattributes -Wbuiltin-macro-redefined -Wcast-align -Wchar= -subscripts -Wclobbered -Wcomment -Wcoverage-mismatch -Wdeprecated -Wdepr= ecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -W= endif-labels -Wfloat-equal -Wformat-contains-nul -Wformat-extra-args -Wfo= rmat-security -Wformat-y2k -Wignored-qualifiers -Wimplicit -Wimplicit-fun= ction-declaration -Wimplicit-int -Winit-self -Winline -Wint-to-pointer-ca= st -Winvalid-pch -Wunsafe-loop-optimizations -Wlogical-op -Wmain -Wmissin= g-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissin= g-noreturn -Wmudflap -Wmultichar -Wnonnull -Woverflow -Wpacked-bitfield-c= ompat -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -= Wsequence-point -Wshadow -Wsign-compare -Wstack-protector -Wstrict-aliasi= ng -Wstrict-overflow -Wswitch -Wsync-nand -Wtrigraphs -Wtype-limits -Wun= def -Wuninitialized -Wunknown-pragmas -Wunreachable-code -Wunused -Wunuse= d-function -Wunused-label -Wunused-parameter -Wunused-result -Wunused-val= ue -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-s= trings -Wmissing-declarations -Wmissing-parameter-type -Wmissing-prototy= pes -Wnested-externs -Wstrict-prototypes -Wpointer-sign" >> +WARN_FLAGS=3D"-Wall -W -Wshadow -Wold-style-declaration -Wold-style-d= efinition -Wpointer-arith -Wundef -Wextra -Waddress -Warray-bounds -Wattr= ibutes -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobber= ed -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 -Wforma= t-y2k -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wi= mplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wunsafe-loop= -optimizations -Wlogical-op -Wmain -Wmissing-braces -Wmissing-field-initi= alizers -Wmissing-format-attribute -Wmissing-noreturn -Wmudflap -Wmultich= ar -Wnonnull -Woverflow -Wpacked-bitfield-compat -Wparentheses -Wpointer-= arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsig= n-compare -Wstack-protector -Wstrict-aliasing -Wswitch -Wsync-nand -Wtrig= raphs -Wtype-limits -Wundef -Wuninitialized -Wunknown-pragmas -Wunreacha= ble-code -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wu= nused-result -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolati= le-register-var -Wwrite-strings -Wmissing-declarations -Wmissing-paramete= r-type -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Wpoint= er-sign" >> HOST_CFLAGS=3D"$HOST_CFLAGS $WARN_FLAGS" >> -TARGET_CFLAGS=3D"$TARGET_CFLAGS $WARN_FLAGS -g -Wredundant-decls" >> +TARGET_CFLAGS=3D"$TARGET_CFLAGS $WARN_FLAGS -g -Wredundant-decls -Wmi= ssing-prototypes" >> TARGET_CCASFLAGS=3D"$TARGET_CCASFLAGS -g" >> =20 >> # Force no alignment to save space on i386. >> >> =3D=3D=3D modified file 'docs/grub.texi' >> --- docs/grub.texi 2012-01-31 21:59:32 +0000 >> +++ docs/grub.texi 2012-02-10 17:11:59 +0000 >> @@ -20,7 +20,7 @@ >> This manual is for GNU GRUB (version @value{VERSION}, >> @value{UPDATED}). >> =20 >> -Copyright @copyright{} 1999,2000,2001,2002,2004,2006,2008,2009,2010 F= ree Software Foundation, Inc. >> +Copyright @copyright{} 1999,2000,2001,2002,2004,2006,2008,2009,2010,2= 011,2012 Free Software Foundation, Inc. >> =20 >> @quotation >> Permission is granted to copy, distribute and/or modify this document= >> >> =3D=3D=3D modified file 'gentpl.py' >> --- gentpl.py 2011-12-24 14:09:26 +0000 >> +++ gentpl.py 2012-02-10 17:10:18 +0000 >> @@ -1,4 +1,19 @@ >> #! /usr/bin/python >> +# GRUB -- GRand Unified Bootloader >> +# Copyright (C) 2010,2011 Free Software Foundation, Inc. >> +# >> +# GRUB is free software: you can redistribute it and/or modify >> +# it under the terms of the GNU General Public License as published = by >> +# the Free Software Foundation, either version 3 of the License, or >> +# (at your option) any later version. >> +# >> +# GRUB is distributed in the hope that it will be useful, >> +# but WITHOUT ANY WARRANTY; without even the implied warranty of >> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> +# GNU General Public License for more details. >> +# >> +# You should have received a copy of the GNU General Public License >> +# along with GRUB. If not, see . >> =20 >> # >> # This is the python script used to generate Makefile.tpl >> >> =3D=3D=3D modified file 'grub-core/disk/diskfilter.c' >> --- grub-core/disk/diskfilter.c 2012-02-09 22:43:43 +0000 >> +++ grub-core/disk/diskfilter.c 2012-02-10 19:54:58 +0000 >> @@ -260,6 +260,24 @@ >> return list; >> } >> =20 >> +void >> +grub_diskfilter_print_partmap (grub_disk_t disk) >> +{ >> + struct grub_diskfilter_lv *lv =3D disk->data; >> + struct grub_diskfilter_pv *pv; >> + >> + if (lv->vg->pvs) >> + for (pv =3D lv->vg->pvs; pv; pv =3D pv->next) >> + { >> + grub_size_t s; >> + if (!pv->disk) >> + grub_util_error (_("Couldn't find physical volume `%s'." >> + " Check your device.map"), pv->name); >> + for (s =3D 0; pv->partmaps[s]; s++) >> + grub_printf ("%s ", pv->partmaps[s]); >> + } >> +} >> + >> static const char * >> grub_diskfilter_getname (struct grub_disk *disk) >> { >> @@ -964,6 +982,19 @@ >> pv->part_start =3D grub_partition_get_start (disk->partition); >> pv->part_size =3D grub_disk_get_size (disk); >> =20 >> +#ifdef GRUB_UTIL >> + { >> + grub_size_t s =3D 1; >> + grub_partition_t p; >> + for (p =3D disk->partition; p; p =3D p->parent) >> + s++; >> + pv->partmaps =3D xmalloc (s * sizeof (pv->partmaps[0])); >> + s =3D 0; >> + for (p =3D disk->partition; p; p =3D p->parent) >> + pv->partmaps[s++] =3D xstrdup (p->partmap->name); >> + pv->partmaps[s++] =3D 0; >> + } >> +#endif >> if (start_sector !=3D (grub_uint64_t)-1) >> pv->start_sector =3D start_sector; >> pv->start_sector +=3D pv->part_start; >> >> =3D=3D=3D modified file 'grub-core/kern/emu/full.c' >> --- grub-core/kern/emu/full.c 2012-02-09 22:15:27 +0000 >> +++ grub-core/kern/emu/full.c 2012-02-10 20:37:43 +0000 >> @@ -50,7 +50,7 @@ >> grub_no_autoload =3D 1; >> } >> =20 >> -#ifdef __ia64__ >> +#if defined (__ia64__) || defined (__powerpc__) >> void grub_arch_dl_get_tramp_got_size (const void *ehdr __attribute__ = ((unused)), >> grub_size_t *tramp, grub_size_t *got) >> { >> >> =3D=3D=3D modified file 'grub-core/script/execute.c' >> --- grub-core/script/execute.c 2012-02-04 11:21:21 +0000 >> +++ grub-core/script/execute.c 2012-02-10 22:24:15 +0000 >> @@ -26,6 +26,7 @@ >> #include >> #include >> #include >> +#include >> =20 >> /* Max digits for a char is 3 (0xFF is 255), similarly for an int it >> is sizeof (int) * 3, and one extra for a possible -ve sign. */ >> @@ -312,8 +313,8 @@ >> struct grub_script_arg *arg =3D 0; >> struct grub_script_argv result =3D { 0, 0, 0 }; >> =20 >> - auto int append (char *s, int escape_type); >> - int append (char *s, int escape_type) >> + auto int append (const char *s, int escape_type); >> + int append (const char *s, int escape_type) >> { >> int r; >> char *p =3D 0; >> @@ -379,12 +380,20 @@ >> break; >> =20 >> case GRUB_SCRIPT_ARG_TYPE_TEXT: >> - if (grub_strlen (arg->str) && >> + if (arg->str[0] && >> grub_script_argv_append (&result, arg->str, >> grub_strlen (arg->str))) >> goto fail; >> break; >> =20 >> + case GRUB_SCRIPT_ARG_TYPE_GETTEXT: >> + { >> + const char *t =3D _(arg->str); >> + if (grub_script_argv_append (&result, t, grub_strlen (t))) >> + goto fail; >> + } >> + break; >> + >> case GRUB_SCRIPT_ARG_TYPE_DQSTR: >> case GRUB_SCRIPT_ARG_TYPE_SQSTR: >> if (append (arg->str, 1)) >> >> =3D=3D=3D modified file 'grub-core/script/yylex.l' >> --- grub-core/script/yylex.l 2012-02-03 10:56:49 +0000 >> +++ grub-core/script/yylex.l 2012-02-10 22:20:27 +0000 >> @@ -131,15 +131,17 @@ >> SQCHR [^\'] >> DQCHR {ESC}|[^\\\"] >> DQSTR \"{DQCHR}*\" >> +I18NSTR \$\"{DQCHR}*\" >> SQSTR \'{SQCHR}*\' >> SPECIAL \?|\#|\*|\@ >> VARIABLE ${NAME}|$\{{NAME}\}|${DIGITS}|$\{{DIGITS}\}|${SPECIAL= }|$\{{SPECIAL}\} >> -WORD ({CHAR}|{DQSTR}|{SQSTR}|{ESC}|{VARIABLE})+ >> +WORD ({CHAR}|{DQSTR}|{SQSTR}|{ESC}|{VARIABLE}|{I18NSTR})+ >> =20 >> MULTILINE {WORD}?((\"{DQCHR}*)|(\'{SQCHR}*)|(\\\n)) >> =20 >> %x SPLIT >> %x DQUOTE >> +%x I18NQUOTE >> %x SQUOTE >> %x VAR >> =20 >> @@ -215,6 +217,10 @@ >> yy_push_state (SQUOTE, yyscanner); >> ARG (GRUB_SCRIPT_ARG_TYPE_TEXT); >> } >> + "\$\"" { >> + yy_push_state (I18NQUOTE, yyscanner); >> + ARG (GRUB_SCRIPT_ARG_TYPE_GETTEXT); >> + } >> \$ { >> yy_push_state (VAR, yyscanner); >> ARG (GRUB_SCRIPT_ARG_TYPE_TEXT); >> @@ -280,6 +286,18 @@ >> (.|\n) { COPY (yytext, yyleng); } >> } >> =20 >> +{ >> + \\\\ { COPY ("\\", 1); } >> + \\\" { COPY ("\"", 1); } >> + \\\n { /* ignore */ } >> + [^\"\\\n]+ { COPY (yytext, yyleng); } >> + \" { >> + yy_pop_state (yyscanner); >> + ARG (GRUB_SCRIPT_ARG_TYPE_GETTEXT); >> + } >> + (.|\n) { COPY (yytext, yyleng); } >> +} >> + >> <> { >> yypop_buffer_state (yyscanner); >> yyextra->lexerstate->eof =3D 1; >> >> =3D=3D=3D modified file 'include/grub/diskfilter.h' >> --- include/grub/diskfilter.h 2012-01-29 13:28:01 +0000 >> +++ include/grub/diskfilter.h 2012-02-10 19:53:29 +0000 >> @@ -72,6 +72,9 @@ >> struct grub_diskfilter_pv *next; >> /* Optional. */ >> grub_uint8_t *internal_id; >> +#ifdef GRUB_UTIL >> + char **partmaps; >> +#endif >> }; >> =20 >> struct grub_diskfilter_lv { >> @@ -186,6 +189,8 @@ >> struct grub_diskfilter_pv * >> grub_diskfilter_get_pv_from_disk (grub_disk_t disk, >> struct grub_diskfilter_vg **vg); >> +void >> +grub_diskfilter_print_partmap (grub_disk_t disk); >> #endif >> =20 >> #endif /* ! GRUB_RAID_H */ >> >> =3D=3D=3D modified file 'include/grub/script_sh.h' >> --- include/grub/script_sh.h 2011-11-11 19:34:37 +0000 >> +++ include/grub/script_sh.h 2012-02-10 20:30:33 +0000 >> @@ -53,6 +53,7 @@ >> { >> GRUB_SCRIPT_ARG_TYPE_VAR, >> GRUB_SCRIPT_ARG_TYPE_TEXT, >> + GRUB_SCRIPT_ARG_TYPE_GETTEXT, >> GRUB_SCRIPT_ARG_TYPE_DQVAR, >> GRUB_SCRIPT_ARG_TYPE_DQSTR, >> GRUB_SCRIPT_ARG_TYPE_SQSTR, >> >> =3D=3D=3D modified file 'util/getroot.c' >> --- util/getroot.c 2012-02-10 12:17:12 +0000 >> +++ util/getroot.c 2012-02-10 18:48:24 +0000 >> @@ -372,7 +372,7 @@ >> char *buf =3D NULL; >> size_t len =3D 0; >> char **ret =3D NULL; >> - int entry_len =3D 0, entry_max =3D 4; >> + grub_size_t entry_len =3D 0, entry_max =3D 4; >> struct mountinfo_entry *entries; >> struct mountinfo_entry parent_entry =3D { 0, 0, 0, "", "", "", "" }= ; >> int i; >> @@ -1991,7 +1991,7 @@ >> const grub_partition_t partition) >> { >> grub_disk_addr_t part_start =3D 0; >> - grub_util_info ("Partition %d starts from %lu", >> + grub_util_info ("Partition %d starts from %" PRIuGRUB_UINT64_T, >> partition->number, partition->start); >> =20 >> part_start =3D grub_partition_get_start (partition); >> @@ -2022,7 +2022,7 @@ >> return 0; >> } >> =20 >> - grub_util_info ("%s starts from %lu", os_dev, start); >> + grub_util_info ("%s starts from %" PRIuGRUB_UINT64_T, os_dev, sta= rt); >> =20 >> if (start =3D=3D 0 && device_is_wholedisk (os_dev)) >> return name; >> >> =3D=3D=3D modified file 'util/grub-mkimage.c' >> --- util/grub-mkimage.c 2012-02-10 12:56:18 +0000 >> +++ util/grub-mkimage.c 2012-02-10 23:30:37 +0000 >> @@ -714,7 +714,7 @@ >> grub_uint64_t start_address; >> void *rel_section; >> grub_size_t reloc_size, align; >> - size_t decompress_size; >> + size_t decompress_size =3D 0; >> =20 >> if (comp =3D=3D COMPRESSION_AUTO) >> comp =3D image_target->default_compression; >> >> =3D=3D=3D modified file 'util/grub-mkimagexx.c' >> --- util/grub-mkimagexx.c 2012-02-10 12:56:18 +0000 >> +++ util/grub-mkimagexx.c 2012-02-10 23:34:17 +0000 >> @@ -182,6 +182,7 @@ >> =20 >> #define MASK20 ((1 << 20) - 1) >> #define MASK19 ((1 << 19) - 1) >> +#define MASK3 (~(grub_addr_t) 3) >> =20 >> static void >> add_value_to_slot_20b (grub_addr_t addr, grub_uint32_t value) >> @@ -190,17 +191,17 @@ >> switch (addr & 3) >> { >> case 0: >> - p =3D (struct unaligned_uint32 *) ((addr & ~3ULL) + 2); >> + p =3D (struct unaligned_uint32 *) ((addr & MASK3) + 2); >> p->val =3D ((((((p->val >> 2) & MASK20) + value) & MASK20) << 2= )=20 >> | (p->val & ~(MASK20 << 2))); >> break; >> case 1: >> - p =3D (struct unaligned_uint32 *) ((grub_uint8_t *) (addr & ~3U= LL) + 7); >> + p =3D (struct unaligned_uint32 *) ((grub_uint8_t *) (addr & MAS= K3) + 7); >> p->val =3D ((((((p->val >> 3) & MASK20) + value) & MASK20) << 3= ) >> | (p->val & ~(MASK20 << 3))); >> break; >> case 2: >> - p =3D (struct unaligned_uint32 *) ((grub_uint8_t *) (addr & ~3U= LL) + 12); >> + p =3D (struct unaligned_uint32 *) ((grub_uint8_t *) (addr & MAS= K3) + 12); >> p->val =3D ((((((p->val >> 4) & MASK20) + value) & MASK20) << 4= ) >> | (p->val & ~(MASK20 << 4))); >> break; >> @@ -227,15 +228,15 @@ >> switch (addr & 3) >> { >> case 0: >> - p =3D (struct unaligned_uint32 *) ((addr & ~3ULL) + 2); >> + p =3D (struct unaligned_uint32 *) ((addr & MASK3) + 2); >> p->val =3D ((add_value_to_slot_21_real (((p->val >> 2) & MASKF2= 1), value) & MASKF21) << 2) | (p->val & ~(MASKF21 << 2)); >> break; >> case 1: >> - p =3D (struct unaligned_uint32 *) ((grub_uint8_t *) (addr & ~3U= LL) + 7); >> + p =3D (struct unaligned_uint32 *) ((grub_uint8_t *) (addr & MAS= K3) + 7); >> p->val =3D ((add_value_to_slot_21_real (((p->val >> 3) & MASKF2= 1), value) & MASKF21) << 3) | (p->val & ~(MASKF21 << 3)); >> break; >> case 2: >> - p =3D (struct unaligned_uint32 *) ((grub_uint8_t *) (addr & ~3U= LL) + 12); >> + p =3D (struct unaligned_uint32 *) ((grub_uint8_t *) (addr & MAS= K3) + 12); >> p->val =3D ((add_value_to_slot_21_real (((p->val >> 4) & MASKF2= 1), value) & MASKF21) << 4) | (p->val & ~(MASKF21 << 4)); >> break; >> } >> @@ -457,8 +458,8 @@ >> - target_section_addr - (offset & ~3)) >> 4; >> tr++; >> if (noff & ~MASK19) >> - grub_util_error ("trampoline offset too big (%lx)", >> - noff); >> + grub_util_error ("trampoline offset too big (%" >> + PRIxGRUB_UINT64_T ")", noff); >> add_value_to_slot_20b ((grub_addr_t) target, noff); >> } >> break; >> @@ -919,7 +920,7 @@ >> grub_size_t kernel_size; >> grub_size_t ia64jmp_off =3D 0, ia64_toff =3D 0, ia64_got_off =3D 0;= >> unsigned ia64jmpnum =3D 0; >> - Elf_Shdr *symtab_section; >> + Elf_Shdr *symtab_section =3D 0; >> grub_size_t got =3D 0; >> =20 >> *start =3D 0; >> >> =3D=3D=3D modified file 'util/grub-probe.c' >> --- util/grub-probe.c 2012-02-10 11:57:00 +0000 >> +++ util/grub-probe.c 2012-02-10 19:56:18 +0000 >> @@ -87,6 +87,9 @@ >> for (part =3D disk->partition; part; part =3D part->parent) >> printf ("%s ", part->partmap->name); >> =20 >> + if (disk->dev->id =3D=3D GRUB_DISK_DEVICE_DISKFILTER_ID) >> + grub_diskfilter_print_partmap (disk); >> + >> /* In case of LVM/RAID, check the member devices as well. */ >> if (disk->dev->memberlist) >> { >> @@ -304,7 +307,7 @@ >> raid_level =3D probe_raid_level (disk); >> if (raid_level >=3D 0) >> { >> - printf ("raid "); >> + printf ("diskfilter "); >> if (disk->dev->raidname) >> printf ("%s ", disk->dev->raidname (disk)); >> } >> >> =3D=3D=3D modified file 'util/import_gcry.py' >> --- util/import_gcry.py 2012-02-10 15:48:48 +0000 >> +++ util/import_gcry.py 2012-02-10 23:26:06 +0000 >> @@ -325,7 +325,7 @@ >> confutil.write (" common =3D grub-core/%s;\n" % src)= >> if modname =3D=3D "gcry_rijndael" or modname =3D=3D "gcry= _md4" or modname =3D=3D "gcry_md5" or modname =3D=3D "gcry_rmd160" or mod= name =3D=3D "gcry_sha1" or modname =3D=3D "gcry_sha256" or modname =3D=3D= "gcry_sha512" or modname =3D=3D "gcry_tiger": >> # Alignment checked by hand >> - conf.write (" cflags =3D '$(CFLAGS_GCRY) -Wno-cast-a= lign';\n"); >> + conf.write (" cflags =3D '$(CFLAGS_GCRY) -Wno-cast-a= lign -Wno-strict-aliasing';\n"); >> else: >> conf.write (" cflags =3D '$(CFLAGS_GCRY)';\n"); >> conf.write (" cppflags =3D '$(CPPFLAGS_GCRY)';\n"); >> > Well that seems to build (when ignoring warnings). I have to fix the > packaging scripts a it now that grub-mkdevice has gone away, but that's= > not that big a deal. > > I have attached the build log, to see what the warnings remaining > are (about 5000 lines of warning: when building powerpc-emu and > powerpc-ieee1275) at this point. > Looks like they all come from double-linked list code. This should help: =3D=3D=3D modified file 'include/grub/list.h' --- include/grub/list.h 2012-01-29 17:09:53 +0000 +++ include/grub/list.h 2012-02-12 01:00:48 +0000 @@ -24,6 +24,10 @@ #include #include =20 +struct grub_list __attribute__ ((may_alias)); +struct grub_named_list __attribute__ ((may_alias)); +struct grub_prio_list __attribute__ ((may_alias)); + struct grub_list { struct grub_list *next; --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig18643D2FD41DEA37843C944A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk83D6wACgkQNak7dOguQgmjWQD+IWaewPFZsMatRum+C6oZ4nvO 8HWH/kOX3fecK1aEjLAA/jwzp5E/FL6CTxIvNas2CUUAQeQHKmPve9acYj5iq5ZH =x74y -----END PGP SIGNATURE----- --------------enig18643D2FD41DEA37843C944A--