From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OrIn9-0006Am-9G for mharc-grub-devel@gnu.org; Thu, 02 Sep 2010 19:01:59 -0400 Received: from [140.186.70.92] (port=45543 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrIn3-00069g-Sl for grub-devel@gnu.org; Thu, 02 Sep 2010 19:01:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrImy-00065Q-Ck for grub-devel@gnu.org; Thu, 02 Sep 2010 19:01:50 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:46686) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrImy-00064r-2c for grub-devel@gnu.org; Thu, 02 Sep 2010 19:01:48 -0400 Received: by fxm3 with SMTP id 3so816311fxm.0 for ; Thu, 02 Sep 2010 16:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=1ttSjNCINHUT+9zyMGuISFuYbyJZuNPQjeeSBJkf31k=; b=PZmWeEXetWYWEPQzmSKZFmebzHeexSjAsHmvvma0jW8na+VkUUwNDca11JZk05DJpq ITDhT0PsyqE95zlsSrHmHyJrU1h02RHEmfKMW3IXaLO/NcsUWu/P4n4Ba0BHJoiJ17jm cRGT0f3fBroUkC7e2Q7TbVYE2bryK92F/n2BY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=UOFt1O1OaZnhEmoRRsWEAf7DTBf3a15fm2Q+Hd1VFU8LXBjnUHnqFKCbGLS5IjscoF vKMbm8Jw77+UgWpChAoPXh7qjLuLnjnXGgOYMgFFrK6l5BbrL8FbPmXpJtB9DOH+hkKy 0iSsPYKe+iV8IAk8lJsq9tLcSn2I9gWnFE7Mw= Received: by 10.223.111.76 with SMTP id r12mr9408008fap.0.1283468507127; Thu, 02 Sep 2010 16:01:47 -0700 (PDT) Received: from debian.bg45.phnet (62-156.62-81.cust.bluewin.ch [81.62.156.62]) by mx.google.com with ESMTPS id h12sm539607faa.13.2010.09.02.16.01.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Sep 2010 16:01:45 -0700 (PDT) Message-ID: <4C802CD7.10800@gmail.com> Date: Fri, 03 Sep 2010 01:01:43 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6 MIME-Version: 1.0 To: grub-devel@gnu.org References: <4C761D28.7070906@gmail.com> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigD6BB58454B2BD42F4D2CA3DC" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Problems booting Linux via PXE X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Thu, 02 Sep 2010 23:01:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD6BB58454B2BD42F4D2CA3DC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/27/2010 12:55 AM, Turner, Ian wrote: >> On 08/25/2010 09:02 PM, Turner, Ian wrote: >> =20 >>> I=E2=80=99m having some trouble using GRUB to boot Linux via PXE. >>> =20 > =20 >> Could you try newreloc branch which is about to be merged? >> =20 > The newreloc branch solved the problem and allowed me to successfully b= oot Linux, but I noticed a few other problems getting the branch to compi= le: > > 1. 'make dist' is totally broken; I think this is because some files we= re moved around or just removed (e.g., kern/i386/loader.S) and the build = scripts were never updated. > > =20 I corrected the failure of make dist but it's still broken (some files not included) > 2. grub-core/kern/emu/misc.c seems to assume that libdevmapper will def= ine dm_log_with_errno_init, which it does not on my system (RHEL 5.2). Co= nfiguring with --disable-device-mapper made this go away for me, since I = don't need DM functionality. > =20 Fixed. > 3. It looks like grub does not compile properly if CFLAGS or LDFLAGS co= ntains -m64 (standard in our environment); it's probably a good idea to c= onsider checking for these at configure time. > > =20 CFLAGS and LDFLAGS should have no such effect. Perhaps you set TARGET_* variables as well? Those are meant for cross-compiling (and we actualy cross-compile). Setting them to anything other than the options for target architecture (in this case i386) would have an unpredictable effect. And there is no way our build system can check for every possible annoying parameter. My recomendation is GRUB to be excluded from any default compile flags at packaging level. > Thanks for your help, > > --Ian > =20 > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigD6BB58454B2BD42F4D2CA3DC 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.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAkyALNcACgkQNak7dOguQgnEkAD/Q8hJOU9pN2l0wTR6Od9O9ncn 27OMDyT3NJY4f0vugegBAMHn5V7Gpo8To+/PcFaNXa2H7sqxOul942GhO52xDvVy =/Ctq -----END PGP SIGNATURE----- --------------enigD6BB58454B2BD42F4D2CA3DC--