https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95671

--- Comment #9 from Maxim Britov <ungift-ed at ya dot ru> ---
Created attachment 48733
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48733&action=edit
gcc -E ...

I believe attachment is what you aksed. I did

gcc -E -Wp,-MD,arch/x86/entry/vsyscall/.vsyscall_64.o.d -nostdinc -isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include -I./arch/x86/include
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h
-D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE
-Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security
-std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1
-falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3
-mskip-rax-setup -march=bdver2 -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races
-Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable
-Wimplicit-fallthrough -Wno-unused-const-variable -fno-omit-frame-pointer
-fno-optimize-sibling-calls -fno-var-tracking-assignments
-Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation
-Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict
-Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants
-fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init
-fmacro-prefix-map=./= -Wno-packed-not-aligned   
-DKBUILD_MODFILE='"arch/x86/entry/vsyscall/vsyscall_64"'
-DKBUILD_BASENAME='"vsyscall_64"' -DKBUILD_MODNAME='"vsyscall_64"' -c -o
arch/x86/entry/vsyscall/vsyscall_64.o arch/x86/entry/vsyscall/vsyscall_64.c


Fail was:

make -f ./scripts/Makefile.build obj=arch/x86/entry/vsyscall \
 \
need-builtin=1 \
need-modorder=1
  gcc -Wp,-MD,arch/x86/entry/vsyscall/.vsyscall_64.o.d -nostdinc -isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include -I./arch/x86/include
-I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi
-I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi
-include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h
-D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE
-Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security
-std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1
-falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3
-mskip-rax-setup -march=bdver2 -mno-red-zone -mcmodel=kernel -Wno-sign-compare
-fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races
-Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable
-Wimplicit-fallthrough -Wno-unused-const-variable -fno-omit-frame-pointer
-fno-optimize-sibling-calls -fno-var-tracking-assignments
-Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation
-Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict
-Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants
-fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init
-fmacro-prefix-map=./= -Wno-packed-not-aligned   
-DKBUILD_MODFILE='"arch/x86/entry/vsyscall/vsyscall_64"'
-DKBUILD_BASENAME='"vsyscall_64"' -DKBUILD_MODNAME='"vsyscall_64"' -c -o
arch/x86/entry/vsyscall/vsyscall_64.o arch/x86/entry/vsyscall/vsyscall_64.c
   ./tools/objtool/objtool check  --uaccess
arch/x86/entry/vsyscall/vsyscall_64.o
arch/x86/entry/vsyscall/vsyscall_64.o: warning: objtool:
emulate_vsyscall()+0x60: can't find jump dest instruction at .text+0xca
make[3]: *** [scripts/Makefile.build:267:
arch/x86/entry/vsyscall/vsyscall_64.o] Error 255
make[3]: *** Deleting file 'arch/x86/entry/vsyscall/vsyscall_64.o'
make[2]: *** [scripts/Makefile.build:488: arch/x86/entry/vsyscall] Error 2
make[1]: *** [scripts/Makefile.build:488: arch/x86/entry] Error 2
make: *** [Makefile:1729: arch/x86] Error 2

Reply via email to