[code]CCACHE_DISABLE=YES FEATURES="-distcc -distcc-pump" aarch64-unknown-linux-gnu-emerge --ask --verbose pam[/code] fails with [b]/usr/libexec/gcc/aarch64-unknown-linux-gnu/ld: /usr/lib64/libdb-6.0.so: error adding symbols: file in wrong format[/b] (gentoo):aarch64-unknown-linux-gnu # [code]aarch64-unknown-linux-gnu-emerge --info '=sys-libs/pam-1.3.1::gentoo' | wgetpaste[/code] Your paste can be seen here: https://paste.pound-python.org/show/st1qfVdNnRaKqF1jYpQR/ (gentoo):aarch64-unknown-linux-gnu # [code]aarch64-unknown-linux-gnu-emerge -pqv '=sys-libs/pam-1.3.1::gentoo'|wgetpaste[/code] Your paste can be seen here: https://paste.pound-python.org/show/FLffkSRtyfuYARVi7Ja9/ (gentoo):aarch64-unknown-linux-gnu # [code]wgetpaste /usr/aarch64-unknown-linux-gnu/tmp/portage/sys-libs/pam-1.3.1/temp/environment[/code] Your paste can be seen here: https://paste.pound-python.org/show/yIII19bAxzEwbeuxQQ36/ (gentoo):aarch64-unknown-linux-gnu # [code]split -n1/5 /usr/aarch64-unknown-linux- gnu/tmp/portage/sys-libs/pam-1.3.1/temp/build.log | wgetpaste[/code] Your paste can be seen here: https://paste.pound-python.org/show/UPVwBWbzT0a76DdUxYKa/ (gentoo):aarch64-unknown-linux-gnu # [code]split -n4/5 /usr/aarch64-unknown-linux-gnu/tmp/portage/sys-libs/pam-1.3.1/temp/build.log | wgetpaste[/code] Your paste can be seen here: https://paste.pound-python.org/show/Dy5nCCsVqAhTpFaWgp4L/ The build.log is too big so I've only put 1 n 4 of 4 parts of it.
(In reply to Necktwi Ozfguah from comment #0) > The build.log is too big so I've only put 1 n 4 of 4 parts of it. Compress it. 1) xz <file.to.compress> 2) Then upload <file.to.compress>.xz
Created attachment 551846 [details] build.log build log
your sys-libs/db should be cross-compiled too, you are trying to link native libdb agaist aarch64 compiled pam.