RE: [herbert-cryptodev-2.6:master 2/9] arch/arm64/crypto/poly1305-core.S:415:(.text+0x3d4): relocation truncated to fit: R_AARCH64_ADR_PREL_LO21 against `.rodata'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Thorsten,

> -----Original Message-----
> From: Thorsten Leemhuis <linux@xxxxxxxxxxxxx>
> Sent: Tuesday, August 6, 2024 2:47 AM
> To: Justin He <Justin.He@xxxxxxx>
> Cc: oe-kbuild-all@xxxxxxxxxxxxxxx; linux-crypto@xxxxxxxxxxxxxxx; Herbert Xu
> <herbert@xxxxxxxxxxxxxxxxxxx>; kernel test robot <lkp@xxxxxxxxx>
> Subject: Re: [herbert-cryptodev-2.6:master 2/9]
> arch/arm64/crypto/poly1305-core.S:415:(.text+0x3d4): relocation truncated to
> fit: R_AARCH64_ADR_PREL_LO21 against `.rodata'
> 
> On 04.08.24 02:20, kernel test robot wrote:
> > tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
> master
> > head:   e0d3b845a1b10b7b5abdad7ecc69d45b2aab3209
> > commit: 47d96252099a7184b4bad852fcfa3c233c1d2f71 [2/9] crypto:
> > arm64/poly1305 - move data to rodata section
> > config: arm64-randconfig-002-20240804
> >
> (https://download.01.org/0day-ci/archive/20240804/202408040817.OWKXtC
> v
> > 6-lkp@xxxxxxxxx/config)
> > compiler: aarch64-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1
> > build):
> >
> (https://download.01.org/0day-ci/archive/20240804/202408040817.OWKXtC
> v
> > 6-lkp@xxxxxxxxx/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@xxxxxxxxx>
> > | Closes:
> > | https://lore.kernel.org/oe-kbuild-all/202408040817.OWKXtCv6-lkp@inte
> > | l.com/
> >
> > All errors (new ones prefixed by >>):
> >
> >    arch/arm64/crypto/poly1305-core.o: in function
> `poly1305_blocks_neon':
> >>> arch/arm64/crypto/poly1305-core.S:415:(.text+0x3d4): relocation
> truncated to fit: R_AARCH64_ADR_PREL_LO21 against `.rodata'
> 
> Ran into the same problem today with my kernel vanilla next builds for Fedora.
> Build log:
> 
> https://download.copr.fedorainfracloud.org/results/@kernel-vanilla/next/fedor
> a-40-aarch64/07852205-next-next-all/builder-live.log.gz
> 
> Happens with Fedora 39 and Fedora rawhide as well.
Thanks, I've reproduce this issue with the kconfig provided by kernel test robot.
Tend to think it can be resolved by replacing "adr" with "adrp"


--
Cheers,
Justin (Jia He)






[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux