Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vgbl0-0005p2-MA for mharc-grub-devel@gnu.org; Wed, 13 Nov 2013 09:49:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgbky-0005ou-Iz for grub-devel@gnu.org; Wed, 13 Nov 2013 09:49:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vgbkx-0003VI-7N for grub-devel@gnu.org; Wed, 13 Nov 2013 09:49:24 -0500 Received: from v6.chiark.greenend.org.uk ([2001:ba8:1e3::]:38034 helo=chiark.greenend.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgbkw-0003UM-Nu for grub-devel@gnu.org; Wed, 13 Nov 2013 09:49:22 -0500 Received: from [172.20.153.9] (helo=riva.pelham.vpn.ucam.org) by chiark.greenend.org.uk (Debian Exim 4.72 #1) with esmtps (return-path cjwatson@ubuntu.com) id 1Vgbkv-00019o-R2 for grub-devel@gnu.org; Wed, 13 Nov 2013 14:49:22 +0000 Received: from ns1.pelham.vpn.ucam.org ([172.20.153.2] helo=riva.ucam.org) by riva.pelham.vpn.ucam.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Vgbkv-00082W-33 for grub-devel@gnu.org; Wed, 13 Nov 2013 14:49:21 +0000 Date: Wed, 13 Nov 2013 14:49:19 +0000 From: Colin Watson To: grub-devel@gnu.org Subject: arm-uboot: misc.S:56: Error: r13 not allowed here -- `sub sp,fp,#4' Message-ID: <20131113144919.GB30137@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:ba8:1e3:: 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: Wed, 13 Nov 2013 14:49:25 -0000 After my previous fix, arm-uboot still fails to build with: arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../../grub-core -I.. -W= all -W -I../../../include -I../include -DGRUB_MACHINE_UBOOT=3D1 -DGRUB_MAC= HINE_ARM=3D1 -DGRUB_MACHINE=3DARM_UBOOT -DGRUB_TARGET_CPU_ARM=3D1 -nostdinc= -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/include -DGRUB_FILE=3D= \"lib/arg.c\" -I. -I../../../grub-core -I.. -I../../.. -I../../../include -= I../include -I../../../grub-core/lib/libgcrypt-grub/include -I../../../grub= -core/lib/libgcrypt-grub/src/ -DGRUB_KERNEL=3D1 -Os -Wall -W -Wshadow -= Wold-style-definition -Wpointer-arith -Wundef -Wextra -Wattributes -Wchar-s= ubscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv= -by-zero -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security= -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wi= nit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmiss= ing-field-initializers -Wmissing-format-attribute -Wmultichar -Wnonnull -Wo= verflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -= Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigra= phs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wu= nused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolat= ile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpoi= nter-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations = -Wcast-align -freg-struct-return -fno-dwarf2-cfi-asm -fno-asynchronous-unwi= nd-tables -fno-stack-protector -mno-unaligned-access -Wtrampolines -Werror = -DUSE_ASCII_FALLBACK=3D1 -DHAVE_UNIFONT_WIDTHSPEC=3D1 -mthumb-interwork= -mlong-calls -ffreestanding -MT lib/kernel_exec-arg.o -MD -MP -MF lib/.d= eps-core/kernel_exec-arg.Tpo -c -o lib/kernel_exec-arg.o `test -f 'lib/arg.= c' || echo '../../../grub-core/'`lib/arg.c misc.S: Assembler messages: misc.S:56: Error: r13 not allowed here -- `sub sp,fp,#4' make[3]: *** [kern/arm/kernel_exec-misc.o] Error 1 I don't think SP can be used that way in Thumb mode? --=20 Colin Watson [cjwatson@ubuntu.com]