Created attachment 846216 [details] aarch64-unknown-linux-gnu-emerge --info CBUILD="x86_64-pc-linux-gnu" CHOST="aarch64-unknown-linux-gnu" CHOST="armv7a-unknown-linux-gnueabihf" For some reason after linking by targetcc hostcc is called.
Oops, I named armv7 emerge info as aarch's
Created attachment 846218 [details] aarch64-unknown-linux-gnu-emerge --info
Created attachment 846220 [details] armv7a-unknown-linux-gnueabihf-emerge --info
Please include the full build.log too.
Created attachment 846222 [details] aarch64 build.log
Created attachment 846224 [details] armv7 build.log
Upd: hostcc is called at shared library linking instead of targetcc
Created attachment 849734 [details, diff] Patch for libtomcrypt ebuild Same as #376643