URL:
  <https://savannah.gnu.org/bugs/?66470>

                 Summary: Build of grub-2.12 with gcc 15-20241117 errors with
-Werror=unterminated-string-initialization
                   Group: GNU GRUB
               Submitter: heitbaum
               Submitted: Wed 20 Nov 2024 01:32:54 PM UTC
                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: other
                 Release:
         Reproducibility: Every Time
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 20 Nov 2024 01:32:54 PM UTC By: Rudi Heitbaum <heitbaum>


/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc
-DHAVE_CONFIG_H -I.
-I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/grub-2.12/grub-core
-I..  -Wall -W  -DGRUB_MACHINE_EFI=1 -DGRUB_MACHINE=I386_EFI -m32 -nostdinc
-isystem
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/15.0.0/include
-I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/grub-2.12/include
-I../include -DGRUB_FILE=\"grub_script.yy.c\" -I.
-I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/grub-2.12/grub-core
-I..
-I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/grub-2.12
-I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/grub-2.12/include
-I../include
-I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/grub-2.12/grub-core/lib/libgcrypt-grub/src/

-I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/grub-2.12/grub-core/lib/posix_wrap
 -D_FILE_OFFSET_BITS=64 -std=gnu99 -fno-common -Os -m32 -Wall -W -Wshadow
-Wpointer-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations
-Wdisabled-optimization -Wdiv-by-zero -Wfloat-equal -Wformat-extra-args
-Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration
-Wimplicit-int -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmultichar
-Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch
-Wtrigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label
-Wunused-parameter -Wunused-value  -Wunused-variable -Wwrite-strings
-Wnested-externs -Wstrict-prototypes -g -Wredundant-decls -Wmissing-prototypes
-Wmissing-declarations  -Wextra -Wattributes -Wendif-labels -Winit-self
-Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull
-Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros
-Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs
-Wmissing-prototypes -Wmissing-declarations -Wformat=2 -march=i386
-falign-functions=1 -falign-loops=1 -falign-jumps=1 -freg-struct-return
-mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow -Wa,-mx86-used-note=no
-msoft-float -fno-omit-frame-pointer -fno-dwarf2-cfi-asm -mno-stack-arg-probe
-fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident
-fno-stack-protector -Wtrampolines -Werror   -DGRUB_HAS_PCI -ffreestanding
-fno-builtin -Wno-redundant-decls -Wno-unused-but-set-variable
-I/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include
-fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -MT normal_module-grub_script.yy.o
-MD -MP -MF .deps-core/normal_module-grub_script.yy.Tpo -c -o
normal_module-grub_script.yy.o `test -f 'grub_script.yy.c' || echo
'/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/grub-2.12/grub-core/'`grub_script.yy.c

../../grub-core/lib/gnulib/base64.c:65:3: error: initializer-string for array
of 'char' is too long [-Werror=unterminated-string-initialization]
   65 |   "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66470>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to