[Buildroot] [PATCH v3 2/3] toolchain: add bfin support
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Jul 5 17:27:08 UTC 2016
Hello,
On Mon, 4 Jul 2016 17:48:53 +0200, Thomas Petazzoni wrote:
> Also, the default Blackfin core in Buildroot is bf609, and there's no
> support for it in the upstream gcc, which causes a build failure when
> building uClibc-ng because -mcpu=bf609 is not valid.
>
> It looks like we will need to:
>
> 1/ Change the default Blackfin core to something that the internal
> toolchain backend support
>
> 2/ Make the internal toolchain backend only available if the selected
> Blackfin core is supported
Another problem:
CC utils/ldconfig
In file included from ../ldso/include/dl-defs.h:78:0,
from ../utils/porting.h:41,
from ../utils/ldconfig.c:29:
../ldso/ldso/bfin/dl-sysdep.h: In function 'elf_machine_relative':
../ldso/ldso/bfin/dl-sysdep.h:96:9: warning: 'return' with a value, in function returning void
return 0;
^
../ldso/ldso/bfin/dl-sysdep.h:93:1: note: declared here
elf_machine_relative (DL_LOADADDR_TYPE load_off, const Elf32_Addr rel_addr,
^~~~~~~~~~~~~~~~~~~~
This is due to:
config BR2_UCLIBC_INSTALL_UTILS
bool "Compile and install uClibc utilities"
default y
Before 6b0baf14cefd19d3902b43db0ab58709ef70e641, we had a dependency
on !BR2_bfin for this option. I'm not sure !BR2_bfin is the best
solution. Isn't it something like "supports shared library" or
something like that?
Could you have a look ?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list