[Buildroot] [aarch64] can't handle reloc type error

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Apr 6 10:11:19 UTC 2017


Hello,

On Thu, 6 Apr 2017 18:12:39 +1000, Matt Flax wrote:

> I am building buildroot for aarch64. I am using the s5p6818 system.
> The system builds and boots well.
> 
> The problem I am having is that any packages which are in my external 
> directory $BR2_EXTERNAL_CUSTOM_PATH doesn't produce executable executables.
> 
> If I try to run something which was sourced from the buildroot package 
> directory, it works well.
> 
> If I try to run an executable from my custom external package path, it 
> doesn't. I get the following error :
> 
> /usr/bin/testit symbol '_ZSt15__once_callable': can't handle reloc type 
> 0x407
> 
> Anyone got any ideas on what to do ?

Could you share an example piece of code + package .mk file that
exhibits the problem ?

Also, could you pastebin the build log of the package that produces a
non-working binary ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list