Hi Team,

grub is failing while compiling.
Error Log is as follows:


*ERROR: grub-efi-native-2.04-3 do_compile: oe_runmake failedERROR:
grub-efi-native-2.04-3 do_compile: Execution of
'/build/tmp-glibc/work/x86_64-linux/grub-efi-native/2.04-3/temp/run.do_compile.26150'
failed with exit code 1:*
make: 'grub_script.tab.h' is up to date.
make: Nothing to be done for 'grub_script.tab.c'.
make: 'grub_script.yy.h' is up to date.
make: Nothing to be done for 'grub_script.yy.c'.

*gcc  -DHAVE_CONFIG_H -I. -I../git  -Wall -W -DGRUB_UTIL=1
-D_FILE_OFFSET_BITS=64 -I./include
-DGRUB_FILE=\"grub-core/commands/blocklist.c\" -I. -I../git -I. -I../git
-I../git/include -I./include -I../git/grub-core/lib/libgcrypt-grub/src/
-Wall -W -DGRUB_UTIL=1 -D_FILE_OFFSET_BITS=64 -I./include
-I../git/grub-core/lib/minilzo -I../git/grub-core/lib/xzembed
-I../git/grub-core/lib/zstd -DMINILZO_HAVE_CONFIG_H  -fno-builtin-gettext
-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 -Wcast-align  -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 -Wextra
-Werror=trampolines -fno-trampolines -fno-builtin -Wno-undef  -c -o
grub-core/commands/libgrubmods_a-blocklist.o `test -f
'grub-core/commands/blocklist.c' || echo
'../git/'`grub-core/commands/blocklist.c*


*gcc: error: unrecognized command line option '-fno-trampolines'; did you
mean '-Wno-trampolines'?Makefile:9084: recipe for target
'grub-core/commands/libgrubmods_a-blocklist.o' failedmake: ***
[grub-core/commands/libgrubmods_a-blocklist.o] Error 1*
My gcc version is 5.
I tried with installing updated gcc versions -7,-8, -9, but still facing
this issue.
Please let me know, how to resolve this.
Thanks in Advance

Regards,
PK
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48568): https://lists.yoctoproject.org/g/yocto/message/48568
Mute This Topic: https://lists.yoctoproject.org/mt/71469819/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to