All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Paul Moore <paul@paul-moore.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [linux-next:master 2214/3131] security/selinux/selinuxfs.c:1577:undefined reference to `__udivdi3'
Date: Wed, 02 Sep 2026 22:49:37 +0800	[thread overview]
Message-ID: <202609022215.1SXtHuum-lkp@intel.com> (raw)

Hi Paul,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   32b6ef9a5d0eca44f9cd91f52f4faa89f145a0de
commit: fc68b6a45f1668bbe03264343115d1c97013c7ea [2214/3131] selinux: convert selinuxfs inode numbers from unsigned long to u64
config: i386-randconfig-013-20250413 (https://download.01.org/0day-ci/archive/20260902/202609022215.1SXtHuum-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260902/202609022215.1SXtHuum-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/202609022215.1SXtHuum-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: security/selinux/selinuxfs.o: in function `sel_ino_to_class':
>> security/selinux/selinuxfs.c:1577:(.text+0x4e2): undefined reference to `__udivdi3'
   ld: security/selinux/selinuxfs.o: in function `sel_ino_to_perm':
>> security/selinux/selinuxfs.c:1587:(.text+0x562): undefined reference to `__umoddi3'


vim +1577 security/selinux/selinuxfs.c

e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1574  
fc68b6a45f1668 Paul Moore              2026-08-25  1575  static inline u16 sel_ino_to_class(u64 ino)
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1576  {
92ae9e82d9a2c4 Eric Paris              2012-04-04 @1577  	return (ino & SEL_INO_MASK) / (SEL_VEC_MAX + 1);
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1578  }
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1579  
fc68b6a45f1668 Paul Moore              2026-08-25  1580  static inline u64 sel_perm_to_ino(u16 class, u32 perm)
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1581  {
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1582  	return (class * (SEL_VEC_MAX + 1) + perm) | SEL_CLASS_INO_OFFSET;
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1583  }
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1584  
fc68b6a45f1668 Paul Moore              2026-08-25  1585  static inline u32 sel_ino_to_perm(u64 ino)
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1586  {
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23 @1587  	return (ino & SEL_INO_MASK) % (SEL_VEC_MAX + 1);
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1588  }
e47c8fc582a2c9 Christopher J. PeBenito 2007-05-23  1589  

:::::: The code at line 1577 was first introduced by commit
:::::: 92ae9e82d9a2c4b9b388d6a9e7a4b2ccb0b4452f SELinux: remove needless sel_div function

:::::: TO: Eric Paris <eparis@redhat.com>
:::::: CC: Eric Paris <eparis@redhat.com>

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

                 reply	other threads:[~2026-09-02 14:50 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=202609022215.1SXtHuum-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=paul@paul-moore.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.