From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VxGw2-0000iT-A9 for mharc-grub-devel@gnu.org; Sun, 29 Dec 2013 09:01:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxGvw-0000iL-5l for grub-devel@gnu.org; Sun, 29 Dec 2013 09:01:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxGvq-0006DE-JZ for grub-devel@gnu.org; Sun, 29 Dec 2013 09:01:36 -0500 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:47939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxGvq-0006D6-Bh for grub-devel@gnu.org; Sun, 29 Dec 2013 09:01:30 -0500 Received: by mail-la0-f42.google.com with SMTP id ec20so5161004lab.1 for ; Sun, 29 Dec 2013 06:01:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:in-reply-to:references:content-type :mime-version:content-transfer-encoding; bh=ZAPJGZ00t+P9oMo3i4ZbdUyxQdby1eXKSXS0FQemnRA=; b=MUchS8Lf818YGOu3d+5AiN3kfK3C3VvRmrbWVpLFb+a7cR1LYmNabri9426hf3k0wQ bxMUSq12XRVoQyzrCWb6wx+dvvj1+nJiS3iynpWpky3eMSHPy8dZZ18bQ+jcEgF2E21e i6NKAOvSygbPbCVwK4g5aPi8s3FtDJ+kyzPGWKYzmGWCsp72NW54bxOMEtqdaIqAm01h ai+fw5LGIiaGMdBUn3ZbFSGQF6y0nQqI2abKGfmiGHnOmzK540/gn21NRkJZR8PBAxeU zRkb0NIpxqa5EBd07OT8y7p0BFBIle3iYE+wSVPj/okZTL733+UrOJT4D8yP5chJza9T DNyQ== X-Received: by 10.112.64.10 with SMTP id k10mr719684lbs.86.1388325688916; Sun, 29 Dec 2013 06:01:28 -0800 (PST) Received: from [192.168.1.44] (ppp91-76-134-134.pppoe.mtu-net.ru. [91.76.134.134]) by mx.google.com with ESMTPSA id mv9sm25646990lbc.0.2013.12.29.06.01.28 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 29 Dec 2013 06:01:28 -0800 (PST) Message-ID: <1388325687.918.107.camel@opensuse.site> Subject: Re: aarch64: relocation 0x105 is not implemented yet. From: Andrey Borzenkov To: grub-devel@gnu.org Date: Sun, 29 Dec 2013 18:01:27 +0400 In-Reply-To: References: <1388171255.918.80.camel@opensuse.site> <52BF0657.806@gmail.com> <1388252883.918.88.camel@opensuse.site> <1388257239.918.92.camel@opensuse.site> <1388294644.918.99.camel@opensuse.site> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22a 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, 29 Dec 2013 14:01:41 -0000 В Вс, 29/12/2013 в 13:09 +0000, Leif Lindholm пишет: > Umm, I'm officially going to go make some coffee. > > On arm64_efi stripflags obviously. > Yes, this works (i.e. - grub-mkimage does not fail). Of course, module relocation happens at run time and I do not have hardware or software to test it - could you do it? You can download RPM here: https://api.opensuse.org/build/home:arvidjaar:grub2-next:ARM/openSUSE_Factory/aarch64/grub2/grub2-arm64-efi-2.02~beta2-225.1.aarch64.rpm From: Andrey Borzenkov Subject: [PATCH] strip .eh_frame section from kernel Fixes grub-mkimage error ./grub-mkimage: error: relocation 0x105 is not implemented yet. Suggested by Leif Lindholm --- grub-core/Makefile.core.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def index c916246..42443bc 100644 --- a/grub-core/Makefile.core.def +++ b/grub-core/Makefile.core.def @@ -66,7 +66,7 @@ kernel = { arm_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version'; arm64_efi_ldflags = '-Wl,-r,-d'; - arm64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version'; + arm64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version -R .eh_frame'; i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x9000'; -- tg: (093dec7..) u/arm64-cmodel-large (depends on: master)