When trying to compile libgpg-error from master branch commit (https://github.com/gpg/libgpg-error/commit/220a427b4f997ef6af1b2d4e82ef1dc96e0cd6ff), the build will fail. Full log attached.
libtool: link: x86_64-pc-linux-gnu-gcc -m32 -shared -fPIC -DPIC .libs/libgpg_error_la-posix-lock.o .libs/libgpg_error_la-posix-thread.o .libs/libgpg_error_la-spawn-posix.o .libs/libgpg_error_la-init.o .libs/libgpg_error_la-version.o .libs/libgpg_error_la-estream.o .libs/libgpg_error_la-estream-printf.o .libs/libgpg_error_la-strsource.o .libs/libgpg_error_la-strerror.o .libs/libgpg_error_la-code-to-errno.o .libs/libgpg_error_la-code-from-errno.o .libs/libgpg_error_la-visibility.o .libs/libgpg_error_la-sysutils.o .libs/libgpg_error_la-stringutils.o .libs/libgpg_error_la-syscall-clamp.o .libs/libgpg_error_la-logging.o .libs/libgpg_error_la-b64dec.o .libs/libgpg_error_la-b64enc.o .libs/libgpg_error_la-argparse.o -m32 -march=native -O3 -fuse-linker-plugin -flto=auto -Wl,--version-script=/var/tmp/portage/dev-libs/libgpg-error-9999/work/libgpg-error-9999/src/gpg-error.vers -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,libgpg-error.so.0 -o .libs/libgpg-error.so.0.32.1
no
- Please report to https://bugs.gnupg.org with gpg-error-config-test.log
make[3]: *** [Makefile:1733: gpg-error-config] Error 1