Re: problem with gcc 14.2.0 targeting bfin-linux (FDPIC)

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

 



Hi Again,

forgot to mention a full build log is here:
https://debug.openadk.org/make-bfin.log

best regards
 Waldemar

Waldemar Brodkorb wrote,

> Hi,
> 
> I have a problem updating my toolchain for Blackfin Linux (FDPIC).
> I use following toolchain components:
> Binutils 2.44
> GCC 14.2.0
> uClibc-ng 1.0.51
> Linux Headers 4.9.287
> 
> I have a Arcturus Board for testing.
> The last working GCC is 9.5.0. Starting with 10.5.0 I get following
> linking error:
> 
> /home/wbx/openadk/toolchain_arcturus-ucbf54x_uclibc-ng_bf548_fdpic_nommu/usr/bin/bfin-openadk-linux-uclibc-gcc  -Wl,-EL -Wl,-melf32bfinfd -shared -Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc -Wl,-O2 -Wl,-z,defs -L/home/wbx/openadk/target_arcturus-ucbf54x_uclibc-ng_bf548_fdpic_nommu/lib -L/home/wbx/openadk/target_arcturus-ucbf54x_uclibc-ng_bf548_fdpic_nommu/usr/lib -Wl,-O1 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/openadk/target_arcturus-ucbf54x_uclibc-ng_bf548_fdpic_nommu/usr/lib -mcpu=bf548 -mfdpic -Wl,-e,__start -Wl,-z,now -Wl,-Bsymbolic -Wl,--export-dynamic -Wl,--sort-common -Wl,--no-undefined -Wl,--discard-locals -Wl,--discard-all  -Wl,-soname=ld-uClibc.so.1 -nostdlib -nostartfiles -o lib/ld-uClibc-1.0.51.so  -Wl,--whole-archive ldso/ldso/ld-uClibc_so.a -Wl,--no-whole-archive -shared  /home/wbx/openadk/toolchain_arcturus-ucbf54x_uclibc-ng_bf548_fdpic_nommu/usr/lib/gcc/bfin-openadk-linux-uclibc/14.2.0/libgcc.a  
> /home/wbx/openadk/toolchain_arcturus-ucbf54x_uclibc-ng_bf548_fdpic_nommu/usr/lib/gcc/bfin-openadk-linux-uclibc/14.2.0/../../../../bfin-openadk-linux-uclibc/bin/ld: warning: _udivsi3.o: missing .note.GNU-stack section implies executable stack
> /home/wbx/openadk/toolchain_arcturus-ucbf54x_uclibc-ng_bf548_fdpic_nommu/usr/lib/gcc/bfin-openadk-linux-uclibc/14.2.0/../../../../bfin-openadk-linux-uclibc/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
> /home/wbx/openadk/toolchain_arcturus-ucbf54x_uclibc-ng_bf548_fdpic_nommu/usr/lib/gcc/bfin-openadk-linux-uclibc/14.2.0/../../../../bfin-openadk-linux-uclibc/bin/ld: ldso/ldso/ld-uClibc_so.a(ldso.oS): in function `_dl_find_hash':
> ldso/ldso/ldso.c:(.text+0xe04): undefined reference to `memset'
> /home/wbx/openadk/toolchain_arcturus-ucbf54x_uclibc-ng_bf548_fdpic_nommu/usr/lib/gcc/bfin-openadk-linux-uclibc/14.2.0/../../../../bfin-openadk-linux-uclibc/bin/ld: ldso/ldso/ld-uClibc_so.a(ldso.oS): in function `search_for_named_library':
> ldso/ldso/ldso.c:(.text+0x265c): undefined reference to `memcpy'
> collect2: error: ld returned 1 exit status
> gmake[6]: *** [ldso/ldso/Makefile.in:90: lib/ld-uClibc.so] Error 1
> gmake[5]: *** [Makefile:353: /home/wbx/openadk/toolchain_build_arcturus-ucbf54x_uclibc-ng_bf548_fdpic_nommu/w-uClibc-ng-1.0.51-1/uClibc-ng-1.0.51/.compiled] Error 2
> gmake[4]: *** [Makefile:106: uclibc-ng-compile] Error 2
> gmake[3]: *** [mk/build.mk:229: toolchain/final] Error 2
> gmake[2]: *** [/home/wbx/openadk/mk/build.mk:174: world] Error 2
> 
> Any idea what goes wrong here? Do I need to modify uClibc-ng ldso code in some way?
> Anybody remember what might be changed between gcc 9.5.0 and 10.5.0 which triggers this linking error?
> 
> Thanks in advance
>  best regards
>   Waldemar
> 



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux