[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [build failure] GCC 4.1.3 support?

From: Grégoire Sutre
Subject: Re: [build failure] GCC 4.1.3 support?
Date: Sat, 28 Jul 2012 01:21:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4

More data, this time on Debian GNU/Linux (squeeze) amd64.

- successful build with GCC 4.4.5
- build failure with GCC 4.3.5

The failure with GCC 4.3.5 is:

make[2]: Entering directory `/tmp/grub-2.00'
gcc-4.3 -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=1 -DGRUB_LIBDIR=\"/usr/local/lib/grub\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGRUB_FILE=\"util/misc.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 util/libgrubkern_a-misc.o -MD -MP -MF util/.deps-util/libgrubkern_a-misc.Tpo -c -o util/libgrubkern_a-misc.o `test -f 'util/misc.c' || echo './'`util/misc.c
cc1: warnings being treated as errors
cc1: error: -funit-at-a-time is required for inlining of functions that are only called once
make[2]: *** [util/libgrubkern_a-misc.o] Error 1
make[2]: Leaving directory `/tmp/grub-2.00'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/grub-2.00'
make: *** [all] Error 2


reply via email to

[Prev in Thread] Current Thread [Next in Thread]