bug-gettext
[Top][All Lists]
Advanced

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

Re: Undefined symbol _vm_region from _vma_iterate in libtests.a


From: Bruno Haible
Subject: Re: Undefined symbol _vm_region from _vma_iterate in libtests.a
Date: Sat, 27 Mar 2021 20:17:27 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-203-generic; KDE/5.18.0; x86_64; ; )

Hi Jeffrey,

> I'm building Gettext 0.21 on an Apple M1. I'm seeing this during 'make check':
> 
> libtool: link: /usr/bin/clang -g2 -O2 -fno-common -arch arm64 -fPIC
> -pthread -Wl,-rpath -Wl,@loader_path/../lib -Wl,-rpath
> -Wl,/usr/local/lib -o .libs/test-explicit_bzero test-explicit_bzero.o
> -L/usr/local/lib libtests.a libtests.a
> ../gnulib-lib/.libs/libgettextlib.dylib
> /Users/jwalton/Build-Scripts/gettext-0.21/gettext-tools/intl/.libs/libintl.dylib
> /usr/local/lib/libunistring.dylib /usr/local/lib/libxml2.dylib -lz -lm
> /usr/local/lib/libiconv.dylib -ldl -lpthread -pthread
> Undefined symbols for architecture arm64:
>   "_vm_region", referenced from:
>       _vma_iterate in libtests.a(vma-iter.o)
> ld: symbol(s) not found for architecture arm64

The gettext 0.21 release (2020-07-27) predates the fix in gnulib (2020-12-01).
Therefore better use a snapshot tarball, such as the one available from
https://gitlab.com/gnu-gettext/ci-distcheck .

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]