kbuild: Fixes for AutoFDO and Propeller builds
Subsystems (3)
[email protected]
maintainerv2 cover kbuild: Fixes for AutoFDO and Propeller builds
From: Rong Xu <[email protected]>
ChangeLog:
V2: filter-out -pie in scripts/Makefile.vmlinux_o
This fixed the failure reported by kernel test robot.
https://lore.kernel.org/r/[email protected]/
Rong Xu (4):
kbuild: Fix Propeller flags
kbuild: Disable AutoFDO and Propeller flags for kernel modules
kbuild: Remove MFS flags from Propeller profile generate builds
kbuild: Add config to assert profile accuracy for aggressive
optimization
Makefile | 9 +++++---- arch/Kconfig | 11 +++++++++++ scripts/Makefile.autofdo | 12 +++++++++--- scripts/Makefile.lib | 9 ++++++--- scripts/Makefile.propeller | 20 ++++++++++++++++---- scripts/Makefile.vmlinux_o | 3 ++- 6 files changed, 49 insertions(+), 15 deletions(-)
base-commit: 9b332cece987ee1790b2ed4c989e28162fa47860
Signature · 1 line
2.51.0.788.g6d19910ace-goog
[email protected]
maintainerPATCH v2 1/4 kbuild: Fix Propeller flags
From: Rong Xu <[email protected]>
Fix the code to enable/disable Propeller build flags to be consistent with the documentation.
--- scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/Makefile.lib +1 -1
@@ -121,7 +121,7 @@ endif # ifdef CONFIG_PROPELLER_CLANG _c_flags += $(if $(patsubst n%,, \ - $(AUTOFDO_PROFILE_$(target-stem).o)$(AUTOFDO_PROFILE)$(PROPELLER_PROFILE))$(is-kernel-object), \ + $(PROPELLER_PROFILE_$(target-stem).o)$(PROPELLER_PROFILE)$(is-kernel-object)), \ $(CFLAGS_PROPELLER_CLANG)) endif
Signature · 1 line
2.51.0.788.g6d19910ace-goog
[email protected]
maintainerPATCH v2 2/4 kbuild: Disable AutoFDO and Propeller flags for kernel modules
In reply to [email protected]From: Rong Xu <[email protected]>
AutoFDO and Propeller build currently does not support kernel modules, but the corresponding build flags are still being set.
This change suppresses these build flags for modules. These flags can be re-enabled once Propeller support for kernel modules is added.
--- Makefile | 9 +++++---- scripts/Makefile.autofdo | 9 ++++++--- scripts/Makefile.lib | 9 ++++++--- scripts/Makefile.propeller | 12 ++++++++---- scripts/Makefile.vmlinux_o | 3 ++- 5 files changed, 27 insertions(+), 15 deletions(-)
Makefile +5 -4
@@ -1230,14 +1230,15 @@ PHONY += vmlinux # not for decompressors. LDFLAGS_vmlinux in arch/*/boot/compressed/Makefile is # unrelated; the decompressors just happen to have the same base name, # arch/*/boot/compressed/vmlinux. -# Export LDFLAGS_vmlinux only to scripts/Makefile.vmlinux. +# Export LDFLAGS_vmlinux only to scripts/Makefile.vmlinux, and +# scripts/Makefile.vmlinux_o. # # _LDFLAGS_vmlinux is a workaround for the 'private export' bug: # https://savannah.gnu.org/bugs/?61463 # For Make > 4.4, the following simple code will work: -# vmlinux: private export LDFLAGS_vmlinux := $(LDFLAGS_vmlinux) -vmlinux: private _LDFLAGS_vmlinux := $(LDFLAGS_vmlinux) -vmlinux: export LDFLAGS_vmlinux = $(_LDFLAGS_vmlinux) +# vmlinux vmlinux_o: private export LDFLAGS_vmlinux := $(LDFLAGS_vmlinux) +vmlinux vmlinux_o: private _LDFLAGS_vmlinux := $(LDFLAGS_vmlinux) +vmlinux vmlinux_o: export LDFLAGS_vmlinux = $(_LDFLAGS_vmlinux) vmlinux: vmlinux.o $(KBUILD_LDS) modpost $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.vmlinux
scripts/Makefile.autofdo +6 -3
@@ -14,11 +14,14 @@ ifdef CLANG_AUTOFDO_PROFILE endif ifdef CONFIG_LTO_CLANG_THIN + _ldflags_autofdo := --mllvm=-enable-fs-discriminator=true --mllvm=-improved-fs-discriminator=true -plugin-opt=thinlto + _ldflags_autofdo += -plugin-opt=-split-machine-functions ifdef CLANG_AUTOFDO_PROFILE - KBUILD_LDFLAGS += --lto-sample-profile=$(CLANG_AUTOFDO_PROFILE) + _ldflags_autofdo += --lto-sample-profile=$(CLANG_AUTOFDO_PROFILE) endif - KBUILD_LDFLAGS += --mllvm=-enable-fs-discriminator=true --mllvm=-improved-fs-discriminator=true -plugin-opt=thinlto - KBUILD_LDFLAGS += -plugin-opt=-split-machine-functions + # TODO: change LDFLAGS_vmlinux to KBUILD_LDFLAGS when kernel modules + # are supported. + LDFLAGS_vmlinux += $(_ldflags_autofdo) endif export CFLAGS_AUTOFDO_CLANG
scripts/Makefile.lib +6 -3
@@ -108,20 +108,23 @@ endif # # Enable AutoFDO build flags except some files or directories we don't want to # enable (depends on variables AUTOFDO_PROFILE_obj.o and AUTOFDO_PROFILE). -# +# TODO: change '$(part-of-builtin)' to '$(is-kernel-object)' when the AutoFDO +# build supports modules. ifeq ($(CONFIG_AUTOFDO_CLANG),y) _c_flags += $(if $(patsubst n%,, \ - $(AUTOFDO_PROFILE_$(target-stem).o)$(AUTOFDO_PROFILE)$(is-kernel-object)), \ + $(AUTOFDO_PROFILE_$(target-stem).o)$(AUTOFDO_PROFILE)$(part-of-builtin)), \ $(CFLAGS_AUTOFDO_CLANG)) endif # # Enable Propeller build flags except some files or directories we don't want to # enable (depends on variables AUTOFDO_PROPELLER_obj.o and PROPELLER_PROFILE). +# TODO: change '$(part-of-builtin)' to '$(is-kernel-object)' when the Propeller +# build supports modules. # ifdef CONFIG_PROPELLER_CLANG _c_flags += $(if $(patsubst n%,, \ - $(PROPELLER_PROFILE_$(target-stem).o)$(PROPELLER_PROFILE)$(is-kernel-object)), \ + $(PROPELLER_PROFILE_$(target-stem).o)$(PROPELLER_PROFILE)$(part-of-builtin)), \ $(CFLAGS_PROPELLER_CLANG)) endif
scripts/Makefile.propeller +8 -4
@@ -3,7 +3,7 @@ # Enable available and selected Clang Propeller features. ifdef CLANG_PROPELLER_PROFILE_PREFIX CFLAGS_PROPELLER_CLANG := -fbasic-block-sections=list=$(CLANG_PROPELLER_PROFILE_PREFIX)_cc_profile.txt -ffunction-sections - KBUILD_LDFLAGS += --symbol-ordering-file=$(CLANG_PROPELLER_PROFILE_PREFIX)_ld_profile.txt --no-warn-symbol-ordering + _ldflags_propeller := --symbol-ordering-file=$(CLANG_PROPELLER_PROFILE_PREFIX)_ld_profile.txt --no-warn-symbol-ordering else # Starting with Clang v20, the '-fbasic-block-sections=labels' option is # deprecated. Use the recommended '-fbasic-block-address-map' option.
@@ -26,14 +26,18 @@ endif ifdef CONFIG_LTO_CLANG_THIN ifdef CLANG_PROPELLER_PROFILE_PREFIX - KBUILD_LDFLAGS += --lto-basic-block-sections=$(CLANG_PROPELLER_PROFILE_PREFIX)_cc_profile.txt + _ldflags_propeller += --lto-basic-block-sections=$(CLANG_PROPELLER_PROFILE_PREFIX)_cc_profile.txt else ifeq ($(call test-ge, $(CONFIG_LLD_VERSION), 200000),y) - KBUILD_LDFLAGS += --lto-basic-block-address-map + _ldflags_propeller += --lto-basic-block-address-map else - KBUILD_LDFLAGS += --lto-basic-block-sections=labels + _ldflags_propeller += --lto-basic-block-sections=labels endif endif endif +# TODO: change LDFLAGS_vmlinux to KBUILD_LDFLAGS when kernel modules +# are supported. +LDFLAGS_vmlinux += $(_ldflags_propeller) + export CFLAGS_PROPELLER_CLANG
scripts/Makefile.vmlinux_o +2 -1
@@ -56,7 +56,8 @@ vmlinux-o-ld-args-$(CONFIG_BUILTIN_MODULE_RANGES) += [email protected] quiet_cmd_ld_vmlinux.o = LD $@ cmd_ld_vmlinux.o = \ - $(LD) ${KBUILD_LDFLAGS} -r -o $@ \ + $(LD) $(KBUILD_LDFLAGS) \ + $(filter-out -pie, $(LDFLAGS_vmlinux)) -r -o $@ \ $(vmlinux-o-ld-args-y) \ $(addprefix -T , $(initcalls-lds)) \ --whole-archive vmlinux.a --no-whole-archive \
Signature · 1 line
2.51.0.788.g6d19910ace-goog
kernel test robot
build botRe: [PATCH v2 2/4] kbuild: Disable AutoFDO and Propeller flags for kernel modules
kernel test robot noticed the following build warnings:
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 9b332cece987ee1790b2ed4c989e28162fa47860]
url: https://github.com/intel-lab-lkp/linux/commits/xur-google-com/kbuild-Fix-Propeller-flags/20251015-031420 base: 9b332cece987ee1790b2ed4c989e28162fa47860 patch link: https://lore.kernel.org/r/20251014191156.3836703-3-xur%40google.com patch subject: [PATCH v2 2/4] kbuild: Disable AutoFDO and Propeller flags for kernel modules
:::::: branch date: 21 hours ago
:::::: commit date: 21 hours ago
config: i386-buildonly-randconfig-001-20251015 (https://download.01.org/0day-ci/archive/20251015/[email protected]/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251015/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/
All warnings (new ones prefixed by >>):
ld: warning: orphan section .init.ramfs.info' from usr/initramfs_data.o' being placed in section `.init.ramfs.info'
ld: warning: orphan section .noinstr.text' from arch/x86/entry/entry.o' being placed in section `.noinstr.text'
ld: warning: orphan section .altinstructions' from arch/x86/entry/entry.o' being placed in section `.altinstructions'
ld: warning: orphan section .altinstr_replacement' from arch/x86/entry/entry.o' being placed in section `.altinstr_replacement'
ld: warning: orphan section .export_symbol' from arch/x86/entry/entry.o' being placed in section `.export_symbol'
ld: warning: orphan section .entry.text' from arch/x86/entry/entry.o' being placed in section `.entry.text'
ld: warning: orphan section _kprobe_blacklist' from arch/x86/entry/entry.o' being placed in section `_kprobe_blacklist'
ld: warning: orphan section .entry.text' from arch/x86/entry/entry_32.o' being placed in section `.entry.text'
ld: warning: orphan section .altinstructions' from arch/x86/entry/entry_32.o' being placed in section `.altinstructions'
ld: warning: orphan section .altinstr_replacement' from arch/x86/entry/entry_32.o' being placed in section `.altinstr_replacement'
ld: warning: orphan section __ex_table' from arch/x86/entry/entry_32.o' being placed in section `__ex_table'
ld: warning: orphan section __jump_table' from arch/x86/entry/syscall_32.o' being placed in section `__jump_table'
ld: warning: orphan section .altinstructions' from arch/x86/entry/syscall_32.o' being placed in section `.altinstructions'
ld: warning: orphan section .altinstr_replacement' from arch/x86/entry/syscall_32.o' being placed in section `.altinstr_replacement'
ld: warning: orphan section .altinstr_aux' from arch/x86/entry/syscall_32.o' being placed in section `.altinstr_aux'
ld: warning: orphan section .rodata.str1.1' from arch/x86/entry/syscall_32.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section .rodata.str1.4' from arch/x86/entry/syscall_32.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section .noinstr.text' from arch/x86/entry/syscall_32.o' being placed in section `.noinstr.text'
ld: warning: orphan section __bug_table' from arch/x86/entry/syscall_32.o' being placed in section `__bug_table'
ld: warning: orphan section .rodata.str1.1' from arch/x86/entry/vdso/vma.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section .smp_locks' from arch/x86/entry/vdso/vma.o' being placed in section `.smp_locks'
ld: warning: orphan section __bug_table' from arch/x86/entry/vdso/vma.o' being placed in section `__bug_table'
ld: warning: orphan section .init.text' from arch/x86/entry/vdso/vma.o' being placed in section `.init.text'
ld: warning: orphan section .data..read_mostly' from arch/x86/entry/vdso/vma.o' being placed in section `.data..read_mostly'
ld: warning: orphan section .initcall4.init' from arch/x86/entry/vdso/vdso-image-32.o' being placed in section `.initcall4.init'
ld: warning: orphan section .init.text' from arch/x86/entry/vdso/vdso-image-32.o' being placed in section `.init.text'
ld: warning: orphan section .discard.addressable' from arch/x86/entry/vdso/vdso-image-32.o' being placed in section `.discard.addressable'
ld: warning: orphan section .data..ro_after_init' from arch/x86/entry/vdso/vdso-image-32.o' being placed in section `.data..ro_after_init'
ld: warning: orphan section .initcall6.init' from arch/x86/entry/vdso/vdso32-setup.o' being placed in section `.initcall6.init'
ld: warning: orphan section .rodata.str1.4' from arch/x86/entry/vdso/vdso32-setup.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section .init.text' from arch/x86/entry/vdso/vdso32-setup.o' being placed in section `.init.text'
ld: warning: orphan section .rodata.str1.1' from arch/x86/entry/vdso/vdso32-setup.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section .discard.addressable' from arch/x86/entry/vdso/vdso32-setup.o' being placed in section `.discard.addressable'
ld: warning: orphan section .init.setup' from arch/x86/entry/vdso/vdso32-setup.o' being placed in section `.init.setup'
ld: warning: orphan section .init.rodata' from arch/x86/entry/vdso/vdso32-setup.o' being placed in section `.init.rodata'
ld: warning: orphan section .data..read_mostly' from arch/x86/entry/vdso/vdso32-setup.o' being placed in section `.data..read_mostly'
ld: warning: orphan section _kprobe_blacklist' from arch/x86/entry/thunk.o' being placed in section `_kprobe_blacklist'
ld: warning: orphan section .export_symbol' from arch/x86/entry/thunk.o' being placed in section `.export_symbol'
ld: warning: orphan section .static_call.text' from arch/x86/events/core.o' being placed in section `.static_call.text'
ld: warning: orphan section .export_symbol' from arch/x86/events/core.o' being placed in section `.export_symbol'
ld: warning: orphan section .initcallearly.init' from arch/x86/events/core.o' being placed in section `.initcallearly.init'
ld: warning: orphan section __jump_table' from arch/x86/events/core.o' being placed in section `__jump_table'
ld: warning: orphan section .altinstructions' from arch/x86/events/core.o' being placed in section `.altinstructions'
ld: warning: orphan section .altinstr_replacement' from arch/x86/events/core.o' being placed in section `.altinstr_replacement'
ld: warning: orphan section .smp_locks' from arch/x86/events/core.o' being placed in section `.smp_locks'
ld: warning: orphan section .rodata.str1.1' from arch/x86/events/core.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section __bug_table' from arch/x86/events/core.o' being placed in section `__bug_table'
ld: warning: orphan section .rodata.str1.4' from arch/x86/events/core.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section .altinstr_aux' from arch/x86/events/core.o' being placed in section `.altinstr_aux'
ld: warning: orphan section __ex_table' from arch/x86/events/core.o' being placed in section `__ex_table'
ld: warning: orphan section .init.text' from arch/x86/events/core.o' being placed in section `.init.text'
ld: warning: orphan section .discard.addressable' from arch/x86/events/core.o' being placed in section `.discard.addressable'
ld: warning: orphan section alloc_tags' from arch/x86/events/core.o' being placed in section `alloc_tags'
ld: warning: orphan section .data..percpu' from arch/x86/events/core.o' being placed in section `.data..percpu'
ld: warning: orphan section .data..ro_after_init' from arch/x86/events/core.o' being placed in section `.data..ro_after_init'
ld: warning: orphan section _kprobe_blacklist' from arch/x86/events/core.o' being placed in section `_kprobe_blacklist'
ld: warning: orphan section .data..read_mostly' from arch/x86/events/core.o' being placed in section `.data..read_mostly'
ld: warning: orphan section .export_symbol' from arch/x86/events/probe.o' being placed in section `.export_symbol'
ld: warning: orphan section __ex_table' from arch/x86/events/probe.o' being placed in section `__ex_table'
ld: warning: orphan section .discard.addressable' from arch/x86/events/probe.o' being placed in section `.discard.addressable'
ld: warning: orphan section .static_call.text' from arch/x86/events/amd/core.o' being placed in section `.static_call.text'
ld: warning: orphan section .export_symbol' from arch/x86/events/amd/core.o' being placed in section `.export_symbol'
ld: warning: orphan section .altinstructions' from arch/x86/events/amd/core.o' being placed in section `.altinstructions'
ld: warning: orphan section .altinstr_replacement' from arch/x86/events/amd/core.o' being placed in section `.altinstr_replacement'
ld: warning: orphan section .altinstr_aux' from arch/x86/events/amd/core.o' being placed in section `.altinstr_aux'
ld: warning: orphan section __ex_table' from arch/x86/events/amd/core.o' being placed in section `__ex_table'
ld: warning: orphan section .rodata.str1.1' from arch/x86/events/amd/core.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section .rodata.str1.4' from arch/x86/events/amd/core.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section __bug_table' from arch/x86/events/amd/core.o' being placed in section `__bug_table'
ld: warning: orphan section .smp_locks' from arch/x86/events/amd/core.o' being placed in section `.smp_locks'
ld: warning: orphan section __jump_table' from arch/x86/events/amd/core.o' being placed in section `__jump_table'
ld: warning: orphan section .init.text' from arch/x86/events/amd/core.o' being placed in section `.init.text'
ld: warning: orphan section .discard.addressable' from arch/x86/events/amd/core.o' being placed in section `.discard.addressable'
ld: warning: orphan section .data..once' from arch/x86/events/amd/core.o' being placed in section `.data..once'
ld: warning: orphan section alloc_tags' from arch/x86/events/amd/core.o' being placed in section `alloc_tags'
ld: warning: orphan section .data..percpu' from arch/x86/events/amd/core.o' being placed in section `.data..percpu'
ld: warning: orphan section .data..read_mostly' from arch/x86/events/amd/core.o' being placed in section `.data..read_mostly'
ld: warning: orphan section .init.rodata' from arch/x86/events/amd/core.o' being placed in section `.init.rodata'
ld: warning: orphan section __ex_table' from arch/x86/events/amd/lbr.o' being placed in section `__ex_table'
ld: warning: orphan section .rodata.str1.1' from arch/x86/events/amd/lbr.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section __bug_table' from arch/x86/events/amd/lbr.o' being placed in section `__bug_table'
ld: warning: orphan section .altinstructions' from arch/x86/events/amd/lbr.o' being placed in section `.altinstructions'
ld: warning: orphan section .altinstr_replacement' from arch/x86/events/amd/lbr.o' being placed in section `.altinstr_replacement'
ld: warning: orphan section .altinstr_aux' from arch/x86/events/amd/lbr.o' being placed in section `.altinstr_aux'
ld: warning: orphan section .init.text' from arch/x86/events/amd/lbr.o' being placed in section `.init.text'
ld: warning: orphan section .static_call.text' from arch/x86/events/amd/brs.o' being placed in section `.static_call.text'
ld: warning: orphan section .export_symbol' from arch/x86/events/amd/brs.o' being placed in section `.export_symbol'
ld: warning: orphan section .noinstr.text' from arch/x86/events/amd/brs.o' being placed in section `.noinstr.text'
ld: warning: orphan section __ex_table' from arch/x86/events/amd/brs.o' being placed in section `__ex_table'
ld: warning: orphan section .altinstructions' from arch/x86/events/amd/brs.o' being placed in section `.altinstructions'
ld: warning: orphan section .altinstr_replacement' from arch/x86/events/amd/brs.o' being placed in section `.altinstr_replacement'
ld: warning: orphan section .altinstr_aux' from arch/x86/events/amd/brs.o' being placed in section `.altinstr_aux'
ld: warning: orphan section .rodata.str1.1' from arch/x86/events/amd/brs.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section .init.text' from arch/x86/events/amd/brs.o' being placed in section `.init.text'
ld: warning: orphan section __bug_table' from arch/x86/events/amd/brs.o' being placed in section `__bug_table'
ld: warning: orphan section .discard.addressable' from arch/x86/events/amd/brs.o' being placed in section `.discard.addressable'
ld: warning: orphan section .initcall6.init' from arch/x86/events/amd/power.o' being placed in section `.initcall6.init'
ld: warning: orphan section .rodata.str1.1' from arch/x86/events/amd/power.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section __ex_table' from arch/x86/events/amd/power.o' being placed in section `__ex_table'
ld: warning: orphan section __bug_table' from arch/x86/events/amd/power.o' being placed in section `__bug_table'
>> ld: warning: orphan section `.altinstructions' from `arch/x86/events/amd/power.o' being placed in section `.altinstructions' >> ld: warning: orphan section `.altinstr_replacement' from `arch/x86/events/amd/power.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `.smp_locks' from `arch/x86/events/amd/power.o' being placed in section `.smp_locks' ld: warning: orphan section `.exit.text' from `arch/x86/events/amd/power.o' being placed in section `.exit.text' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/events/amd/power.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.init.text' from `arch/x86/events/amd/power.o' being placed in section `.init.text' ld: warning: orphan section `.modinfo' from `arch/x86/events/amd/power.o' being placed in section `.modinfo' ld: warning: orphan section `.exitcall.exit' from `arch/x86/events/amd/power.o' being placed in section `.exitcall.exit' ld: warning: orphan section `.discard.addressable' from `arch/x86/events/amd/power.o' being placed in section `.discard.addressable' ld: warning: orphan section `.export_symbol' from `arch/x86/events/amd/ibs.o' being placed in section `.export_symbol' ld: warning: orphan section `.initcall6.init' from `arch/x86/events/amd/ibs.o' being placed in section `.initcall6.init' >> ld: warning: orphan section `.altinstructions' from `arch/x86/events/amd/ibs.o' being placed in section `.altinstructions' >> ld: warning: orphan section `.altinstr_replacement' from `arch/x86/events/amd/ibs.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/events/amd/ibs.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `__ex_table' from `arch/x86/events/amd/ibs.o' being placed in section `__ex_table' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/events/amd/ibs.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `.init.text' from `arch/x86/events/amd/ibs.o' being placed in section `.init.text' ld: warning: orphan section `__jump_table' from `arch/x86/events/amd/ibs.o' being placed in section `__jump_table' ld: warning: orphan section `__bug_table' from `arch/x86/events/amd/ibs.o' being placed in section `__bug_table' ld: warning: orphan section `.smp_locks' from `arch/x86/events/amd/ibs.o' being placed in section `.smp_locks' ld: warning: orphan section `.discard.addressable' from `arch/x86/events/amd/ibs.o' being placed in section `.discard.addressable' ld: warning: orphan section `alloc_tags' from `arch/x86/events/amd/ibs.o' being placed in section `alloc_tags' ld: warning: orphan section `.data..percpu' from `arch/x86/events/amd/ibs.o' being placed in section `.data..percpu' ld: warning: orphan section `_kprobe_blacklist' from `arch/x86/events/amd/ibs.o' being placed in section `_kprobe_blacklist' ld: warning: orphan section `.initcall6.init' from `arch/x86/events/msr.o' being placed in section `.initcall6.init' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/events/msr.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `.init.text' from `arch/x86/events/msr.o' being placed in section `.init.text' ld: warning: orphan section `.altinstructions' from `arch/x86/events/msr.o' being placed in section `.altinstructions' ld: warning: orphan section `.altinstr_replacement' from `arch/x86/events/msr.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `__ex_table' from `arch/x86/events/msr.o' being placed in section `__ex_table' ld: warning: orphan section `.smp_locks' from `arch/x86/events/msr.o' being placed in section `.smp_locks' ld: warning: orphan section `.discard.addressable' from `arch/x86/events/msr.o' being placed in section `.discard.addressable' ld: warning: orphan section `.static_call.text' from `arch/x86/events/intel/core.o' being placed in section `.static_call.text' ld: warning: orphan section `.initcall4.init' from `arch/x86/events/intel/core.o' being placed in section `.initcall4.init' ld: warning: orphan section `__ex_table' from `arch/x86/events/intel/core.o' being placed in section `__ex_table' ld: warning: orphan section `__jump_table' from `arch/x86/events/intel/core.o' being placed in section `__jump_table' ld: warning: orphan section `.smp_locks' from `arch/x86/events/intel/core.o' being placed in section `.smp_locks' ld: warning: orphan section `.init.text' from `arch/x86/events/intel/core.o' being placed in section `.init.text' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/events/intel/core.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `__bug_table' from `arch/x86/events/intel/core.o' being placed in section `__bug_table' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/events/intel/core.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.altinstructions' from `arch/x86/events/intel/core.o' being placed in section `.altinstructions' ld: warning: orphan section `.altinstr_replacement' from `arch/x86/events/intel/core.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `.altinstr_aux' from `arch/x86/events/intel/core.o' being placed in section `.altinstr_aux' ld: warning: orphan section `.discard.addressable' from `arch/x86/events/intel/core.o' being placed in section `.discard.addressable' ld: warning: orphan section `.init.data' from `arch/x86/events/intel/core.o' being placed in section `.init.data' ld: warning: orphan section `alloc_tags' from `arch/x86/events/intel/core.o' being placed in section `alloc_tags' ld: warning: orphan section `.data..percpu' from `arch/x86/events/intel/core.o' being placed in section `.data..percpu' ld: warning: orphan section `.init.rodata' from `arch/x86/events/intel/core.o' being placed in section `.init.rodata' ld: warning: orphan section `.data..read_mostly' from `arch/x86/events/intel/core.o' being placed in section `.data..read_mostly' ld: warning: orphan section `.initcallearly.init' from `arch/x86/events/intel/bts.o' being placed in section `.initcallearly.init' ld: warning: orphan section `.altinstructions' from `arch/x86/events/intel/bts.o' being placed in section `.altinstructions' ld: warning: orphan section `.altinstr_replacement' from `arch/x86/events/intel/bts.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/events/intel/bts.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/events/intel/bts.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `__jump_table' from `arch/x86/events/intel/bts.o' being placed in section `__jump_table' ld: warning: orphan section `__bug_table' from `arch/x86/events/intel/bts.o' being placed in section `__bug_table' ld: warning: orphan section `.init.text' from `arch/x86/events/intel/bts.o' being placed in section `.init.text' ld: warning: orphan section `.discard.addressable' from `arch/x86/events/intel/bts.o' being placed in section `.discard.addressable' ld: warning: orphan section `alloc_tags' from `arch/x86/events/intel/bts.o' being placed in section `alloc_tags' ld: warning: orphan section `.data..percpu' from `arch/x86/events/intel/bts.o' being placed in section `.data..percpu' ld: warning: orphan section `__ex_table' from `arch/x86/events/intel/ds.o' being placed in section `__ex_table' ld: warning: orphan section `.altinstructions' from `arch/x86/events/intel/ds.o' being placed in section `.altinstructions' ld: warning: orphan section `.altinstr_replacement' from `arch/x86/events/intel/ds.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/events/intel/ds.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `__bug_table' from `arch/x86/events/intel/ds.o' being placed in section `__bug_table' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/events/intel/ds.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `__jump_table' from `arch/x86/events/intel/ds.o' being placed in section `__jump_table' ld: warning: orphan section `.init.text' from `arch/x86/events/intel/ds.o' being placed in section `.init.text' ld: warning: orphan section `.data..once' from `arch/x86/events/intel/ds.o' being placed in section `.data..once' ld: warning: orphan section `alloc_tags' from `arch/x86/events/intel/ds.o' being placed in section `alloc_tags' ld: warning: orphan section `.data..percpu' from `arch/x86/events/intel/ds.o' being placed in section `.data..percpu' ld: warning: orphan section `.data..percpu..page_aligned' from `arch/x86/events/intel/ds.o' being placed in section `.data..percpu..page_aligned' ld: warning: orphan section `__ex_table' from `arch/x86/events/intel/knc.o' being placed in section `__ex_table' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/events/intel/knc.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `__bug_table' from `arch/x86/events/intel/knc.o' being placed in section `__bug_table' ld: warning: orphan section `.init.text' from `arch/x86/events/intel/knc.o' being placed in section `.init.text' ld: warning: orphan section `.data..once' from `arch/x86/events/intel/knc.o' being placed in section `.data..once' ld: warning: orphan section `.init.rodata' from `arch/x86/events/intel/knc.o' being placed in section `.init.rodata' ld: warning: orphan section `.export_symbol' from `arch/x86/events/intel/lbr.o' being placed in section `.export_symbol' ld: warning: orphan section `.altinstructions' from `arch/x86/events/intel/lbr.o' being placed in section `.altinstructions' ld: warning: orphan section `.altinstr_replacement' from `arch/x86/events/intel/lbr.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `.altinstr_aux' from `arch/x86/events/intel/lbr.o' being placed in section `.altinstr_aux' ld: warning: orphan section `__ex_table' from `arch/x86/events/intel/lbr.o' being placed in section `__ex_table' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/events/intel/lbr.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `__bug_table' from `arch/x86/events/intel/lbr.o' being placed in section `__bug_table' ld: warning: orphan section `__jump_table' from `arch/x86/events/intel/lbr.o' being placed in section `__jump_table' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/events/intel/lbr.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.init.text' from `arch/x86/events/intel/lbr.o' being placed in section `.init.text' ld: warning: orphan section `.discard.addressable' from `arch/x86/events/intel/lbr.o' being placed in section `.discard.addressable' ld: warning: orphan section `alloc_tags' from `arch/x86/events/intel/lbr.o' being placed in section `alloc_tags' ld: warning: orphan section `.data..percpu' from `arch/x86/events/intel/lbr.o' being placed in section `.data..percpu' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/events/intel/p4.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `__ex_table' from `arch/x86/events/intel/p4.o' being placed in section `__ex_table' ld: warning: orphan section `__bug_table' from `arch/x86/events/intel/p4.o' being placed in section `__bug_table' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/events/intel/p4.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.smp_locks' from `arch/x86/events/intel/p4.o' being placed in section `.smp_locks' ld: warning: orphan section `.init.text' from `arch/x86/events/intel/p4.o' being placed in section `.init.text' ld: warning: orphan section `.data..once' from `arch/x86/events/intel/p4.o' being placed in section `.data..once' ld: warning: orphan section `.data..percpu' from `arch/x86/events/intel/p4.o' being placed in section `.data..percpu' ld: warning: orphan section `.init.rodata' from `arch/x86/events/intel/p4.o' being placed in section `.init.rodata' ld: warning: orphan section `__ex_table' from `arch/x86/events/intel/p6.o' being placed in section `__ex_table' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/events/intel/p6.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/events/intel/p6.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.init.text' from `arch/x86/events/intel/p6.o' being placed in section `.init.text' ld: warning: orphan section `.init.data' from `arch/x86/events/intel/p6.o' being placed in section `.init.data' ld: warning: orphan section `.init.rodata' from `arch/x86/events/intel/p6.o' being placed in section `.init.rodata' ld: warning: orphan section `.export_symbol' from `arch/x86/events/intel/pt.o' being placed in section `.export_symbol' ld: warning: orphan section `.initcall3.init' from `arch/x86/events/intel/pt.o' being placed in section `.initcall3.init' ld: warning: orphan section `.altinstructions' from `arch/x86/events/intel/pt.o' being placed in section `.altinstructions' ld: warning: orphan section `.altinstr_replacement' from `arch/x86/events/intel/pt.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `__ex_table' from `arch/x86/events/intel/pt.o' being placed in section `__ex_table' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/events/intel/pt.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `__bug_table' from `arch/x86/events/intel/pt.o' being placed in section `__bug_table' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/events/intel/pt.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.init.text' from `arch/x86/events/intel/pt.o' being placed in section `.init.text' ld: warning: orphan section `__jump_table' from `arch/x86/events/intel/pt.o' being placed in section `__jump_table' ld: warning: orphan section `.discard.addressable' from `arch/x86/events/intel/pt.o' being placed in section `.discard.addressable' ld: warning: orphan section `alloc_tags' from `arch/x86/events/intel/pt.o' being placed in section `alloc_tags' ld: warning: orphan section `.data..percpu' from `arch/x86/events/intel/pt.o' being placed in section `.data..percpu' ld: warning: orphan section `.data..ro_after_init' from `arch/x86/events/intel/pt.o' being placed in section `.data..ro_after_init' ld: warning: orphan section `__ex_table' from `arch/x86/events/zhaoxin/core.o' being placed in section `__ex_table' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/events/zhaoxin/core.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/events/zhaoxin/core.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.init.text' from `arch/x86/events/zhaoxin/core.o' being placed in section `.init.text' ld: warning: orphan section `__jump_table' from `arch/x86/events/zhaoxin/core.o' being placed in section `__jump_table' ld: warning: orphan section `.altinstructions' from `arch/x86/events/zhaoxin/core.o' being placed in section `.altinstructions' ld: warning: orphan section `.altinstr_replacement' from `arch/x86/events/zhaoxin/core.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `.init.data' from `arch/x86/events/zhaoxin/core.o' being placed in section `.init.data' ld: warning: orphan section `.init.rodata' from `arch/x86/events/zhaoxin/core.o' being placed in section `.init.rodata' ld: warning: orphan section `.data..read_mostly' from `arch/x86/events/zhaoxin/core.o' being placed in section `.data..read_mostly' ld: warning: orphan section `.initcallearly.init' from `arch/x86/realmode/init.o' being placed in section `.initcallearly.init' ld: warning: orphan section `.init.text' from `arch/x86/realmode/init.o' being placed in section `.init.text' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/realmode/init.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/realmode/init.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `__bug_table' from `arch/x86/realmode/init.o' being placed in section `__bug_table' ld: warning: orphan section `.discard.addressable' from `arch/x86/realmode/init.o' being placed in section `.discard.addressable' ld: warning: orphan section `.init.data' from `arch/x86/realmode/rmpiggy.o' being placed in section `.init.data' ld: warning: orphan section `.bss..brk' from `arch/x86/kernel/head_32.o' being placed in section `.bss..brk' ld: warning: orphan section `.init.text' from `arch/x86/kernel/head_32.o' being placed in section `.init.text' ld: warning: orphan section `.init.data' from `arch/x86/kernel/head_32.o' being placed in section `.init.data' ld: warning: orphan section `.ref.data' from `arch/x86/kernel/head_32.o' being placed in section `.ref.data' ld: warning: orphan section `.bss..page_aligned' from `arch/x86/kernel/head_32.o' being placed in section `.bss..page_aligned' ld: warning: orphan section `.export_symbol' from `arch/x86/kernel/head_32.o' being placed in section `.export_symbol' ld: warning: orphan section `.init.rodata' from `arch/x86/kernel/head_32.o' being placed in section `.init.rodata' ld: warning: orphan section `.init.text' from `arch/x86/kernel/head32.o' being placed in section `.init.text' ld: warning: orphan section `__ex_table' from `arch/x86/kernel/head32.o' being placed in section `__ex_table' ld: warning: orphan section `.init.data' from `arch/x86/kernel/head32.o' being placed in section `.init.data' ld: warning: orphan section `.init.text' from `arch/x86/kernel/ebda.o' being placed in section `.init.text' ld: warning: orphan section `.init.text' from `arch/x86/kernel/platform-quirks.o' being placed in section `.init.text' ld: warning: orphan section `.export_symbol' from `arch/x86/kernel/process_32.o' being placed in section `.export_symbol' ld: warning: orphan section `__ex_table' from `arch/x86/kernel/process_32.o' being placed in section `__ex_table' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/kernel/process_32.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/kernel/process_32.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `__bug_table' from `arch/x86/kernel/process_32.o' being placed in section `__bug_table' ld: warning: orphan section `__jump_table' from `arch/x86/kernel/process_32.o' being placed in section `__jump_table' ld: warning: orphan section `.smp_locks' from `arch/x86/kernel/process_32.o' being placed in section `.smp_locks' ld: warning: orphan section `.discard.addressable' from `arch/x86/kernel/process_32.o' being placed in section `.discard.addressable' ld: warning: orphan section `.initcallearly.init' from `arch/x86/kernel/signal.o' being placed in section `.initcallearly.init' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/kernel/signal.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.init.text' from `arch/x86/kernel/signal.o' being placed in section `.init.text' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/kernel/signal.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `__bug_table' from `arch/x86/kernel/signal.o' being placed in section `__bug_table' ld: warning: orphan section `.init.setup' from `arch/x86/kernel/signal.o' being placed in section `.init.setup' ld: warning: orphan section `.init.rodata' from `arch/x86/kernel/signal.o' being placed in section `.init.rodata' ld: warning: orphan section `.data..ro_after_init' from `arch/x86/kernel/signal.o' being placed in section `.data..ro_after_init' ld: warning: orphan section `.discard.addressable' from `arch/x86/kernel/signal.o' being placed in section `.discard.addressable' ld: warning: orphan section `__ex_table' from `arch/x86/kernel/signal_32.o' being placed in section `__ex_table' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/kernel/signal_32.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `.altinstructions' from `arch/x86/kernel/signal_32.o' being placed in section `.altinstructions' ld: warning: orphan section `.altinstr_replacement' from `arch/x86/kernel/signal_32.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `.altinstr_aux' from `arch/x86/kernel/signal_32.o' being placed in section `.altinstr_aux' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/kernel/traps.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `.noinstr.text' from `arch/x86/kernel/traps.o' being placed in section `.noinstr.text' ld: warning: orphan section `__bug_table' from `arch/x86/kernel/traps.o' being placed in section `__bug_table' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/kernel/traps.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.altinstructions' from `arch/x86/kernel/traps.o' being placed in section `.altinstructions' ld: warning: orphan section `.altinstr_replacement' from `arch/x86/kernel/traps.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `.altinstr_aux' from `arch/x86/kernel/traps.o' being placed in section `.altinstr_aux' ld: warning: orphan section `__ex_table' from `arch/x86/kernel/traps.o' being placed in section `__ex_table' ld: warning: orphan section `.smp_locks' from `arch/x86/kernel/traps.o' being placed in section `.smp_locks' ld: warning: orphan section `.init.text' from `arch/x86/kernel/traps.o' being placed in section `.init.text' ld: warning: orphan section `_kprobe_blacklist' from `arch/x86/kernel/traps.o' being placed in section `_kprobe_blacklist' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/kernel/idt.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `.init.text' from `arch/x86/kernel/idt.o' being placed in section `.init.text' ld: warning: orphan section `__bug_table' from `arch/x86/kernel/idt.o' being placed in section `__bug_table' ld: warning: orphan section `.smp_locks' from `arch/x86/kernel/idt.o' being placed in section `.smp_locks' ld: warning: orphan section `.data..ro_after_init' from `arch/x86/kernel/idt.o' being placed in section `.data..ro_after_init' ld: warning: orphan section `.bss..page_aligned' from `arch/x86/kernel/idt.o' being placed in section `.bss..page_aligned' ld: warning: orphan section `.init.rodata' from `arch/x86/kernel/idt.o' being placed in section `.init.rodata' ld: warning: orphan section `.init.data' from `arch/x86/kernel/idt.o' being placed in section `.init.data' ld: warning: orphan section `.export_symbol' from `arch/x86/kernel/irq.o' being placed in section `.export_symbol' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/kernel/irq.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/kernel/irq.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.noinstr.text' from `arch/x86/kernel/irq.o' being placed in section `.noinstr.text' ld: warning: orphan section `.discard.addressable' from `arch/x86/kernel/irq.o' being placed in section `.discard.addressable' ld: warning: orphan section `.data..percpu..hot..__softirq_pending' from `arch/x86/kernel/irq.o' being placed in section `.data..percpu..hot..__softirq_pending' ld: warning: orphan section `.data..percpu..shared_aligned' from `arch/x86/kernel/irq.o' being placed in section `.data..percpu..shared_aligned' ld: warning: orphan section `.data..percpu..hot..hardirq_stack_ptr' from `arch/x86/kernel/irq.o' being placed in section `.data..percpu..hot..hardirq_stack_ptr' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/kernel/irq_32.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/kernel/irq_32.o' being placed in section `.rodata.str1.1' >> ld: warning: orphan section `__jump_table' from `arch/x86/kernel/irq_32.o' being placed in section `__jump_table' ld: warning: orphan section `__bug_table' from `arch/x86/kernel/irq_32.o' being placed in section `__bug_table' >> ld: warning: orphan section `alloc_tags' from `arch/x86/kernel/irq_32.o' being placed in section `alloc_tags' >> ld: warning: orphan section `.data..percpu' from `arch/x86/kernel/irq_32.o' being placed in section `.data..percpu' ld: warning: orphan section `.data..read_mostly' from `arch/x86/kernel/irq_32.o' being placed in section `.data..read_mostly' ld: warning: orphan section `.data..percpu..hot..softirq_stack_ptr' from `arch/x86/kernel/irq_32.o' being placed in section `.data..percpu..hot..softirq_stack_ptr' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/kernel/dumpstack_32.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/kernel/dumpstack_32.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.data..once' from `arch/x86/kernel/dumpstack_32.o' being placed in section `.data..once' ld: warning: orphan section `.export_symbol' from `arch/x86/kernel/time.o' being placed in section `.export_symbol' ld: warning: orphan section `.init.text' from `arch/x86/kernel/time.o' being placed in section `.init.text' ld: warning: orphan section `.altinstructions' from `arch/x86/kernel/time.o' being placed in section `.altinstructions' ld: warning: orphan section `.altinstr_replacement' from `arch/x86/kernel/time.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `.altinstr_aux' from `arch/x86/kernel/time.o' being placed in section `.altinstr_aux' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/kernel/time.o' being placed in section `.rodata.str1.1' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/kernel/time.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.discard.addressable' from `arch/x86/kernel/time.o' being placed in section `.discard.addressable' ld: warning: orphan section `.smp_locks' from `arch/x86/kernel/ioport.o' being placed in section `.smp_locks' ld: warning: orphan section `.rodata.str1.4' from `arch/x86/kernel/ioport.o' being placed in section `.rodata.str1.4' ld: warning: orphan section `.rodata.str1.1' from `arch/x86/kernel/ioport.o' being placed in section `.rodata.str1.1' >> ld: warning: orphan section `.altinstructions' from `arch/x86/kernel/ioport.o' being placed in section `.altinstructions' >> ld: warning: orphan section `.altinstr_replacement' from `arch/x86/kernel/ioport.o' being placed in section `.altinstr_replacement' ld: warning: orphan section `__jump_table' from `arch/x86/kernel/ioport.o' being placed in section `__jump_table' >> ld: warning: orphan section `__bug_table' from `arch/x86/kernel/ioport.o' being placed in section `__bug_table'
ld: warning: orphan section alloc_tags' from arch/x86/kernel/ioport.o' being placed in section `alloc_tags'
ld: warning: orphan section .data..percpu' from arch/x86/kernel/ioport.o' being placed in section `.data..percpu'
ld: warning: orphan section .rodata.str1.1' from arch/x86/kernel/dumpstack.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section .rodata.str1.4' from arch/x86/kernel/dumpstack.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section .smp_locks' from arch/x86/kernel/dumpstack.o' being placed in section `.smp_locks'
ld: warning: orphan section .noinstr.text' from arch/x86/kernel/dumpstack.o' being placed in section `.noinstr.text'
ld: warning: orphan section _kprobe_blacklist' from arch/x86/kernel/dumpstack.o' being placed in section `_kprobe_blacklist'
ld: warning: orphan section .initcall5.init' from arch/x86/kernel/nmi.o' being placed in section `.initcall5.init'
ld: warning: orphan section .export_symbol' from arch/x86/kernel/nmi.o' being placed in section `.export_symbol'
ld: warning: orphan section .init.text' from arch/x86/kernel/nmi.o' being placed in section `.init.text'
ld: warning: orphan section .rodata.str1.1' from arch/x86/kernel/nmi.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section .rodata.str1.4' from arch/x86/kernel/nmi.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section __bug_table' from arch/x86/kernel/nmi.o' being placed in section `__bug_table'
ld: warning: orphan section .noinstr.text' from arch/x86/kernel/nmi.o' being placed in section `.noinstr.text'
ld: warning: orphan section __jump_table' from arch/x86/kernel/nmi.o' being placed in section `__jump_table'
ld: warning: orphan section .smp_locks' from arch/x86/kernel/nmi.o' being placed in section `.smp_locks'
ld: warning: orphan section .altinstructions' from arch/x86/kernel/nmi.o' being placed in section `.altinstructions'
ld: warning: orphan section .altinstr_replacement' from arch/x86/kernel/nmi.o' being placed in section `.altinstr_replacement'
ld: warning: orphan section .altinstr_aux' from arch/x86/kernel/nmi.o' being placed in section `.altinstr_aux'
ld: warning: orphan section .data..percpu' from arch/x86/kernel/nmi.o' being placed in section `.data..percpu'
ld: warning: orphan section _kprobe_blacklist' from arch/x86/kernel/nmi.o' being placed in section `_kprobe_blacklist'
ld: warning: orphan section .discard.addressable' from arch/x86/kernel/nmi.o' being placed in section `.discard.addressable'
ld: warning: orphan section .init.setup' from arch/x86/kernel/nmi.o' being placed in section `.init.setup'
ld: warning: orphan section .init.rodata' from arch/x86/kernel/nmi.o' being placed in section `.init.rodata'
ld: warning: orphan section .data..read_mostly' from arch/x86/kernel/nmi.o' being placed in section `.data..read_mostly'
ld: warning: orphan section .rodata.str1.4' from arch/x86/kernel/ldt.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section .rodata.str1.1' from arch/x86/kernel/ldt.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section __jump_table' from arch/x86/kernel/ldt.o' being placed in section `__jump_table'
ld: warning: orphan section __bug_table' from arch/x86/kernel/ldt.o' being placed in section `__bug_table'
ld: warning: orphan section .altinstructions' from arch/x86/kernel/ldt.o' being placed in section `.altinstructions'
ld: warning: orphan section .altinstr_replacement' from arch/x86/kernel/ldt.o' being placed in section `.altinstr_replacement'
ld: warning: orphan section .altinstr_aux' from arch/x86/kernel/ldt.o' being placed in section `.altinstr_aux'
ld: warning: orphan section alloc_tags' from arch/x86/kernel/ldt.o' being placed in section `alloc_tags'
ld: warning: orphan section .data..percpu' from arch/x86/kernel/ldt.o' being placed in section `.data..percpu'
ld: warning: orphan section .export_symbol' from arch/x86/kernel/setup.o' being placed in section `.export_symbol'
ld: warning: orphan section .initcall3.init' from arch/x86/kernel/setup.o' being placed in section `.initcall3.init'
ld: warning: orphan section .initcall6.init' from arch/x86/kernel/setup.o' being placed in section `.initcall6.init'
ld: warning: orphan section .rodata.str1.1' from arch/x86/kernel/setup.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section .init.text' from arch/x86/kernel/setup.o' being placed in section `.init.text'
ld: warning: orphan section .smp_locks' from arch/x86/kernel/setup.o' being placed in section `.smp_locks'
ld: warning: orphan section .rodata.str1.4' from arch/x86/kernel/setup.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section __bug_table' from arch/x86/kernel/setup.o' being placed in section `__bug_table'
ld: warning: orphan section __ex_table' from arch/x86/kernel/setup.o' being placed in section `__ex_table'
ld: warning: orphan section .discard.addressable' from arch/x86/kernel/setup.o' being placed in section `.discard.addressable'
ld: warning: orphan section .init.data' from arch/x86/kernel/setup.o' being placed in section `.init.data'
ld: warning: orphan section .data..ro_after_init' from arch/x86/kernel/setup.o' being placed in section `.data..ro_after_init'
ld: warning: orphan section .data..read_mostly' from arch/x86/kernel/setup.o' being placed in section `.data..read_mostly'
ld: warning: orphan section .bss..brk' from arch/x86/kernel/setup.o' being placed in section `.bss..brk'
ld: warning: orphan section .export_symbol' from arch/x86/kernel/x86_init.o' being placed in section `.export_symbol'
ld: warning: orphan section .init.text' from arch/x86/kernel/x86_init.o' being placed in section `.init.text'
ld: warning: orphan section .data..ro_after_init' from arch/x86/kernel/x86_init.o' being placed in section `.data..ro_after_init'
ld: warning: orphan section .discard.addressable' from arch/x86/kernel/x86_init.o' being placed in section `.discard.addressable'
ld: warning: orphan section .init.data' from arch/x86/kernel/x86_init.o' being placed in section `.init.data'
ld: warning: orphan section .export_symbol' from arch/x86/kernel/i8259.o' being placed in section `.export_symbol'
ld: warning: orphan section .initcall6.init' from arch/x86/kernel/i8259.o' being placed in section `.initcall6.init'
ld: warning: orphan section .rodata.str1.4' from arch/x86/kernel/i8259.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section .smp_locks' from arch/x86/kernel/i8259.o' being placed in section `.smp_locks'
ld: warning: orphan section .init.text' from arch/x86/kernel/i8259.o' being placed in section `.init.text'
ld: warning: orphan section .rodata.str1.1' from arch/x86/kernel/i8259.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section .discard.addressable' from arch/x86/kernel/i8259.o' being placed in section `.discard.addressable'
ld: warning: orphan section .data..ro_after_init' from arch/x86/kernel/i8259.o' being placed in section `.data..ro_after_init'
ld: warning: orphan section .init.text' from arch/x86/kernel/irqinit.o' being placed in section `.init.text'
ld: warning: orphan section .rodata.str1.1' from arch/x86/kernel/irqinit.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section __bug_table' from arch/x86/kernel/irqinit.o' being placed in section `__bug_table'
ld: warning: orphan section .data..percpu' from arch/x86/kernel/irqinit.o' being placed in section `.data..percpu'
ld: warning: orphan section .rodata.str1.1' from arch/x86/kernel/jump_label.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section __bug_table' from arch/x86/kernel/jump_label.o' being placed in section `__bug_table'
ld: warning: orphan section .rodata.str1.4' from arch/x86/kernel/jump_label.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section .ref.text' from arch/x86/kernel/jump_label.o' being placed in section `.ref.text'
ld: warning: orphan section .noinstr.text' from arch/x86/kernel/irq_work.o' being placed in section `.noinstr.text'
ld: warning: orphan section .export_symbol' from arch/x86/kernel/probe_roms.o' being placed in section `.export_symbol'
ld: warning: orphan section .init.text' from arch/x86/kernel/probe_roms.o' being placed in section `.init.text'
ld: warning: orphan section .discard.addressable' from arch/x86/kernel/probe_roms.o' being placed in section `.discard.addressable'
ld: warning: orphan section .rodata.str1.1' from arch/x86/kernel/probe_roms.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section .initcall3.init' from arch/x86/kernel/ksysfs.o' being placed in section `.initcall3.init'
ld: warning: orphan section .rodata.str1.1' from arch/x86/kernel/ksysfs.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section .rodata.str1.4' from arch/x86/kernel/ksysfs.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section .init.text' from arch/x86/kernel/ksysfs.o' being placed in section `.init.text'
ld: warning: orphan section __jump_table' from arch/x86/kernel/ksysfs.o' being placed in section `__jump_table'
ld: warning: orphan section __bug_table' from arch/x86/kernel/ksysfs.o' being placed in section `__bug_table'
ld: warning: orphan section .discard.addressable' from arch/x86/kernel/ksysfs.o' being placed in section `.discard.addressable'
ld: warning: orphan section alloc_tags' from arch/x86/kernel/ksysfs.o' being placed in section `alloc_tags'
ld: warning: orphan section .data..percpu' from arch/x86/kernel/ksysfs.o' being placed in section `.data..percpu'
ld: warning: orphan section .data..ro_after_init' from arch/x86/kernel/ksysfs.o' being placed in section `.data..ro_after_init'
ld: warning: orphan section .initcall3.init' from arch/x86/kernel/bootflag.o' being placed in section `.initcall3.init'
ld: warning: orphan section .rodata.str1.4' from arch/x86/kernel/bootflag.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section .init.text' from arch/x86/kernel/bootflag.o' being placed in section `.init.text'
ld: warning: orphan section .discard.addressable' from arch/x86/kernel/bootflag.o' being placed in section `.discard.addressable'
ld: warning: orphan section .init.data' from arch/x86/kernel/bootflag.o' being placed in section `.init.data'
ld: warning: orphan section .export_symbol' from arch/x86/kernel/e820.o' being placed in section `.export_symbol'
ld: warning: orphan section .initcall1.init' from arch/x86/kernel/e820.o' being placed in section `.initcall1.init'
ld: warning: orphan section .init.text' from arch/x86/kernel/e820.o' being placed in section `.init.text'
ld: warning: orphan section .rodata.str1.1' from arch/x86/kernel/e820.o' being placed in section `.rodata.str1.1'
ld: warning: orphan section .rodata.str1.4' from arch/x86/kernel/e820.o' being placed in section `.rodata.str1.4'
ld: warning: orphan section __bug_table' from arch/x86/kernel/e820.o' being placed in section `__bug_table'
ld: warning: orphan section __jump_table' from arch/x86/kernel/e820.o' being placed in section `__jump_table'
ld: warning: orphan section .init.data' from arch/x86/kernel/e820.o' being placed in section `.init.data'
ld: warning: orphan section .init.setup' from arch/x86/kernel/e820.o' being placed in section `.init.setup'
ld: warning: orphan section .init.rodata' from arch/x86/kernel/e820.o' being placed in section `.init.rodata'
ld: warning: orphan section .discard.addressable' from arch/x86/kernel/e820.o' being placed in section `.discard.addressable'
..
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for I2C_K1
Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && OF [=n] Selected by [m]:
- MFD_SPACEMIT_P1 [=m] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && I2C [=y]
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
kernel test robot
build botRe: [PATCH v2 2/4] kbuild: Disable AutoFDO and Propeller flags for kernel modules
In reply to [email protected]kernel test robot noticed the following build warnings:
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 9b332cece987ee1790b2ed4c989e28162fa47860]
url: https://github.com/intel-lab-lkp/linux/commits/xur-google-com/kbuild-Fix-Propeller-flags/20251015-031420 base: 9b332cece987ee1790b2ed4c989e28162fa47860 patch link: https://lore.kernel.org/r/20251014191156.3836703-3-xur%40google.com patch subject: [PATCH v2 2/4] kbuild: Disable AutoFDO and Propeller flags for kernel modules
:::::: branch date: 27 hours ago
:::::: commit date: 27 hours ago
config: powerpc-adder875_defconfig (https://download.01.org/0day-ci/archive/20251016/[email protected]/config)
compiler: powerpc-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251016/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/
All warnings (new ones prefixed by >>):
>> powerpc-linux-ld: warning: orphan section `.head.text' from `arch/powerpc/kernel/head_8xx.o' being placed in section `.head.text' powerpc-linux-ld: warning: orphan section `.export_symbol' from `init/main.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.init.text' from `init/main.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `init/main.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `init/main.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.ref.text' from `init/main.o' being placed in section `.ref.text' powerpc-linux-ld: warning: orphan section `.text.unlikely' from `init/main.o' being placed in section `.text.unlikely' powerpc-linux-ld: warning: orphan section `.data..read_mostly' from `init/main.o' being placed in section `.data..read_mostly' powerpc-linux-ld: warning: orphan section `.data..ro_after_init' from `init/main.o' being placed in section `.data..ro_after_init' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `init/main.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.init.data' from `init/main.o' being placed in section `.init.data' powerpc-linux-ld: warning: orphan section `.init.rodata' from `init/main.o' being placed in section `.init.rodata' powerpc-linux-ld: warning: orphan section `.init.setup' from `init/main.o' being placed in section `.init.setup' powerpc-linux-ld: warning: orphan section `__param' from `init/main.o' being placed in section `__param' powerpc-linux-ld: warning: orphan section `.export_symbol' from `init/version.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `init/version.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.init.text' from `init/version.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `init/version.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.init.rodata' from `init/version.o' being placed in section `.init.rodata' powerpc-linux-ld: warning: orphan section `.init.setup' from `init/version.o' being placed in section `.init.setup' powerpc-linux-ld: warning: orphan section `.note.Linux' from `init/version.o' being placed in section `.note.Linux' powerpc-linux-ld: warning: orphan section `.init.text' from `init/do_mounts.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `init/do_mounts.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.text.unlikely' from `init/do_mounts.o' being placed in section `.text.unlikely' powerpc-linux-ld: warning: orphan section `.init.data' from `init/do_mounts.o' being placed in section `.init.data' powerpc-linux-ld: warning: orphan section `.init.rodata' from `init/do_mounts.o' being placed in section `.init.rodata' powerpc-linux-ld: warning: orphan section `.init.setup' from `init/do_mounts.o' being placed in section `.init.setup' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `init/noinitramfs.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.init.text' from `init/noinitramfs.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.initcallrootfs.init' from `init/noinitramfs.o' being placed in section `.initcallrootfs.init' powerpc-linux-ld: warning: orphan section `.export_symbol' from `init/init_task.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `init/init_task.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/cputable.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/cputable.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/cputable.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/cputable.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.data..ro_after_init' from `arch/powerpc/kernel/cputable.o' being placed in section `.data..ro_after_init' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/cputable.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.init.data' from `arch/powerpc/kernel/cputable.o' being placed in section `.init.data' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/irq.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/irq.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/irq.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/irq.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.data..read_mostly' from `arch/powerpc/kernel/irq.o' being placed in section `.data..read_mostly' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/irq.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.static_call_sites' from `arch/powerpc/kernel/irq.o' being placed in section `.static_call_sites' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/align.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/kernel/align.o' being placed in section `__ftr_alt_97' powerpc-linux-ld: warning: orphan section `__mmu_ftr_fixup' from `arch/powerpc/kernel/align.o' being placed in section `__mmu_ftr_fixup' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/kernel/align.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/align.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/kernel/signal_32.o' being placed in section `__ftr_alt_97' powerpc-linux-ld: warning: orphan section `__mmu_ftr_fixup' from `arch/powerpc/kernel/signal_32.o' being placed in section `__mmu_ftr_fixup' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/kernel/signal_32.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/signal_32.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/pmc.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/pmc.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/pmc.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/pmc.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/vdso.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/vdso.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/vdso.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.data..ro_after_init' from `arch/powerpc/kernel/vdso.o' being placed in section `.data..ro_after_init' powerpc-linux-ld: warning: orphan section `.initcall3.init' from `arch/powerpc/kernel/vdso.o' being placed in section `.initcall3.init' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/process.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/kernel/process.o' being placed in section `__ftr_alt_97' powerpc-linux-ld: warning: orphan section `__ftr_fixup' from `arch/powerpc/kernel/process.o' being placed in section `__ftr_fixup' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/process.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/process.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.text.unlikely' from `arch/powerpc/kernel/process.o' being placed in section `.text.unlikely' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/process.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `__mmu_ftr_fixup' from `arch/powerpc/kernel/process.o' being placed in section `__mmu_ftr_fixup' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/kernel/process.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/process.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.init.rodata' from `arch/powerpc/kernel/process.o' being placed in section `.init.rodata' powerpc-linux-ld: warning: orphan section `.init.setup' from `arch/powerpc/kernel/process.o' being placed in section `.init.setup' powerpc-linux-ld: warning: orphan section `.initcallearly.init' from `arch/powerpc/kernel/process.o' being placed in section `.initcallearly.init' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/idle.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/idle.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/idle.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/idle.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.init.rodata' from `arch/powerpc/kernel/idle.o' being placed in section `.init.rodata' powerpc-linux-ld: warning: orphan section `.init.setup' from `arch/powerpc/kernel/idle.o' being placed in section `.init.setup' powerpc-linux-ld: warning: orphan section `.initcall6.init' from `arch/powerpc/kernel/idle.o' being placed in section `.initcall6.init' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/signal.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/signal.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/sysfs.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/sysfs.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/sysfs.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/sysfs.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/sysfs.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.initcall4.init' from `arch/powerpc/kernel/sysfs.o' being placed in section `.initcall4.init' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/cacheinfo.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/cacheinfo.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.data..once' from `arch/powerpc/kernel/cacheinfo.o' being placed in section `.data..once' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/time.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/time.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/time.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.data..once' from `arch/powerpc/kernel/time.o' being placed in section `.data..once' powerpc-linux-ld: warning: orphan section `.data..read_mostly' from `arch/powerpc/kernel/time.o' being placed in section `.data..read_mostly' powerpc-linux-ld: warning: orphan section `.data..ro_after_init' from `arch/powerpc/kernel/time.o' being placed in section `.data..ro_after_init' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/time.o' being placed in section `.discard.addressable' >> powerpc-linux-ld: warning: orphan section `.initcall6.init' from `arch/powerpc/kernel/time.o' being placed in section `.initcall6.init' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/prom.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/prom.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/prom.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/prom.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/prom.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.init.data' from `arch/powerpc/kernel/prom.o' being placed in section `.init.data' powerpc-linux-ld: warning: orphan section `.init.rodata' from `arch/powerpc/kernel/prom.o' being placed in section `.init.rodata' powerpc-linux-ld: warning: orphan section `.init.setup' from `arch/powerpc/kernel/prom.o' being placed in section `.init.setup' powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/kernel/traps.o' being placed in section `__ftr_alt_97' powerpc-linux-ld: warning: orphan section `__mmu_ftr_fixup' from `arch/powerpc/kernel/traps.o' being placed in section `__mmu_ftr_fixup' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/kernel/traps.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/traps.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/traps.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.noinstr.text' from `arch/powerpc/kernel/traps.o' being placed in section `.noinstr.text' powerpc-linux-ld: warning: orphan section `.text.unlikely' from `arch/powerpc/kernel/traps.o' being placed in section `.text.unlikely' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/setup-common.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/setup-common.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.text.unlikely' from `arch/powerpc/kernel/setup-common.o' being placed in section `.text.unlikely' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/setup-common.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/setup-common.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.init.data' from `arch/powerpc/kernel/setup-common.o' being placed in section `.init.data' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/udbg.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/udbg.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/misc.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/io.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/io.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/misc_32.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/misc_32.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/prom_parse.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/kernel/hw_breakpoint_constraints.o' being placed in section `__ftr_alt_97' powerpc-linux-ld: warning: orphan section `__mmu_ftr_fixup' from `arch/powerpc/kernel/hw_breakpoint_constraints.o' being placed in section `__mmu_ftr_fixup' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/kernel/hw_breakpoint_constraints.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/interrupt.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/interrupt.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/kdebugfs.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/kdebugfs.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/kdebugfs.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/kdebugfs.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.initcall3.init' from `arch/powerpc/kernel/kdebugfs.o' being placed in section `.initcall3.init' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/syscall.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/syscall.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/kernel/ptrace/ptrace.o' being placed in section `__ftr_alt_97' powerpc-linux-ld: warning: orphan section `__mmu_ftr_fixup' from `arch/powerpc/kernel/ptrace/ptrace.o' being placed in section `__mmu_ftr_fixup' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/kernel/ptrace/ptrace.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/ptrace/ptrace.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/ptrace/ptrace-view.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/kernel/ptrace/ptrace-view.o' being placed in section `__ftr_alt_97' powerpc-linux-ld: warning: orphan section `__mmu_ftr_fixup' from `arch/powerpc/kernel/ptrace/ptrace-view.o' being placed in section `__mmu_ftr_fixup' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/kernel/ptrace/ptrace-view.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/ptrace/ptrace-view.o' being placed in section `__bug_table' >> powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/kernel/ptrace/ptrace-noadv.o' being placed in section `__ftr_alt_97' >> powerpc-linux-ld: warning: orphan section `__mmu_ftr_fixup' from `arch/powerpc/kernel/ptrace/ptrace-noadv.o' being placed in section `__mmu_ftr_fixup' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/kernel/ptrace/ptrace-noadv.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `.data..ro_after_init' from `arch/powerpc/kernel/vdso32_wrapper.o' being placed in section `.data..ro_after_init' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/proc_powerpc.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/proc_powerpc.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.initcall1.init' from `arch/powerpc/kernel/proc_powerpc.o' being placed in section `.initcall1.init' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/kernel/entry_32.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/kernel/entry_32.o' being placed in section `__ftr_alt_97' powerpc-linux-ld: warning: orphan section `__ftr_fixup' from `arch/powerpc/kernel/entry_32.o' being placed in section `__ftr_fixup' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/setup_32.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/setup_32.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/setup_32.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.data..ro_after_init' from `arch/powerpc/kernel/setup_32.o' being placed in section `.data..ro_after_init' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/setup_32.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.init.rodata' from `arch/powerpc/kernel/setup_32.o' being placed in section `.init.rodata' powerpc-linux-ld: warning: orphan section `.init.setup' from `arch/powerpc/kernel/setup_32.o' being placed in section `.init.setup' powerpc-linux-ld: warning: orphan section `.initcall3.init' from `arch/powerpc/kernel/setup_32.o' being placed in section `.initcall3.init' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/kernel/early_32.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/static_call.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/kernel/static_call.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/static_call.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/kernel/iomap.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/kernel/iomap.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/fault.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.text.unlikely' from `arch/powerpc/mm/fault.o' being placed in section `.text.unlikely' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/mm/fault.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/mm/mem.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/mem.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/mm/mem.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/mm/mem.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.bss..page_aligned' from `arch/powerpc/mm/mem.o' being placed in section `.bss..page_aligned' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/mm/mem.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.init.data' from `arch/powerpc/mm/mem.o' being placed in section `.init.data' powerpc-linux-ld: warning: orphan section `.initcall4.init' from `arch/powerpc/mm/mem.o' being placed in section `.initcall4.init' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/mm/pgtable.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/pgtable.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/mm/pgtable.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.bss..page_aligned' from `arch/powerpc/mm/pgtable.o' being placed in section `.bss..page_aligned' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/mm/pgtable.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/pageattr.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/mm/pageattr.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/init_32.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/mm/init_32.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/mm/pgtable_32.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/pgtable_32.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.ref.text' from `arch/powerpc/mm/pgtable_32.o' being placed in section `.ref.text' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/mm/pgtable_32.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.data..page_aligned' from `arch/powerpc/mm/pgtable_32.o' being placed in section `.data..page_aligned' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/pgtable-frag.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/mm/pgtable-frag.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/mm/ioremap.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/ioremap.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/mm/ioremap.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/mm/ioremap.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/mm/ioremap_32.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/ioremap_32.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/mm/ioremap_32.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/mm/init-common.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/mm/init-common.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/init-common.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/mm/init-common.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.data..ro_after_init' from `arch/powerpc/mm/init-common.o' being placed in section `.data..ro_after_init' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/mm/init-common.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.init.rodata' from `arch/powerpc/mm/init-common.o' being placed in section `.init.rodata' powerpc-linux-ld: warning: orphan section `.init.setup' from `arch/powerpc/mm/init-common.o' being placed in section `.init.setup' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/drmem.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.text.unlikely' from `arch/powerpc/mm/drmem.o' being placed in section `.text.unlikely' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/mm/drmem.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.initcall7.init' from `arch/powerpc/mm/drmem.o' being placed in section `.initcall7.init' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/mm/cacheflush.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/cacheflush.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/mm/cacheflush.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/mm/cacheflush.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/nohash/mmu_context.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/mm/nohash/mmu_context.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/mm/nohash/mmu_context.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/mm/nohash/tlb.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/mm/nohash/tlb.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/mm/nohash/tlb.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/nohash/kup.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/mm/nohash/kup.o' being placed in section `__ftr_alt_97' powerpc-linux-ld: warning: orphan section `__mmu_ftr_fixup' from `arch/powerpc/mm/nohash/kup.o' being placed in section `__mmu_ftr_fixup' >> powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/nohash/8xx.o' being placed in section `.rodata.str1.4' >> powerpc-linux-ld: warning: orphan section `.ref.text' from `arch/powerpc/mm/nohash/8xx.o' being placed in section `.ref.text' >> powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/mm/nohash/8xx.o' being placed in section `__bug_table' >> powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/mm/nohash/8xx.o' being placed in section `.init.text' >> powerpc-linux-ld: warning: orphan section `.init.data' from `arch/powerpc/mm/nohash/8xx.o' being placed in section `.init.data' >> powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/mm/hugetlbpage.o' being placed in section `.init.text' >> powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/hugetlbpage.o' being placed in section `.rodata.str1.4' >> powerpc-linux-ld: warning: orphan section `.initcall3.init' from `arch/powerpc/mm/hugetlbpage.o' being placed in section `.initcall3.init' >> powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/mm/dma-noncoherent.o' being placed in section `.rodata.str1.4' >> powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/mm/dma-noncoherent.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/lib/code-patching.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/lib/code-patching.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/lib/code-patching.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/lib/code-patching.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.data..once' from `arch/powerpc/lib/code-patching.o' being placed in section `.data..once' powerpc-linux-ld: warning: orphan section `.data..ro_after_init' from `arch/powerpc/lib/code-patching.o' being placed in section `.data..ro_after_init' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/lib/feature-fixups.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/lib/feature-fixups.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/lib/feature-fixups.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/lib/feature-fixups.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.data..read_mostly' from `arch/powerpc/lib/feature-fixups.o' being placed in section `.data..read_mostly' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/lib/feature-fixups.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.init.data' from `arch/powerpc/lib/feature-fixups.o' being placed in section `.init.data' powerpc-linux-ld: warning: orphan section `.initcall7.init' from `arch/powerpc/lib/feature-fixups.o' being placed in section `.initcall7.init' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/lib/pmem.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/lib/pmem.o' being placed in section `__ftr_alt_97' powerpc-linux-ld: warning: orphan section `__mmu_ftr_fixup' from `arch/powerpc/lib/pmem.o' being placed in section `__mmu_ftr_fixup' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/lib/pmem.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/lib/string.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/lib/memcmp_32.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/lib/strlen_32.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/lib/copy_32.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/lib/copy_32.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/lib/checksum_32.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/lib/checksum_32.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/lib/checksum_wrappers.o' being placed in section `__ftr_alt_97' powerpc-linux-ld: warning: orphan section `__mmu_ftr_fixup' from `arch/powerpc/lib/checksum_wrappers.o' being placed in section `__mmu_ftr_fixup' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/lib/string_32.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/lib/string_32.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/lib/sstep.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `__ftr_alt_97' from `arch/powerpc/lib/sstep.o' being placed in section `__ftr_alt_97' powerpc-linux-ld: warning: orphan section `__mmu_ftr_fixup' from `arch/powerpc/lib/sstep.o' being placed in section `__mmu_ftr_fixup' powerpc-linux-ld: warning: orphan section `__ex_table' from `arch/powerpc/lib/sstep.o' being placed in section `__ex_table' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/lib/sstep.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/lib/sstep.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/lib/sstep.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.export_symbol' from `arch/powerpc/sysdev/fsl_soc.o' being placed in section `.export_symbol' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/sysdev/fsl_soc.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.discard.addressable' from `arch/powerpc/sysdev/fsl_soc.o' being placed in section `.discard.addressable' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/sysdev/fsl_mpic_err.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `__bug_table' from `arch/powerpc/sysdev/fsl_mpic_err.o' being placed in section `__bug_table' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/sysdev/fsl_mpic_err.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/sysdev/cpm_common.o' being placed in section `.rodata.str1.4' powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/sysdev/cpm_common.o' being placed in section `.init.text' powerpc-linux-ld: warning: orphan section `.initcall4.init' from `arch/powerpc/sysdev/cpm_common.o' being placed in section `.initcall4.init' >> powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/platforms/8xx/m8xx_setup.o' being placed in section `.rodata.str1.4' >> powerpc-linux-ld: warning: orphan section `.text.unlikely' from `arch/powerpc/platforms/8xx/m8xx_setup.o' being placed in section `.text.unlikely' >> powerpc-linux-ld: warning: orphan section `.init.text' from `arch/powerpc/platforms/8xx/m8xx_setup.o' being placed in section `.init.text' >> powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/platforms/8xx/machine_check.o' being placed in section `.rodata.str1.4' >> powerpc-linux-ld: warning: orphan section `.text.unlikely' from `arch/powerpc/platforms/8xx/machine_check.o' being placed in section `.text.unlikely' >> powerpc-linux-ld: warning: orphan section `.rodata.str1.4' from `arch/powerpc/platforms/8xx/pic.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section .init.text' from arch/powerpc/platforms/8xx/pic.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section .export_symbol' from arch/powerpc/platforms/8xx/cpm1.o' being placed in section `.export_symbol'
powerpc-linux-ld: warning: orphan section .init.text' from arch/powerpc/platforms/8xx/cpm1.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section .rodata.str1.4' from arch/powerpc/platforms/8xx/cpm1.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section .discard.addressable' from arch/powerpc/platforms/8xx/cpm1.o' being placed in section `.discard.addressable'
powerpc-linux-ld: warning: orphan section .init.text' from arch/powerpc/platforms/8xx/cpm1-ic.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section .rodata.str1.4' from arch/powerpc/platforms/8xx/cpm1-ic.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section .initcall3.init' from arch/powerpc/platforms/8xx/cpm1-ic.o' being placed in section `.initcall3.init'
powerpc-linux-ld: warning: orphan section .initcall4.init' from arch/powerpc/platforms/8xx/cpm1-ic.o' being placed in section `.initcall4.init'
powerpc-linux-ld: warning: orphan section .export_symbol' from arch/powerpc/platforms/8xx/adder875.o' being placed in section `.export_symbol'
powerpc-linux-ld: warning: orphan section .init.text' from arch/powerpc/platforms/8xx/adder875.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section .rodata.str1.4' from arch/powerpc/platforms/8xx/adder875.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section __bug_table' from arch/powerpc/platforms/8xx/adder875.o' being placed in section `__bug_table'
powerpc-linux-ld: warning: orphan section .discard.addressable' from arch/powerpc/platforms/8xx/adder875.o' being placed in section `.discard.addressable'
powerpc-linux-ld: warning: orphan section .init.data' from arch/powerpc/platforms/8xx/adder875.o' being placed in section `.init.data'
powerpc-linux-ld: warning: orphan section .init.rodata' from arch/powerpc/platforms/8xx/adder875.o' being placed in section `.init.rodata'
powerpc-linux-ld: warning: orphan section .initcall6.init' from arch/powerpc/platforms/8xx/adder875.o' being placed in section `.initcall6.init'
powerpc-linux-ld: warning: orphan section .machine.desc' from arch/powerpc/platforms/8xx/adder875.o' being placed in section `.machine.desc'
powerpc-linux-ld: warning: orphan section .export_symbol' from kernel/fork.o' being placed in section `.export_symbol'
powerpc-linux-ld: warning: orphan section .rodata.str1.4' from kernel/fork.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section __bug_table' from kernel/fork.o' being placed in section `__bug_table'
powerpc-linux-ld: warning: orphan section .init.text' from kernel/fork.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section __ftr_alt_97' from kernel/fork.o' being placed in section `__ftr_alt_97'
powerpc-linux-ld: warning: orphan section __mmu_ftr_fixup' from kernel/fork.o' being placed in section `__mmu_ftr_fixup'
powerpc-linux-ld: warning: orphan section __ex_table' from kernel/fork.o' being placed in section `__ex_table'
powerpc-linux-ld: warning: orphan section .text.unlikely' from kernel/fork.o' being placed in section `.text.unlikely'
powerpc-linux-ld: warning: orphan section .data..cacheline_aligned' from kernel/fork.o' being placed in section `.data..cacheline_aligned'
powerpc-linux-ld: warning: orphan section .data..once' from kernel/fork.o' being placed in section `.data..once'
powerpc-linux-ld: warning: orphan section .discard.addressable' from kernel/fork.o' being placed in section `.discard.addressable'
powerpc-linux-ld: warning: orphan section .init.rodata' from kernel/fork.o' being placed in section `.init.rodata'
powerpc-linux-ld: warning: orphan section .init.setup' from kernel/fork.o' being placed in section `.init.setup'
powerpc-linux-ld: warning: orphan section .initcall4.init' from kernel/fork.o' being placed in section `.initcall4.init'
powerpc-linux-ld: warning: orphan section .rodata.str1.4' from kernel/exec_domain.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section .init.text' from kernel/exec_domain.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section .initcall6.init' from kernel/exec_domain.o' being placed in section `.initcall6.init'
powerpc-linux-ld: warning: orphan section .export_symbol' from kernel/panic.o' being placed in section `.export_symbol'
powerpc-linux-ld: warning: orphan section .rodata.str1.4' from kernel/panic.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section .init.text' from kernel/panic.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section .text.unlikely' from kernel/panic.o' being placed in section `.text.unlikely'
powerpc-linux-ld: warning: orphan section __bug_table' from kernel/panic.o' being placed in section `__bug_table'
powerpc-linux-ld: warning: orphan section .noinstr.text' from kernel/panic.o' being placed in section `.noinstr.text'
powerpc-linux-ld: warning: orphan section __ftr_alt_97' from kernel/panic.o' being placed in section `__ftr_alt_97'
powerpc-linux-ld: warning: orphan section __mmu_ftr_fixup' from kernel/panic.o' being placed in section `__mmu_ftr_fixup'
powerpc-linux-ld: warning: orphan section .data..once' from kernel/panic.o' being placed in section `.data..once'
powerpc-linux-ld: warning: orphan section .data..read_mostly' from kernel/panic.o' being placed in section `.data..read_mostly'
powerpc-linux-ld: warning: orphan section .discard.addressable' from kernel/panic.o' being placed in section `.discard.addressable'
powerpc-linux-ld: warning: orphan section .init.rodata' from kernel/panic.o' being placed in section `.init.rodata'
powerpc-linux-ld: warning: orphan section .init.setup' from kernel/panic.o' being placed in section `.init.setup'
powerpc-linux-ld: warning: orphan section .initcall6.init' from kernel/panic.o' being placed in section `.initcall6.init'
powerpc-linux-ld: warning: orphan section .initcall7.init' from kernel/panic.o' being placed in section `.initcall7.init'
powerpc-linux-ld: warning: orphan section __param' from kernel/panic.o' being placed in section `__param'
powerpc-linux-ld: warning: orphan section .export_symbol' from kernel/cpu.o' being placed in section `.export_symbol'
powerpc-linux-ld: warning: orphan section .rodata.str1.4' from kernel/cpu.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section .init.text' from kernel/cpu.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section __bug_table' from kernel/cpu.o' being placed in section `__bug_table'
powerpc-linux-ld: warning: orphan section .text.unlikely' from kernel/cpu.o' being placed in section `.text.unlikely'
powerpc-linux-ld: warning: orphan section .data..once' from kernel/cpu.o' being placed in section `.data..once'
powerpc-linux-ld: warning: orphan section .data..read_mostly' from kernel/cpu.o' being placed in section `.data..read_mostly'
powerpc-linux-ld: warning: orphan section .data..ro_after_init' from kernel/cpu.o' being placed in section `.data..ro_after_init'
powerpc-linux-ld: warning: orphan section .discard.addressable' from kernel/cpu.o' being placed in section `.discard.addressable'
powerpc-linux-ld: warning: orphan section .init.rodata' from kernel/cpu.o' being placed in section `.init.rodata'
powerpc-linux-ld: warning: orphan section .init.setup' from kernel/cpu.o' being placed in section `.init.setup'
powerpc-linux-ld: warning: orphan section .export_symbol' from kernel/exit.o' being placed in section `.export_symbol'
powerpc-linux-ld: warning: orphan section .rodata.str1.4' from kernel/exit.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section .init.text' from kernel/exit.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section .text.unlikely' from kernel/exit.o' being placed in section `.text.unlikely'
powerpc-linux-ld: warning: orphan section __bug_table' from kernel/exit.o' being placed in section `__bug_table'
powerpc-linux-ld: warning: orphan section __ftr_alt_97' from kernel/exit.o' being placed in section `__ftr_alt_97'
powerpc-linux-ld: warning: orphan section __mmu_ftr_fixup' from kernel/exit.o' being placed in section `__mmu_ftr_fixup'
powerpc-linux-ld: warning: orphan section __ex_table' from kernel/exit.o' being placed in section `__ex_table'
powerpc-linux-ld: warning: orphan section .discard.addressable' from kernel/exit.o' being placed in section `.discard.addressable'
powerpc-linux-ld: warning: orphan section .initcall7.init' from kernel/exit.o' being placed in section `.initcall7.init'
powerpc-linux-ld: warning: orphan section .export_symbol' from kernel/softirq.o' being placed in section `.export_symbol'
powerpc-linux-ld: warning: orphan section .rodata.str1.4' from kernel/softirq.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section .init.text' from kernel/softirq.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section __bug_table' from kernel/softirq.o' being placed in section `__bug_table'
powerpc-linux-ld: warning: orphan section .softirqentry.text' from kernel/softirq.o' being placed in section `.softirqentry.text'
powerpc-linux-ld: warning: orphan section .data..once' from kernel/softirq.o' being placed in section `.data..once'
powerpc-linux-ld: warning: orphan section .discard.addressable' from kernel/softirq.o' being placed in section `.discard.addressable'
powerpc-linux-ld: warning: orphan section .initcallearly.init' from kernel/softirq.o' being placed in section `.initcallearly.init'
powerpc-linux-ld: warning: orphan section .export_symbol' from kernel/resource.o' being placed in section `.export_symbol'
powerpc-linux-ld: warning: orphan section .rodata.str1.4' from kernel/resource.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section .init.text' from kernel/resource.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section __bug_table' from kernel/resource.o' being placed in section `__bug_table'
powerpc-linux-ld: warning: orphan section .discard.addressable' from kernel/resource.o' being placed in section `.discard.addressable'
powerpc-linux-ld: warning: orphan section .init.rodata' from kernel/resource.o' being placed in section `.init.rodata'
powerpc-linux-ld: warning: orphan section .init.setup' from kernel/resource.o' being placed in section `.init.setup'
powerpc-linux-ld: warning: orphan section .initcall5.init' from kernel/resource.o' being placed in section `.initcall5.init'
powerpc-linux-ld: warning: orphan section .initcall6.init' from kernel/resource.o' being placed in section `.initcall6.init'
powerpc-linux-ld: warning: orphan section .export_symbol' from kernel/sysctl.o' being placed in section `.export_symbol'
powerpc-linux-ld: warning: orphan section .rodata.str1.4' from kernel/sysctl.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section __bug_table' from kernel/sysctl.o' being placed in section `__bug_table'
powerpc-linux-ld: warning: orphan section .init.text' from kernel/sysctl.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section .data..once' from kernel/sysctl.o' being placed in section `.data..once'
powerpc-linux-ld: warning: orphan section .discard.addressable' from kernel/sysctl.o' being placed in section `.discard.addressable'
powerpc-linux-ld: warning: orphan section .export_symbol' from kernel/capability.o' being placed in section `.export_symbol'
powerpc-linux-ld: warning: orphan section .init.text' from kernel/capability.o' being placed in section `.init.text'
powerpc-linux-ld: warning: orphan section .rodata.str1.4' from kernel/capability.o' being placed in section `.rodata.str1.4'
powerpc-linux-ld: warning: orphan section __ftr_alt_97' from kernel/capability.o' being placed in section `__ftr_alt_97'
powerpc-linux-ld: warning: orphan section __mmu_ftr_fixup' from kernel/capability.o' being placed in section `__mmu_ftr_fixup'
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
[email protected]
maintainerPATCH v2 3/4 kbuild: Remove MFS flags from Propeller profile generate builds
In reply to [email protected]From: Rong Xu <[email protected]>
Propeller profile generation requires Machine Function Splitter (MFS) to be disabled.
--- scripts/Makefile.propeller | 8 ++++++++ 1 file changed, 8 insertions(+)
scripts/Makefile.propeller +8 -0
@@ -13,8 +13,14 @@ else else CFLAGS_PROPELLER_CLANG := -fbasic-block-sections=labels endif + # Disable Machine Function Splitter for Propeller. + # Propeller profile generation requires Machine Function Splitter to be disabled. + # We use -fno-split-machine-functions to override any prior AutoFDO/PGO flags + #(in Makefile.lib), assuming Propeller options are applied afterward. + CFLAGS_PROPELLER_CLANG += -fno-split-machine-functions endif + # Propeller requires debug information to embed module names in the profiles. # If CONFIG_DEBUG_INFO is not enabled, set -gmlt option. Skip this for AutoFDO, # as the option should already be set.
@@ -33,6 +39,8 @@ ifdef CONFIG_LTO_CLANG_THIN else _ldflags_propeller += --lto-basic-block-sections=labels endif + # Again, we need to disable Machine Function Splitter. + LDFLAGS_vmlinux := $(filter-out -plugin-opt=-split-machine-functions, $(LDFLAGS_vmlinux)) endif endif
Signature · 1 line
2.51.0.788.g6d19910ace-goog
[email protected]
maintainerPATCH v2 4/4 kbuild: Add config to assert profile accuracy for aggressive optimization
In reply to [email protected]From: Rong Xu <[email protected]>
Adds a build config to AutoFDO to assert that the generated profile accurately represents the intended workload. This enables Clang to perform more aggressive optimizations.
--- arch/Kconfig | 11 +++++++++++ scripts/Makefile.autofdo | 3 +++ 2 files changed, 14 insertions(+)
arch/Kconfig +11 -0
@@ -886,6 +886,17 @@ config AUTOFDO_CLANG If unsure, say N. +config AUTOFDO_PROFILE_ACCURATE + bool "Assert AutoFDO profile is accurate (EXPERIMENTAL)" + depends on AUTOFDO_CLANG + help + This option asserts that the AutoFDO profile (specified + in CLANG_AUTOFDO_PROFILE) is collected from a representative + workload, allowing the Clang compiler to perform more + aggressive optimizations. + + If unsure, say N. + config ARCH_SUPPORTS_PROPELLER_CLANG bool
scripts/Makefile.autofdo +3 -0
@@ -11,6 +11,9 @@ endif ifdef CLANG_AUTOFDO_PROFILE CFLAGS_AUTOFDO_CLANG += -fprofile-sample-use=$(CLANG_AUTOFDO_PROFILE) -ffunction-sections CFLAGS_AUTOFDO_CLANG += -fsplit-machine-functions +ifdef CONFIG_AUTOFDO_PROFILE_ACCURATE + CFLAGS_AUTOFDO_CLANG += -fprofile-sample-accurate +endif endif ifdef CONFIG_LTO_CLANG_THIN
Signature · 1 line
2.51.0.788.g6d19910ace-goog
Han Shen
maintainerRe: [PATCH v2 4/4] kbuild: Add config to assert profile accuracy for aggressive optimization
I've verified patches 1-4, with the following configuration on X86_64 systems:
1. autofdo without profile (nothinlto)
2. autofdo with profile (nothinlto)
3. propeller only (noautofdo no thinlto) annotated
4. propeller only optimized (noautofdo nothinlto)
All the kernels boot up successfully.
Thanks,
Han
Quoted 50 lines · On Tue, Oct 14, 2025 at 12:12 PM <[email protected]> wrote:
From: Rong Xu <[email protected]>
Adds a build config to AutoFDO to assert that the generated profile accurately represents the intended workload. This enables Clang to perform more aggressive optimizations.
Signed-off-by Rong Xu <[email protected]>--- arch/Kconfig | 11 +++++++++++ scripts/Makefile.autofdo | 3 +++ 2 files changed, 14 insertions(+)arch/Kconfig +11
-0@@ -886,6 +886,17 @@ config AUTOFDO_CLANG If unsure, say N. +config AUTOFDO_PROFILE_ACCURATE + bool "Assert AutoFDO profile is accurate (EXPERIMENTAL)" + depends on AUTOFDO_CLANG + help + This option asserts that the AutoFDO profile (specified + in CLANG_AUTOFDO_PROFILE) is collected from a representative + workload, allowing the Clang compiler to perform more + aggressive optimizations. + + If unsure, say N. + config ARCH_SUPPORTS_PROPELLER_CLANG boolscripts/Makefile.autofdo +3
-1@@ -11,6 +11,9 @@ endif ifdef CLANG_AUTOFDO_PROFILE CFLAGS_AUTOFDO_CLANG += -fprofile-sample-use=$(CLANG_AUTOFDO_PROFILE) -ffunction-sections CFLAGS_AUTOFDO_CLANG += -fsplit-machine-functions +ifdef CONFIG_AUTOFDO_PROFILE_ACCURATE + CFLAGS_AUTOFDO_CLANG += -fprofile-sample-accurate +endif endif ifdef CONFIG_LTO_CLANG_THIN --
Quoted 2 lines
2.51.0.788.g6d19910ace-goog
--
Han Shen | Software Engineer | [email protected] | Sunnyvale California