bugGNU GRUB - Bugs: bug #26510, On Gentoo -Werror can't be used...

 
 

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

bug #26510: On Gentoo -Werror can't be used without -Wno-trampolines

Submitter:  Alexey Shvetsov <alexxy>
Submitted:  Sat 09 May 2009 11:00:54 AM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  SVN Reproducibility:  Every Time
Planned Release:  None

Sun 14 Nov 2010 05:44:35 PM UTC, comment #2: 

I added the code which automatically add -Wno-trampolines when it's supported.

Vladimir Serbinenko <phcoder>
Group administrator
Sat 06 Jun 2009 01:35:33 PM UTC, comment #1: 

This should have been fixed.
All -Werror has been removed.
Though I just retitle the bug as long as we have a better fix for this.

Felix Zielcke <fzielcke>
Group Member
Sat 09 May 2009 11:00:54 AM UTC, original submission:  

x86_64-pc-linux-gnu-gcc -Iloader -I./loader -I. -I./include -I./include -Wall -W  -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes                  -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 -falign-functions=1 -m32 -fno-stack-protector -mno-stack-arg-probe -fno-builtin -mrtd -mregparm=3 -m32 -Werror -Wall -MD -c -o xnu_mod-loader_xnu_resume.o loader/xnu_resume.c                                                                  
x86_64-pc-linux-gnu-gcc -Iloader/i386 -I./loader/i386 -I. -I./include -I./include -Wall -W  -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes                  -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 -falign-functions=1 -m32 -fno-stack-protector -mno-stack-arg-probe -fno-builtin -mrtd -mregparm=3 -m32 -Werror -Wall -MD -c -o xnu_mod-loader_i386_xnu.o loader/i386/xnu.c                                                            
x86_64-pc-linux-gnu-gcc -Iloader/i386/pc -I./loader/i386/pc -I. -I./include -I./include -Wall -W  -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes                  -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 -falign-functions=1 -m32 -fno-stack-protector -mno-stack-arg-probe -fno-builtin -mrtd -mregparm=3 -m32 -Werror -Wall -MD -c -o xnu_mod-loader_i386_pc_xnu.o loader/i386/pc/xnu.c                                                
x86_64-pc-linux-gnu-gcc -Iloader -I./loader -I. -I./include -I./include -Wall -W  -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes                  -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 -falign-functions=1 -m32 -fno-stack-protector -mno-stack-arg-probe -fno-builtin -mrtd -mregparm=3 -m32 -Werror -Wall -MD -c -o xnu_mod-loader_macho.o loader/macho.c                                                                            
cc1: warnings being treated as errors                                                                                                                    
loader/macho.c: In function ‘grub_macho32_size’:                                                                                                         
loader/macho.c:146: error: generating trampoline in object (requires executable stack)
loader/macho.c: In function ‘grub_macho32_load’:
loader/macho.c:189: error: generating trampoline in object (requires executable stack)
loader/macho.c: In function ‘grub_macho32_get_entry_point’:
loader/macho.c:247: error: generating trampoline in object (requires executable stack)
make: * [xnu_mod-loader_macho.o] Error 1

Alexey Shvetsov <alexxy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #18122:  build.log added by alexxy (75KiB - application/octet-stream - build.log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by fzielcke (Posted a comment)
  • -email is unavailable- added by alexxy (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-14 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
        ReleaseNone Bazaar - trunk
    2009-06-06 fzielcke SummaryGrub from SVN doesnt compile with lots of errors with executable stack On Gentoo -Werror can't be used without -Wno-trampolines
    2009-05-09 alexxy Attached File- Added build.log, #18122

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code