bugGNU GRUB - Bugs: bug #33707, Build error with GCC 4.1.3, GNU...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33707: Build error with GCC 4.1.3, GNU Assembler 2.19.1

Submitted by:  Grégoire Sutre <gsutre>
Submitted on:  Mon 04 Jul 2011 11:13:28 AM UTC  
 
Category: CompilationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: Grégoire Sutre
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: Every Time
Planned Release: None

Mon 04 Jul 2011 11:13:28 AM UTC, original submission:

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

Grégoire Sutre <gsutre>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by gsutre (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 01 Feb 2012 03:31:56 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1