From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vwxzn-0000Q1-Ss for mharc-grub-devel@gnu.org; Sat, 28 Dec 2013 12:48:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vwxzg-0000PG-7V for grub-devel@gnu.org; Sat, 28 Dec 2013 12:48:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vwxza-0007UF-S7 for grub-devel@gnu.org; Sat, 28 Dec 2013 12:48:12 -0500 Received: from mail-la0-x230.google.com ([2a00:1450:4010:c03::230]:56089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vwxza-0007UA-Ez for grub-devel@gnu.org; Sat, 28 Dec 2013 12:48:06 -0500 Received: by mail-la0-f48.google.com with SMTP id n7so4733117lam.7 for ; Sat, 28 Dec 2013 09:48:05 -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; bh=XwXcVaVrGtWkQWmdXF1H62NKu6lQvRmnfcene8IP0QU=; b=t9sax4ZWeTwn9/vH6pnFHDt5l0OjllBNdcI348bFTfBvxCF3C/hj0bnvh5hkZZ5Dg7 /4AChTpOLVYDPUZzuPQyTQ7tW7JOpnkvSr2+YxNTFkK3ntCbkH75Qe1bHtomjnon+XcY M928KJLrCqt9bdCOm9BLVHaNALxQY6FWBwJbg6idhbJXu4frQ6OE1Kv+BrqYKLAVPbBl qCL4bi/s/05E/VmpoaaVoTyJ12/GaOfTLQGwlt1zbt/UFu72rj/NYrBfYL0F8XjChesW znA9+IJe061Kso1dMib/b8mXzBoKlnXwXekzJP0evX+9YO9EQCfQ86P/VdyHjEPDyn9G 8dRg== X-Received: by 10.152.23.3 with SMTP id i3mr48829laf.78.1388252885198; Sat, 28 Dec 2013 09:48:05 -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 t9sm30503883lat.1.2013.12.28.09.48.03 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 28 Dec 2013 09:48:04 -0800 (PST) Message-ID: <1388252883.918.88.camel@opensuse.site> Subject: Re: aarch64: relocation 0x105 is not implemented yet. From: Andrey Borzenkov To: grub-devel@gnu.org Date: Sat, 28 Dec 2013 21:48:03 +0400 In-Reply-To: <52BF0657.806@gmail.com> References: <1388171255.918.80.camel@opensuse.site> <52BF0657.806@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-VAoyfrZxm+snu7LGq/Y6" X-Mailer: Evolution 3.10.2 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::230 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, 28 Dec 2013 17:48:17 -0000 --=-VAoyfrZxm+snu7LGq/Y6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D0=92 =D0=A1=D0=B1, 28/12/2013 =D0=B2 18:11 +0100, Vladimir '=CF=86-coder/= phcoder' Serbinenko =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On 27.12.2013 20:07, Andrey Borzenkov wrote: > > I tried to build RPM for aarch64; it fails building image with > >=20 > > [ 1273s] + ./grub-mkimage -O arm64-efi -o grub.efi --prefix=3D -d > > grub-core all_video boot cat chain configfile echo efinet font gfxmenu > > gfxterm gzio halt iso9660 jpeg minicmd normal part_apple part_msdos > > part_gpt password_pbkdf2 png reboot search search_fs_uuid search_fs_fil= e > > search_label sleep test video fat loadenv linux ext2 btrfs ext2 xfs jfs > > reiserfs efinet tftp mdraid09 mdraid1x lvm > > [ 1273s] ./grub-mkimage: error: relocation 0x105 is not implemented yet= . > >=20 > This shouldn't happen as those relocation assume 32-bit range. Is > -mcmodel=3Dlarge properly passed? Looks like some files are compiled without it [ 992s] gcc -DHAVE_CONFIG_H -I. -I../../grub-core -I.. -Wall -W -I../../include -I../include -DGRUB_MACHINE_EFI=3D1 -DGRUB_MACHINE=3DARM64_EFI -nostdinc -isystem /usr/lib64/gcc/aarch64-suse-linux/4.8/include -DGRUB_FILE=3D \"lib/setjmp.S\" -I. -I../../grub-core -I.. -I../.. -I../../include -I../include -I../../grub-core/lib/libgcrypt-grub/src/ -g -DGRUB_FILE=3D\"lib/setjmp.S\" -I. -I../../grub-core -I.. -I../.. -I../../include -I../include -I../../grub-core/lib/libgcrypt-grub/src/ -DASM_FILE=3D1 -fno-strict-aliasing -fno-inline-functions-called-once -MT lib/setjmp_module-setjmp.o -MD -MP -MF lib/.deps-core/setjmp_module-setjmp.Tpo -c -o lib/setjmp_module-setjmp.o `test -f 'lib/setjmp.S' || echo '../../grub-core/'`lib/setjmp.S [ 1161s] gcc -DHAVE_CONFIG_H -I. -I../../grub-core -I.. -Wall -W -I../../include -I../include -DGRUB_MACHINE_EFI=3D1 -DGRUB_MACHINE=3DARM64_EFI -nostdinc -isystem /usr/lib64/gcc/aarch64-suse-linux/4.8/include -DGRUB_FILE=3D \"kern/arm64/efi/startup.S\" -I. -I../../grub-core -I.. -I../.. -I../../include -I../include -I../../grub-core/lib/libgcrypt-grub/src/ -DGRUB_KERNEL=3D1 -g -DGRUB_FILE=3D\"kern/arm64/efi/startup.S\" -I. -I../../grub-core -I.. -I../.. -I../../include -I../include -I../../grub-core/lib/libgcrypt-grub/src/ -DASM_FILE=3D1 -fno-strict-aliasing -fno-inline-functions-called-once -MT kern/arm64/efi/kernel_exec-startup.o -MD -MP -MF kern/arm64/efi/.deps-core/kernel_exec-startup.Tpo -c -o kern/arm64/efi/kernel_exec-startup.o `test -f 'kern/arm64/efi/startup.S' || echo '../../grub-core/'`kern/arm64/efi/startup.S [ 1163s] gcc -DHAVE_CONFIG_H -I. -I../../grub-core -I.. -Wall -W -I../../include -I../include -DGRUB_MACHINE_EFI=3D1 -DGRUB_MACHINE=3DARM64_EFI -nostdinc -isystem /usr/lib64/gcc/aarch64-suse-linux/4.8/include -DGRUB_FILE=3D \"kern/arm64/cache_flush.S\" -I. -I../../grub-core -I.. -I../.. -I../../include -I../include -I../../grub-core/lib/libgcrypt-grub/src/ -DGRUB_KERNEL=3D1 -g -DGRUB_FILE=3D\"kern/arm64/cache_flush.S\" -I. -I../../grub-core -I.. -I../.. -I../../include -I../include -I../../grub-core/lib/libgcrypt-grub/src/ -DASM_FILE=3D1 -fno-strict-aliasing -fno-inline-functions-called-once -MT kern/arm64/kernel_exec-cache_flush.o -MD -MP -MF kern/arm64/.deps-core/kernel_exec-cache_flush.Tpo -c -o kern/arm64/kernel_exec-cache_flush.o `test -f 'kern/arm64/cache_flush.S' || echo '../../grub-core/'`kern/arm64/cache_flush.S > > Tools are > >=20 > > gcc48-4.8.2+r203692-2.1 > > binutils-2.24-1.1 > >=20 > > This is native build, no cross. > >=20 > > [ 420s] checking build system type... aarch64-unknown-linux-gnu > > [ 420s] checking host system type... aarch64-unknown-linux-gnu > > [ 420s] checking target system type... aarch64-suse-linux-gnu > >=20 > >=20 > > I do not have access to build system itself (OBS) only logs are > > available. > >=20 > >=20 > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > https://lists.gnu.org/mailman/listinfo/grub-devel > >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --=-VAoyfrZxm+snu7LGq/Y6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEABECAAYFAlK/DtMACgkQR6LMutpd94xkkgCgi7qIfHuHiBJb9ZwFxr9S1PWW 9agAoMx35/Kukmh+VZXHzABnYmto55FF =yTBy -----END PGP SIGNATURE----- --=-VAoyfrZxm+snu7LGq/Y6--