Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RnePN-0001NZ-EV for mharc-grub-devel@gnu.org; Wed, 18 Jan 2012 17:55:09 -0500 Received: from eggs.gnu.org ([140.186.70.92]:40960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnePK-0001Jd-A2 for grub-devel@gnu.org; Wed, 18 Jan 2012 17:55:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RnePI-0004ix-Kj for grub-devel@gnu.org; Wed, 18 Jan 2012 17:55:06 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:61850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnePI-0004h8-Dr for grub-devel@gnu.org; Wed, 18 Jan 2012 17:55:04 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0IMt0eY012228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 18 Jan 2012 22:55:01 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0IMsxa7003762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Jan 2012 22:55:00 GMT Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0IMsxAH014093 for ; Wed, 18 Jan 2012 16:54:59 -0600 Received: from bergsoft (/10.132.136.136) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 18 Jan 2012 14:54:58 -0800 Date: Wed, 18 Jan 2012 14:53:20 -0800 (PST) From: Seth Goldberg X-X-Sender: sethg@bergsoft To: The development of GNU GRUB Subject: Re: Build failure: Error: attempt to move .org backwards In-Reply-To: <4F174BFA.3030208@googlemail.com> Message-ID: References: <4F174BFA.3030208@googlemail.com> User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090209.4F174DC5.001E,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 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, 18 Jan 2012 22:55:07 -0000 Hi, Yes, I'm seeing that also. I guess version 4.5.2 of the compiler just isn't as efficient as the most-recent GCC. I edited include/grub/offsets.h: And changed: #define GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART 0x7e0 To: #define GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART 0x7f0 And that was enough. phcoder posted to this list not-too-long-ago with that suggestion for another person as well. He said you can increase it as long as you don't do it too much and as long as the value is divisible by 8. --S Quoting Andreas Born, who wrote the following on Wed, 18 Jan 2012: > Hello, > > having trouble building the latest bzr 3757. This happens with gcc 4.5.2 on > Salix/Slackware 13.37 x86_64 system, but doesn't happen with gcc 4.6.2 on > Arch Linux x86_64. > I also checked recent other reports of such problems, but wasn't able to find > a solution. > > Here's some output: > gcc -Os -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef > -Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1 > -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm > -fno-asynchronous-unwind-tables -m32 -fno-stack-protector > -mno-stack-arg-probe -Werror -mrtd -mregparm=3 -fno-builtin -m32 > -Wl,--build-id=none -nostdlib -Wl,-N,-S -Wl,-N -Wl,-Ttext,0x6000 -o > lnxboot.image boot/i386/pc/lnxboot_image-lnxboot.o > gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include > -DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC -DGRUB_TARGET_CPU_I386=1 -m32 > -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/include > -DGRUB_FILE=\"boot/i386/pc/startup_raw.S\" -I. -I. -I.. -I.. -I../include > -I../include -g -m32 -DASM_FILE=1 -MT > boot/i386/pc/lzma_decompress_image-startup_raw.o -MD -MP -MF > boot/i386/pc/.deps-core/lzma_decompress_image-startup_raw.Tpo -c -o > boot/i386/pc/lzma_decompress_image-startup_raw.o `test -f > 'boot/i386/pc/startup_raw.S' || echo './'`boot/i386/pc/startup_raw.S > reed_solomon.c: Assembler messages: > reed_solomon.c:651: Warning: ignoring changed section attributes for .text > boot/i386/pc/startup_raw.S:119: Error: attempt to move .org backwards > make[3]: *** [boot/i386/pc/lzma_decompress_image-startup_raw.o] Fehler 1 > make[3]: Leaving directory > `/home/shador/projects/checkouts/grub/branches/build/grub-core' > make[2]: *** [all] Fehler 2 > make[2]: Leaving directory > `/home/shador/projects/checkouts/grub/branches/build/grub-core' > make[1]: *** [all-recursive] Fehler 1 > make[1]: Leaving directory > `/home/shador/projects/checkouts/grub/branches/build' > make: *** [all] Fehler 2 > > Regards, > Andreas Born > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >