lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 20 Oct 2022 14:18:23 +0800
From:   kernel test robot <lkp@...el.com>
To:     Christian Brauner <brauner@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        Ammar Faizi <ammarfaizi2@...weeb.org>,
        GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
        linux-kernel@...r.kernel.org
Subject: [ammarfaizi2-block:brauner/linux/fs.acl.rework 24/30] ld.lld: error:
 duplicate symbol: do_set_acl

tree:   https://github.com/ammarfaizi2/linux-block brauner/linux/fs.acl.rework
head:   baac47dc33766dfb02917cba69b698f1a9fd1f84
commit: 788c4cf7d28228acf9be6fd156ee91574a22882d [24/30] xattr: use posix acl api
config: riscv-nommu_virt_defconfig
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/ammarfaizi2/linux-block/commit/788c4cf7d28228acf9be6fd156ee91574a22882d
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block brauner/linux/fs.acl.rework
        git checkout 788c4cf7d28228acf9be6fd156ee91574a22882d
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> ld.lld: error: duplicate symbol: do_set_acl
   >>> defined at open.c
   >>>            fs/open.o:(do_set_acl) in archive vmlinux.a
   >>> defined at read_write.c
   >>>            fs/read_write.o:(.text+0x2) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: do_get_acl
   >>> defined at open.c
   >>>            fs/open.o:(do_get_acl) in archive vmlinux.a
   >>> defined at read_write.c
   >>>            fs/read_write.o:(.text+0x16) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: do_set_acl
   >>> defined at open.c
   >>>            fs/open.o:(do_set_acl) in archive vmlinux.a
   >>> defined at pipe.c
   >>>            fs/pipe.o:(.text+0x2) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: do_get_acl
   >>> defined at open.c
   >>>            fs/open.o:(do_get_acl) in archive vmlinux.a
   >>> defined at pipe.c
   >>>            fs/pipe.o:(.text+0x16) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: do_set_acl
   >>> defined at open.c
   >>>            fs/open.o:(do_set_acl) in archive vmlinux.a
   >>> defined at exec.c
   >>>            fs/exec.o:(.text+0x2) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: do_get_acl
   >>> defined at open.c
   >>>            fs/open.o:(do_get_acl) in archive vmlinux.a
   >>> defined at exec.c
   >>>            fs/exec.o:(.text+0x16) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: do_set_acl
   >>> defined at open.c
   >>>            fs/open.o:(do_set_acl) in archive vmlinux.a
   >>> defined at stat.c
   >>>            fs/stat.o:(.text+0x2) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: do_get_acl
   >>> defined at open.c
   >>>            fs/open.o:(do_get_acl) in archive vmlinux.a
   >>> defined at stat.c
   >>>            fs/stat.o:(.text+0x16) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: do_set_acl
   >>> defined at open.c
   >>>            fs/open.o:(do_set_acl) in archive vmlinux.a
   >>> defined at ioctl.c
   >>>            fs/ioctl.o:(.text+0x2) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: do_get_acl
   >>> defined at open.c
   >>>            fs/open.o:(do_get_acl) in archive vmlinux.a
   >>> defined at ioctl.c
   >>>            fs/ioctl.o:(.text+0x16) in archive vmlinux.a
--
>> ld.lld: error: duplicate symbol: do_set_acl
   >>> defined at open.c
   >>>            fs/open.o:(do_set_acl) in archive vmlinux.a
   >>> defined at inode.c
   >>>            fs/inode.o:(.text+0x2) in archive vmlinux.a
..

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (29589 bytes)

Powered by blists - more mailing lists