From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1WWSn9-0006Ab-K0 for mharc-grub-devel@gnu.org; Sat, 05 Apr 2014 11:45:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWSn2-0005wa-PJ for grub-devel@gnu.org; Sat, 05 Apr 2014 11:45:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWSms-00050a-9o for grub-devel@gnu.org; Sat, 05 Apr 2014 11:45:52 -0400 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:55982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWSmr-000509-In for grub-devel@gnu.org; Sat, 05 Apr 2014 11:45:41 -0400 Received: by mail-wg0-f52.google.com with SMTP id k14so4750477wgh.11 for ; Sat, 05 Apr 2014 08:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=Meo4NzoHeHT6CZw97NIKdUhmDr5ht+ICpLaMZF5nSXU=; b=mI/pQeLiOopXN0YQEcxZDLmiw3aXQsAvWoCqIWDJ8wk2yPpWCs5x6UXcot54o2X96q Tkb63owlyuMCzWh/0IZrNWVsFU4FR2I6hpMDRahXflhhYRWEWDchylV3kfXuAfRVYHlJ gtFOgkCnD4zisAqziVSKzdnAxhPQX1Try8J+ugp+P9zS+E7Lm97YGN8DCKZ7gDd4RwRK ZYF1dXiOOUpqN3l5AqyZKFuVpaGc36Tz10y1ivKC2plkMN/Mv9TQFcr7qJJ/Qqzn3zsu ct0h2uon3j1TonkmIUaCgzCEGJbYg1pwmDW1/OlkJcdry4dVSBYnIVTh4HzKyo/ApI77 1g9A== X-Received: by 10.194.174.197 with SMTP id bu5mr27994307wjc.71.1396712740160; Sat, 05 Apr 2014 08:45:40 -0700 (PDT) Received: from [192.168.1.16] (85-188.196-178.cust.bluewin.ch. [178.196.188.85]) by mx.google.com with ESMTPSA id n41sm27845678eeg.4.2014.04.05.08.45.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 05 Apr 2014 08:45:39 -0700 (PDT) Message-ID: <5340251A.2010309@gmail.com> Date: Sat, 05 Apr 2014 17:45:30 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.3.0 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :) References: <1393439482-20341-1-git-send-email-linuxram@us.ibm.com> <1393439482-20341-22-git-send-email-linuxram@us.ibm.com> <20140401214945.209b4894@opensuse.site> <533B1FF2.9040503@gmail.com> <20140403173336.GA16534@ram.oc3035372033.ibm.com> <20140403215356.1b953172@opensuse.site> <20140403183705.GK29218@ram.oc3035372033.ibm.com> <20140403230329.06d61900@opensuse.site> <20140403192657.GM29218@ram.oc3035372033.ibm.com> <20140403235446.2c69a649@opensuse.site> <533E5320.9070100@gmail.com> <20140404210837.6d9d2b1b@opensuse.site> In-Reply-To: <20140404210837.6d9d2b1b@opensuse.site> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cO2A2hGdPOQdq8BTxRN6O701wXEmpHVR1" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::234 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: Sat, 05 Apr 2014 15:45:58 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cO2A2hGdPOQdq8BTxRN6O701wXEmpHVR1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 04.04.2014 19:08, Andrey Borzenkov wrote: > =D0=92 Fri, 04 Apr 2014 08:37:20 +0200 > Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0= =B8=D1=88=D0=B5=D1=82: >=20 >> As for eliminating libgcc dependency I created branch phcoder/no-libgc= c. >=20 > I'm afraid it results in too much churn that will be unmanageable >=20 > module-cmos.o `test -f 'lib/ieee1275/cmos.c' || echo '../../grub-core/'= `lib/ieee1275/cmos.c > [ 140s] ../../grub-core/lib/relocator.c:655:2: error: implicit declara= tion of function 'memset' [-Werror=3Dimplicit-function-declaration] > [ 140s] memset (counter, 0, (1 + (1 << DIGITSORT_BITS)) * sizeof (co= unter[0])); > [ 140s] ^ > [ 140s] ../../grub-core/lib/relocator.c:655:2: error: nested extern de= claration of 'memset' [-Werror=3Dnested-externs] >=20 memset in GRUB code is a bug. I fixed the instances I've found and added #define's to posix wrapping > It is impossible to include compiler-rt.h from misc.h due to circular > dependencies and it is near to impossible to find all places where > compiler-rt.h has to be included (at least I do not have an idea). >=20 compiler-rt.,h shouldn't be included anywhere. The idea is that it contains only functions used by compiler and never used by GRUB code. > Someone will need to build test it for sparc, mips, arm (two flavors) > and powerpc (three flavors). I did all of this (I have a script). A problem is that restgpr and [al]sh[lr]di3 weren't used by any platform. Some other gcc versions probably use them. I'll need to figure out on which platforms. restgpr is definitely ppc-only. [al]sh[lr]di3 I think was for arm. >=20 >> For ppc only ucmpdi2 was needed actually. >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --cO2A2hGdPOQdq8BTxRN6O701wXEmpHVR1 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 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlNAJSEACgkQmBXlbbo5nOt1dgD/a/1HcERK/hMB30gTqFEdBa82 SMuO5yZGU8wCJzL+z3oA/iPU0O5adijxtnBTptljy/uZ1lidhWQJdwWFkP8Qh2R5 =D1K7 -----END PGP SIGNATURE----- --cO2A2hGdPOQdq8BTxRN6O701wXEmpHVR1--