Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, llvm@lists.linux.dev
Subject: [sudeep-holla:android13-5.10/ffa 9247/9999] vmlinux.o: warning: objtool: ftrace_caller()+0x7b: call without frame pointer save/setup
Date: Thu, 19 Dec 2024 18:12:37 +0800	[thread overview]
Message-ID: <202412191836.LsaqyiIY-lkp@intel.com> (raw)

TO: Nick Desaulniers <ndesaulniers@google.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git android13-5.10/ffa
head:   9e12ac4f9c69befe08119567c073adc938aafc4d
commit: e48efff5cb5fd63a687465347bdbb52ef98dad44 [9247/9999] ANDROID: arch/Kconfig: fix up LTO LLVM_IAS depdency
config: x86_64-buildonly-randconfig-005-20241216 (https://download.01.org/0day-ci/archive/20241219/202412191836.LsaqyiIY-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241219/202412191836.LsaqyiIY-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412191836.LsaqyiIY-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> vmlinux.o: warning: objtool: ftrace_caller()+0x7b: call without frame pointer save/setup
>> vmlinux.o: warning: objtool: ftrace_regs_caller()+0xde: call without frame pointer save/setup
>> vmlinux.o: warning: objtool: ftrace_graph_caller()+0x7c: call without frame pointer save/setup
   vmlinux.o: warning: objtool: aesni_gcm_init_avx_gen2()+0x12: unsupported stack pointer realignment
   vmlinux.o: warning: objtool: aesni_gcm_enc_update_avx_gen2()+0x12: unsupported stack pointer realignment
   vmlinux.o: warning: objtool: aesni_gcm_dec_update_avx_gen2()+0x12: unsupported stack pointer realignment
   vmlinux.o: warning: objtool: aesni_gcm_finalize_avx_gen2()+0x12: unsupported stack pointer realignment
   vmlinux.o: warning: objtool: aesni_gcm_init_avx_gen4()+0x12: unsupported stack pointer realignment
   vmlinux.o: warning: objtool: aesni_gcm_enc_update_avx_gen4()+0x12: unsupported stack pointer realignment
   vmlinux.o: warning: objtool: aesni_gcm_dec_update_avx_gen4()+0x12: unsupported stack pointer realignment
   vmlinux.o: warning: objtool: aesni_gcm_finalize_avx_gen4()+0x12: unsupported stack pointer realignment
>> vmlinux.o: warning: objtool: sha1_transform_avx2()+0xc: unsupported stack pointer realignment
>> vmlinux.o: warning: objtool: sha1_ni_transform()+0x7: unsupported stack pointer realignment
>> vmlinux.o: warning: objtool: sha256_transform_rorx()+0x13: unsupported stack pointer realignment
>> vmlinux.o: warning: objtool: sha512_transform_ssse3()+0x14: unsupported stack pointer realignment
>> vmlinux.o: warning: objtool: sha512_transform_avx()+0x14: unsupported stack pointer realignment
>> vmlinux.o: warning: objtool: sha512_transform_rorx()+0x7: unsupported stack pointer realignment
>> vmlinux.o: warning: objtool: kretprobe_trampoline()+0x25: call without frame pointer save/setup
   vmlinux.o: warning: objtool: machine_real_restart()+0xe4: unsupported instruction in callable function
   vmlinux.o: warning: objtool: __x86_retpoline_rdi()+0x0: stack state mismatch: cfa1=7+8 cfa2=-1+0
   ld.lld: error: relocation refers to a symbol in a discarded section: __brk_reservation_fn_dmi_alloc__.98f1b732067320beede1e8e29a14f5c5
   >>> defined in vmlinux.o
   >>> referenced by fbdev.c
   >>>               vmlinux.o:(exit_amd_microcode.89034ca01daaab48e4eea99779dc83f1.cfi_jt)
--
   In file included from kernel/cfi.c:9:
   In file included from include/linux/kallsyms.h:12:
   In file included from include/linux/mm.h:1593:
   include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     431 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
>> kernel/cfi.c:319:6: warning: no previous prototype for function '__cfi_slowpath_diag' [-Wmissing-prototypes]
     319 | void cfi_slowpath_handler(uint64_t id, void *ptr, void *diag)
         |      ^
   kernel/cfi.c:22:30: note: expanded from macro 'cfi_slowpath_handler'
      22 | #define cfi_slowpath_handler    __cfi_slowpath_diag
         |                                 ^
   kernel/cfi.c:319:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     319 | void cfi_slowpath_handler(uint64_t id, void *ptr, void *diag)
         | ^
         | static 
>> kernel/cfi.c:343:6: warning: no previous prototype for function '__ubsan_handle_cfi_check_fail' [-Wmissing-prototypes]
     343 | void cfi_failure_handler(void *data, void *ptr, void *vtable)
         |      ^
   kernel/cfi.c:21:29: note: expanded from macro 'cfi_failure_handler'
      21 | #define cfi_failure_handler     __ubsan_handle_cfi_check_fail
         |                                 ^
   kernel/cfi.c:343:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     343 | void cfi_failure_handler(void *data, void *ptr, void *vtable)
         | ^
         | static 
   kernel/cfi.c:349:6: warning: no previous prototype for function '__cfi_check_fail' [-Wmissing-prototypes]
     349 | void __cfi_check_fail(void *data, void *ptr)
         |      ^
   kernel/cfi.c:349:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     349 | void __cfi_check_fail(void *data, void *ptr)
         | ^
         | static 
   4 warnings generated.

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2024-12-19 10:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202412191836.LsaqyiIY-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox