[Buildroot] ACE + TAO with buildroot - GLIBC_2.28 not found

Arnout Vandecappelle arnout at mind.be
Sat Apr 30 10:31:15 UTC 2022



On 29/04/2022 16:02, Earthquake wrote:
> Hi,
> 
> intergrating ACE was successfull with
> 
> https://patchwork.ozlabs.org/project/buildroot/patch/20210413134139.13281-1-matthew.weber@rockwellcollins.com/ 
> 
> 
> ACE lib is built.
> 
> When I integrate TAO in the ace.mk
> 
> TAO_LIBRARIES += TAO_IDL
> TAO_LIBRARIEs += tao/PortableServer
> $(foreach lib,$(TAO_LIBRARIES), ACE_ROOT="$(@D)" $(TARGET_CONFIGURE_OPTS) 
> $(MAKE) -C $(@D)/TAO/$(lib) ACE_ROOT="$(@D)" TAO_ROOT="$(@D)/TAO"  all )
> 
> The tao_idl complier will be built.
> 
> The PortableServer uses the created tao_idl complier but exit with:
> 
> ../../../bin/tao_idl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not 
> found (required by ../../../lib/libACE.so.7.0.2)
> ../../../bin/tao_idl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not 
> found (required by ../../../lib/libACE.so.7.0.2)

  You created tao_idl for the target, but are trying to run it on the host. The 
libc versions on target and host are not compatible.

  This probably means that the tao build system is not cross-compilation 
friendly. Perhaps it does support cross-compilation but you need some other 
option to pass the host compiler (we pass CC_FOR_BUILD="$(HOSTCC)" because 
CC_FOR_BUILD is the variable used by autotools, but with a custom Makefile they 
may expect a different variable).

  If it really doesn't support cross-compilation, then you should make a 
host-ace package that builds tao_idl and installs it in $(HOST_DIR)/bin, and 
then call that one.

  Regards,
  Arnout

> 
> Wrong way to call?
> 
> 
> Thanks for support,
> 
> Alex
> 
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot



More information about the buildroot mailing list