* ld.lld: error: Cannot export BSS symbol __inittext_end to startup code
@ 2025-06-14 22:13 kernel test robot
2025-06-16 17:50 ` Nathan Chancellor
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2025-06-14 22:13 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: llvm, oe-kbuild-all, linux-kernel, Will Deacon
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8c6bc74c7f8910ed4c969ccec52e98716f98700a
commit: dc0a083948040ff364d065da8bb50c29f77a39ad arm64: Work around convergence issue with LLD linker
date: 12 days ago
config: arm64-randconfig-004-20250615 (https://download.01.org/0day-ci/archive/20250615/202506150602.qswx7ZzQ-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250615/202506150602.qswx7ZzQ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506150602.qswx7ZzQ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: Cannot export BSS symbol id_aa64isar1_override to startup code
>> ld.lld: error: Cannot export BSS symbol id_aa64isar2_override to startup code
>> ld.lld: error: Cannot export BSS symbol id_aa64mmfr0_override to startup code
>> ld.lld: error: Cannot export BSS symbol id_aa64mmfr1_override to startup code
>> ld.lld: error: Cannot export BSS symbol id_aa64mmfr2_override to startup code
>> ld.lld: error: Cannot export BSS symbol id_aa64pfr0_override to startup code
>> ld.lld: error: Cannot export BSS symbol id_aa64pfr1_override to startup code
>> ld.lld: error: Cannot export BSS symbol id_aa64smfr0_override to startup code
>> ld.lld: error: Cannot export BSS symbol id_aa64zfr0_override to startup code
>> ld.lld: error: Cannot export BSS symbol arm64_sw_feature_override to startup code
>> ld.lld: error: Cannot export BSS symbol arm64_use_ng_mappings to startup code
>> ld.lld: error: Cannot export BSS symbol _ctype to startup code
>> ld.lld: error: Cannot export BSS symbol swapper_pg_dir to startup code
>> ld.lld: error: Cannot export BSS symbol _etext to startup code
>> ld.lld: error: Cannot export BSS symbol __start_rodata to startup code
>> ld.lld: error: Cannot export BSS symbol __inittext_begin to startup code
>> ld.lld: error: Cannot export BSS symbol __inittext_end to startup code
>> ld.lld: error: Cannot export BSS symbol __initdata_begin to startup code
>> ld.lld: error: Cannot export BSS symbol __initdata_end to startup code
>> ld.lld: error: Cannot export BSS symbol _data to startup code
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ld.lld: error: Cannot export BSS symbol __inittext_end to startup code
2025-06-14 22:13 ld.lld: error: Cannot export BSS symbol __inittext_end to startup code kernel test robot
@ 2025-06-16 17:50 ` Nathan Chancellor
2025-06-17 0:47 ` Philip Li
0 siblings, 1 reply; 3+ messages in thread
From: Nathan Chancellor @ 2025-06-16 17:50 UTC (permalink / raw)
To: kernel test robot
Cc: Ard Biesheuvel, llvm, oe-kbuild-all, linux-kernel, Will Deacon
On Sun, Jun 15, 2025 at 06:13:33AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 8c6bc74c7f8910ed4c969ccec52e98716f98700a
> commit: dc0a083948040ff364d065da8bb50c29f77a39ad arm64: Work around convergence issue with LLD linker
> date: 12 days ago
> config: arm64-randconfig-004-20250615 (https://download.01.org/0day-ci/archive/20250615/202506150602.qswx7ZzQ-lkp@intel.com/config)
> compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250615/202506150602.qswx7ZzQ-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202506150602.qswx7ZzQ-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> ld.lld: error: Cannot export BSS symbol id_aa64isar1_override to startup code
> >> ld.lld: error: Cannot export BSS symbol id_aa64isar2_override to startup code
> >> ld.lld: error: Cannot export BSS symbol id_aa64mmfr0_override to startup code
> >> ld.lld: error: Cannot export BSS symbol id_aa64mmfr1_override to startup code
> >> ld.lld: error: Cannot export BSS symbol id_aa64mmfr2_override to startup code
> >> ld.lld: error: Cannot export BSS symbol id_aa64pfr0_override to startup code
> >> ld.lld: error: Cannot export BSS symbol id_aa64pfr1_override to startup code
> >> ld.lld: error: Cannot export BSS symbol id_aa64smfr0_override to startup code
> >> ld.lld: error: Cannot export BSS symbol id_aa64zfr0_override to startup code
> >> ld.lld: error: Cannot export BSS symbol arm64_sw_feature_override to startup code
> >> ld.lld: error: Cannot export BSS symbol arm64_use_ng_mappings to startup code
> >> ld.lld: error: Cannot export BSS symbol _ctype to startup code
> >> ld.lld: error: Cannot export BSS symbol swapper_pg_dir to startup code
> >> ld.lld: error: Cannot export BSS symbol _etext to startup code
> >> ld.lld: error: Cannot export BSS symbol __start_rodata to startup code
> >> ld.lld: error: Cannot export BSS symbol __inittext_begin to startup code
> >> ld.lld: error: Cannot export BSS symbol __inittext_end to startup code
> >> ld.lld: error: Cannot export BSS symbol __initdata_begin to startup code
> >> ld.lld: error: Cannot export BSS symbol __initdata_end to startup code
> >> ld.lld: error: Cannot export BSS symbol _data to startup code
This version of ld.lld is from early April, which does not contain
Fangrui's fix [1], so this is expected given the stubbing out of ASSERT
that Ard did in commit e21560b7d33c ("arm64: Disable LLD linker
ASSERT()s for the time being") does not happen due to the version.
Please upgrade to a newer version of LLVM main to avoid triggering this,
I can confirm that I do not see an error with a current version.
[1]: https://github.com/llvm/llvm-project/commit/5859863bab7f
Cheers,
Nathan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ld.lld: error: Cannot export BSS symbol __inittext_end to startup code
2025-06-16 17:50 ` Nathan Chancellor
@ 2025-06-17 0:47 ` Philip Li
0 siblings, 0 replies; 3+ messages in thread
From: Philip Li @ 2025-06-17 0:47 UTC (permalink / raw)
To: Nathan Chancellor
Cc: kernel test robot, Ard Biesheuvel, llvm, oe-kbuild-all,
linux-kernel, Will Deacon
On Mon, Jun 16, 2025 at 10:50:26AM -0700, Nathan Chancellor wrote:
> On Sun, Jun 15, 2025 at 06:13:33AM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: 8c6bc74c7f8910ed4c969ccec52e98716f98700a
> > commit: dc0a083948040ff364d065da8bb50c29f77a39ad arm64: Work around convergence issue with LLD linker
> > date: 12 days ago
> > config: arm64-randconfig-004-20250615 (https://download.01.org/0day-ci/archive/20250615/202506150602.qswx7ZzQ-lkp@intel.com/config)
> > compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250615/202506150602.qswx7ZzQ-lkp@intel.com/reproduce)
> >
> > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@intel.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202506150602.qswx7ZzQ-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > >> ld.lld: error: Cannot export BSS symbol id_aa64isar1_override to startup code
> > >> ld.lld: error: Cannot export BSS symbol id_aa64isar2_override to startup code
> > >> ld.lld: error: Cannot export BSS symbol id_aa64mmfr0_override to startup code
> > >> ld.lld: error: Cannot export BSS symbol id_aa64mmfr1_override to startup code
> > >> ld.lld: error: Cannot export BSS symbol id_aa64mmfr2_override to startup code
> > >> ld.lld: error: Cannot export BSS symbol id_aa64pfr0_override to startup code
> > >> ld.lld: error: Cannot export BSS symbol id_aa64pfr1_override to startup code
> > >> ld.lld: error: Cannot export BSS symbol id_aa64smfr0_override to startup code
> > >> ld.lld: error: Cannot export BSS symbol id_aa64zfr0_override to startup code
> > >> ld.lld: error: Cannot export BSS symbol arm64_sw_feature_override to startup code
> > >> ld.lld: error: Cannot export BSS symbol arm64_use_ng_mappings to startup code
> > >> ld.lld: error: Cannot export BSS symbol _ctype to startup code
> > >> ld.lld: error: Cannot export BSS symbol swapper_pg_dir to startup code
> > >> ld.lld: error: Cannot export BSS symbol _etext to startup code
> > >> ld.lld: error: Cannot export BSS symbol __start_rodata to startup code
> > >> ld.lld: error: Cannot export BSS symbol __inittext_begin to startup code
> > >> ld.lld: error: Cannot export BSS symbol __inittext_end to startup code
> > >> ld.lld: error: Cannot export BSS symbol __initdata_begin to startup code
> > >> ld.lld: error: Cannot export BSS symbol __initdata_end to startup code
> > >> ld.lld: error: Cannot export BSS symbol _data to startup code
>
> This version of ld.lld is from early April, which does not contain
> Fangrui's fix [1], so this is expected given the stubbing out of ASSERT
> that Ard did in commit e21560b7d33c ("arm64: Disable LLD linker
> ASSERT()s for the time being") does not happen due to the version.
> Please upgrade to a newer version of LLVM main to avoid triggering this,
Thanks Nathan, i will follow up to upgrade the clang version to avoid
wrong report.
> I can confirm that I do not see an error with a current version.
>
> [1]: https://github.com/llvm/llvm-project/commit/5859863bab7f
>
> Cheers,
> Nathan
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-17 0:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-14 22:13 ld.lld: error: Cannot export BSS symbol __inittext_end to startup code kernel test robot
2025-06-16 17:50 ` Nathan Chancellor
2025-06-17 0:47 ` Philip Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).