URL:
  <http://savannah.gnu.org/bugs/?33707>

                 Summary: Build error with GCC 4.1.3, GNU Assembler 2.19.1
                 Project: GNU GRUB
            Submitted by: gsutre
            Submitted on: Mon 04 Jul 2011 01:13:28 PM CEST
                Category: Compilation
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Grégoire Sutre
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

Bazaar trunk revision: 3369
System: NetBSD 5.99.54 amd64

$ gcc --version
gcc (GCC) 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ as --version
GNU assembler (NetBSD Binutils nb1) 2.19.1
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64--netbsd'.


After ./autogen.sh ; .configure ; gmake, I get:

[...]
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 -m32 -fno-stack-protector
-mno-stack-arg-probe -Werror   -mrtd -mregparm=3       -ffreestanding
-Wno-error -Wno-missing-field-initializers   -m32 -Wl,--build-id=none  
-nostdlib -Wl,-N,-r,-d   -o gcry_twofish.module
lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.o   
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -W -I../include -I../include 
-DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC
-DGRUB_FILE=\"lib/libgcrypt-grub/cipher/whirlpool.c\" -I. -I. -I.. -I..
-I../include -I../include   -I../grub-core/lib/libgcrypt_wrap   -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 -m32 -fno-stack-protector -mno-stack-arg-probe -Werror  
-mrtd -mregparm=3       -ffreestanding -Wno-error
-Wno-missing-field-initializers   -MT
lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.o -MD -MP -MF
lib/libgcrypt-grub/cipher/.deps-core/gcry_whirlpool_module-whirlpool.Tpo -c -o
lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.o `test -f
'lib/libgcrypt-grub/cipher/whirlpool.c' || echo
'./'`lib/libgcrypt-grub/cipher/whirlpool.c
mv -f lib/libgcrypt-grub/cipher/.deps-core/gcry_whirlpool_module-whirlpool.Tpo
lib/libgcrypt-grub/cipher/.deps-core/gcry_whirlpool_module-whirlpool.Po
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 -m32 -fno-stack-protector
-mno-stack-arg-probe -Werror   -mrtd -mregparm=3       -ffreestanding
-Wno-error -Wno-missing-field-initializers   -m32 -Wl,--build-id=none  
-nostdlib -Wl,-N,-r,-d   -o gcry_whirlpool.module
lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.o   
gcc -Wall -W -I../include -I../include  -DGRUB_MACHINE_PCBIOS=1
-DGRUB_MACHINE=I386_PC -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
-m32 -fno-stack-protector -mno-stack-arg-probe -Werror  -Os -I.. -S
-DSTANDALONE -o rs_decoder.S lib/reed_solomon.c -g0 -mregparm=3
gcc -DHAVE_CONFIG_H -I. -I..  -Wall -W -I../include -I../include 
-DGRUB_MACHINE_PCBIOS=1 -DGRUB_MACHINE=I386_PC
-DGRUB_FILE=\"kern/i386/pc/startup.S\" -I. -I. -I.. -I.. -I../include
-I../include     -g -m32 -DASM_FILE=1     -MT
kern/i386/pc/kernel_exec-startup.o -MD -MP -MF
kern/i386/pc/.deps-core/kernel_exec-startup.Tpo -c -o
kern/i386/pc/kernel_exec-startup.o `test -f 'kern/i386/pc/startup.S' || echo
'./'`kern/i386/pc/startup.S
reed_solomon.c: Assembler messages:
reed_solomon.c:701: Warning: ignoring changed section attributes for .text
kern/i386/pc/startup.S:161: Error: attempt to move .org backwards
kern/i386/pc/startup.S:456: Error: attempt to move .org backwards
kern/i386/pc/startup.S:458: Error: attempt to move .org backwards
gmake[3]: *** [kern/i386/pc/kernel_exec-startup.o] Error 1
gmake[3]: Leaving directory `/tmp/trunk/grub-core'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/trunk/grub-core'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/trunk'
gmake: *** [all] Error 2





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33707>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to