Cross compile error

I used aarch64-linux-gnu cross compile gib for arm64.the cross file as follow

pkg_config_libdir = ‘/home/qin/app/arm/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/lib/pkgconfig:/home/qin/wayland/usr/lib/x86_64-linux-gnu/pkgconfig’

c = ‘/home/qin/app/arm/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc’
cpp = ‘/home/qin/app/arm/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++’
ar = ‘/home/qin/app/arm/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ar’
strip = ‘/home/qin/app/arm/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-strip’
pkgconfig = ‘pkg-config’

[built-in options]
c_link_args = [‘-Wl,-rpath’, ‘/home/qin/app/arm/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/lib64’, ‘/home/qin/app/arm/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/lib’ , ‘-Wl,–as-needed’]

system = ‘linux’
cpu_family = ‘arm’
cpu = ‘ARM8’
endian = ‘little’

system = ‘linux’
cpu_family = ‘x86_64’
cpu = ‘i686’
endian = ‘little’

After call meson build --cross-file arm64.txt,it shows ERROR: Assert failed: libintl.type_name() == ‘internal’

how to fix the problem?

  1. Why do you want to compile manually for arm64 ?

  2. Lot of distros ( debian etc ) build arm64 versions for glib package. Can’t you use it ?

  3. What version of glib you are trying to build ?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.