Assembler message: symbol is already defined
ionutnechita opened this issue · 1 comments
ionutnechita commented
Hi Intel Kernel Team,
I try to compile new version with 5.10 branch.
But i notice one issue with ASM interpreter (Assembler messages).
Kernel no longer compiles after this error.
linux-intel-lts, branch: 5.10/yocto, version: 5.10.52, sha: 2241189
ERROR:
/tmp/ccqvFXCU.s: Assembler messages:
/tmp/ccqvFXCU.s:200: Error: symbol __kstrtab_mmput_async' is already defined /tmp/ccqvFXCU.s:202: Error: symbol
__kstrtabns_mmput_async' is already defined
/tmp/ccqvFXCU.s:208: Error: symbol `__ksymtab_mmput_async' is already defined
CC arch/x86/kernel/cpu/mshyperv.o
CC [M] sound/usb/caiaq/audio.o
CC [M] drivers/video/backlight/ili9320.o
CC mm/pagewalk.o
CC arch/x86/kernel/irq_64.o
CC [M] sound/firewire/oxfw/oxfw-pcm.o
AR drivers/pci/controller/dwc/built-in.a
CC kernel/trace/trace_output.o
CC kernel/trace/trace_seq.o
CC security/apparmor/crypto.o
/tmp/cc87yoQt.s: CC [M] sound/firewire/oxfw/oxfw-proc.o
Assembler messages:
/tmp/cc87yoQt.s:200: Error: symbol `__kstrtab_mmput_async' is already defined
/tmp/cc87yoQt.s:202: Error: symbol `__kstrtabns_mmput_async' is already defined
/tmp/cc87yoQt.s:208: Error: symbol `__ksymtab_mmput_async' is already defined
AR kernel/cgroup/built-in.a
CC crypto/testmgr.o
CC [M] sound/firewire/dice/dice-midi.o
AR drivers/video/fbdev/omap2/omapfb/dss/built-in.a
CC [M] drivers/gpio/gpio-amd-fch.o
CC fs/ext4/fsync.o
CC drivers/acpi/acpica/dsopcode.o
CC fs/jbd2/transaction.o
CC [M] sound/pci/emu10k1/emumixer.o
AR drivers/video/fbdev/omap2/omapfb/displays/built-in.a
CC fs/jbd2/commit.o
CC kernel/trace/trace_stat.o
AR drivers/video/fbdev/omap2/omapfb/built-in.a
CC fs/jbd2/recovery.o
CC fs/jbd2/checkpoint.o
CC [M] lib/crypto/poly1305-donna64.o
AR drivers/video/fbdev/omap2/built-in.a
make[3]: *** [/srv/tmpfs-disk1/build1/build/academix-linux-kernel/scripts/Makefile.build:285: kernel/fork.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC [M] net/netfilter/ipvs/ip_vs_ctl.o
LD [M] sound/pci/asihpi/snd-asihpi.o
CC [M] drivers/pci/controller/pci-hyperv-intf.o
CC net/ethtool/linkinfo.o
CC [M] net/netfilter/ipset/ip_set_bitmap_ip.o
LD [M] sound/usb/misc/snd-ua101.o
CC mm/pgtable-generic.o
CC drivers/video/fbdev/core/fbmem.o
CC kernel/events/ring_buffer.o
CC mm/rmap.o
CC arch/x86/kernel/dumpstack_64.o
CC arch/x86/kernel/cpu/acrn.o
CC drivers/pci/hotplug/shpchp_pci.o
CC [M] net/netfilter/ipset/ip_set_bitmap_ipmac.o
CC [M] drivers/gpio/gpio-amdpt.o
CC arch/x86/lib/usercopy_64.o
CC security/integrity/platform_certs/keyring_handler.o
CC [M] sound/synth/emux/emux_seq.o
CC [M] net/netfilter/ipvs/ip_vs_sched.o
OS:
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
ldd (Debian GLIBC 2.31-13) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
ionutnechita commented
This problem does not exist in the branch of 5.10. it is caused due to a patch applied by me in the area of Android ashmem.
I'll close it now.