From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VxG4o-0008HZ-13 for mharc-grub-devel@gnu.org; Sun, 29 Dec 2013 08:06:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxG4e-0008HD-B4 for grub-devel@gnu.org; Sun, 29 Dec 2013 08:06:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxG4U-0001R3-Oa for grub-devel@gnu.org; Sun, 29 Dec 2013 08:06:32 -0500 Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:60062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxG4U-0001Qx-G6 for grub-devel@gnu.org; Sun, 29 Dec 2013 08:06:22 -0500 Received: by mail-la0-f49.google.com with SMTP id er20so5019172lab.36 for ; Sun, 29 Dec 2013 05:06:21 -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=204Jn2ZnE0S/Zgcjj4gojrzjprrArgPPppZeiYzEX7k=; b=bzH2Cwd3fUFTTf2QGTZGsJFGqX2ZD4Mw+jjhRMROE5lKXi3YcO5OnqKm4Jv3C6h/2k ccr4YyHatlnE2FaBPi5LfknWy7j7POSf9j8MvOGh9JN5FGEe0+gUZmFXDTimnn/Epz/z WvZFsUkDkRGiSahLI4cBLsUQG2v0UysvNYTHPJ03l8GjmrdQCDpVbOFjkfRjBB8zL/Tc 22NSjQDHm5tjXNpCG7SEOEIP1BfF5tyv+D76W32vxdD0G46w+WaHr+JQZkfnUD2Z2qdb y1kfp9TiVNUsHr/qvAmbAzc4mcLxUZTsmKGBPl4ce0fABVh6cnfSjRQZwcQcwA6pKE45 ADGQ== X-Received: by 10.112.135.102 with SMTP id pr6mr9326622lbb.43.1388322381446; Sun, 29 Dec 2013 05:06:21 -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 ld10sm32773479lab.8.2013.12.29.05.06.20 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 29 Dec 2013 05:06:21 -0800 (PST) Message-ID: <1388322380.918.104.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 17:06:20 +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::231 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 13:06:40 -0000 В Вс, 29/12/2013 в 12:44 +0000, Leif Lindholm пишет: > On 29 December 2013 05:24, Andrey Borzenkov wrote: > > В Вс, 29/12/2013 в 01:55 +0000, Leif Lindholm пишет: > >> It shouldn't, but difficult to say without knowing more details. > >> Can you run the mkimage with -v and pinpoint the triggering module? > > > > This comes from .eh_frame section and fails for kernel.exec already. > > > > RELOCATION RECORDS FOR [.eh_frame]: > > OFFSET TYPE VALUE > > 000000000000001c R_AARCH64_PREL32 .text+0x0000000000009b70 > > 0000000000000044 R_AARCH64_PREL32 .text+0x0000000000009b78 > > > > Also there are ABS32 relocations in various .debug_* sections but I > > presume they are handled by --strip-unneeded. > > Ah, yes (Fedora also saw this): > https://plus.google.com/u/0/106265217227408958782/posts/RYNT8RwFHDB > > While it might be interesting to dig out what causes this toolchain difference > vs. Linaro, I am reasonably confident this relocation cannot be generated > in actual C code with -mcmodel=large. So my suggestion would be to ignore > this relocation. Or should we explicitly strip .eh_frame? > If it is not needed to run the binaries on target - I sure suggest stripping it off. I was not sure as I expected --strip-unneeded to do it in this case. Ignoring does not sound right in case we actually hit in in code.