#19924: grub2 compilation error stack_chk_fail
-----------------------+------------------------
 Reporter:  anonymous  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:
Component:  packages   |    Version:  Trunk
 Keywords:  grub       |
-----------------------+------------------------
 {{{
 i486-openwrt-linux-uclibc-gcc -Os -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-prototypes -Wmissing-declarations -Wformat=2 -march=i386 -m32
 -mrtd -mregparm=3 -falign-jumps=1 -falign-loops=1 -falign-functions=1
 -freg-struct-return -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2
 -cfi-asm -fno-asynchronous-unwind-tables -Qn -fno-stack-protector
 -Wtrampolines     -ffreestanding  -Os -pipe -march=i486 -fno-caller-saves
 -fhonour-copts -Wno-error=unused-but-set-variable -Wformat -Werror=format-
 security -fstack-protector -Wl,-z,now -Wl,-z,relro  -m32 -Wl,-melf_i386
 -Wl,--build-id=none   -nostdlib -Wl,-N -static-libgcc -Wl,-N
 -Wl,-Ttext,0x9000  -L/home/development/src/openwrt-
 trunk/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/usr/lib
 -L/home/development/src/openwrt-trunk/openwrt/staging_dir/target-
 i386_i486_uClibc-0.9.33.2/lib -L/home/development/src/openwrt-
 trunk/openwrt/staging_dir/toolchain-
 i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/development/src
 /openwrt-trunk/openwrt/staging_dir/toolchain-
 i386_i486_gcc-4.8-linaro_uClibc-0.9.33.2/lib -fstack-protector -Wl,-z,now
 -Wl,-z,relro  -o kernel.exec kern/i386/pc/kernel_exec-startup.o
 kern/i386/pc/kernel_exec-init.o kern/i386/pc/kernel_exec-mmap.o
 term/i386/pc/kernel_exec-console.o kern/i386/kernel_exec-dl.o kern/i386
 /kernel_exec-tsc.o kern/kernel_exec-mm.o kern/kernel_exec-time.o
 kern/generic/kernel_exec-millisleep.o kern/kernel_exec-command.o kern
 /kernel_exec-corecmd.o kern/kernel_exec-device.o kern/kernel_exec-disk.o
 kern/kernel_exec-dl.o kern/kernel_exec-env.o kern/kernel_exec-err.o kern
 /kernel_exec-file.o kern/kernel_exec-fs.o kern/kernel_exec-list.o kern
 /kernel_exec-main.o kern/kernel_exec-misc.o kern/kernel_exec-parser.o kern
 /kernel_exec-partition.o kern/kernel_exec-rescue_parser.o kern
 /kernel_exec-rescue_reader.o kern/kernel_exec-term.o kernel_exec-symlist.o
 kern/kernel_exec-misc.o: In function `grub_vsnprintf_real':
 /home/development/src/openwrt-trunk/openwrt/build_dir/target-
 i386_i486_uClibc-0.9.33.2/linux-x86_kvm_guest/grub-2.02~beta2/grub-
 core/kern/misc.c:1169: undefined reference to `__stack_chk_fail'
 kern/kernel_exec-parser.o: In function `grub_parser_split_cmdline':
 /home/development/src/openwrt-trunk/openwrt/build_dir/target-
 i386_i486_uClibc-0.9.33.2/linux-x86_kvm_guest/grub-2.02~beta2/grub-
 core/kern/parser.c:235: undefined reference to `__stack_chk_fail'
 kern/kernel_exec-partition.o: In function `grub_partition_get_name':
 /home/development/src/openwrt-trunk/openwrt/build_dir/target-
 i386_i486_uClibc-0.9.33.2/linux-x86_kvm_guest/grub-2.02~beta2/grub-
 core/kern/partition.c:276: undefined reference to `__stack_chk_fail'
 collect2: error: ld returned 1 exit status
 make[7]: *** [kernel.exec] Error 1
 make[7]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-
 x86_kvm_guest/grub-2.02~beta2/grub-core'
 make[6]: *** [all] Error 2
 make[6]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-
 x86_kvm_guest/grub-2.02~beta2/grub-core'
 make[5]: *** [all-recursive] Error 1
 make[5]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-
 x86_kvm_guest/grub-2.02~beta2'
 make[4]: *** [all] Error 2
 make[4]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-
 x86_kvm_guest/grub-2.02~beta2'
 make[3]: *** [/home/development/src/openwrt-trunk/openwrt/build_dir
 /target-i386_i486_uClibc-0.9.33.2/linux-
 x86_kvm_guest/grub-2.02~beta2/.built] Error 2
 make[3]: Leaving directory `/home/development/src/openwrt-
 trunk/openwrt/package/boot/grub2'
 make[2]: *** [package/boot/grub2/compile] Error 2
 make[2]: Leaving directory `/home/development/src/openwrt-trunk/openwrt'
 make[1]: *** [/home/development/src/openwrt-trunk/openwrt/staging_dir
 /target-i386_i486_uClibc-0.9.33.2/stamp/.package_compile] Error 2
 make[1]: Leaving directory `/home/development/src/openwrt-trunk/openwrt'
 make: *** [world] Error 2

 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/19924>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to