[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #36669] Compile error "trampoline generated for nested function" wi
From: |
Sebastian Pipping |
Subject: |
[bug #36669] Compile error "trampoline generated for nested function" with GRUB 2.00~beta6 |
Date: |
Sat, 16 Jun 2012 16:05:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0 |
URL:
<http://savannah.gnu.org/bugs/?36669>
Summary: Compile error "trampoline generated for nested
function" with GRUB 2.00~beta6
Project: GNU GRUB
Submitted by: hartwork
Submitted on: Sat 16 Jun 2012 04:05:38 PM GMT
Category: Compilation
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: Bazaar - trunk
Reproducibility: None
Planned Release: None
_______________________________________________________
Details:
When compiling GRUB 2.00~beta6 I run into this compile error:
==========================================================
# ./configure && make
[..]
make[2]: Entering directory `/home/sping/Desktop/grub-2.00~beta6'
gcc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=1
-DGRUB_LIBDIR=\"/usr/local/lib/grub\" -DLOCALEDIR=\"/usr/local/share/locale\"
-DGRUB_FILE=\"grub-core/kern/device.c\" -I. -I. -I. -I. -I./include
-I./include -I./grub-core/gnulib -I./grub-core/gnulib -Wall -W
-Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress
-Wattributes -Wcast-align -Wchar-subscripts -Wcomment
-Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body
-Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security
-Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int
-Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces
-Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn
-Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith
-Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare
-Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused
-Wunused-function -Wunused-label -Wunused-parameter -Wunused-value
-Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings
-Wnested-externs -Wstrict-prototypes -Wpointer-sign -Werror -Wno-undef
-Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls
-Wno-unreachable-code -Wno-conversion -Wno-old-style-definition
-Wno-unsafe-loop-optimizations -MT
grub-core/kern/libgrubkern_a-device.o -MD -MP -MF
grub-core/kern/.deps-util/libgrubkern_a-device.Tpo -c -o
grub-core/kern/libgrubkern_a-device.o `test -f 'grub-core/kern/device.c' ||
echo './'`grub-core/kern/device.c
cc1: warnings being treated as errors
grub-core/kern/device.c: In function 'grub_device_iterate':
grub-core/kern/device.c:105:7: error: trampoline generated for nested function
'iterate_disk'
grub-core/kern/device.c:149:7: error: trampoline generated for nested function
'iterate_partition'
make[2]: *** [grub-core/kern/libgrubkern_a-device.o] Error 1
[..]
==========================================================
As a workaround, I used ./configure --disable-werror but I suppose you want to
fix all warnings if -Werror is upstream default. My version of GCC is 4.5.3.
The issue may be related to issue 26510 [1] but as that is two years old and
makred fixed, I assumed it would be something new.
Best,
Sebastian
[1] https://savannah.gnu.org/bugs/?func=detailitem&item_id=26510
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36669>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #36669] Compile error "trampoline generated for nested function" with GRUB 2.00~beta6,
Sebastian Pipping <=