Created attachment 478548 [details] build.log rpi3-arm64-0.10/tmp/portage/media-libs/libpng-1.6.30/work/libpng-1.6.30/arm/filter_neon_intrinsics.c -fPIC -DPIC -o arm/.libs/filter_neon_intrinsics.o /var/targets/baseos-rpi3-arm64-0.10/tmp/portage/media-libs/libpng-1.6.30/work/libpng-1.6.30/arm/../pngpriv.h: Assembler messages: /var/targets/baseos-rpi3-arm64-0.10/tmp/portage/media-libs/libpng-1.6.30/work/libpng-1.6.30/arm/../pngpriv.h:476: Error: unknown mnemonic `typedef' -- `typedef unsigned long png_ptruint' make[1]: *** [Makefile:1155: arm/filter_neon.lo] Error 1 make[1]: *** Waiting for unfinished jobs....
https://github.com/glennrp/libpng/commit/660ce585975b3bdfbd39cd9fe28d4293da05700d looks relevant.
(In reply to Felix Janda from comment #1) > https://github.com/glennrp/libpng/commit/ > 660ce585975b3bdfbd39cd9fe28d4293da05700d looks relevant. I am not sure, if I did something wrong. But I applied this patch, compiling still fails for me on arm. > /var/tmp/portage/media-libs/libpng-1.6.30/work/libpng- > 1.6.30/arm/../pngpriv.h:482: Error: bad instruction `typedef unsigned long > png_ptruint'
I cannot reproduce this on an arm system, so this should be reassigend to arm64 only. An emerge --info to see which gcc and libc you use would be helpfull too.
According to the changelog of libpng-1.6.31 this has been fixed: Revised pngpriv.h to work around failure to compile arm/filter_neon.S ("typedef" directive is unrecognized by the assembler). The problem was introduced in libpng-1.6.30beta01. Can somebody confirm this?
*** Bug 626312 has been marked as a duplicate of this bug. ***
(In reply to Lars Wendler (Polynomial-C) from comment #4) > According to the changelog of libpng-1.6.31 this has been fixed: > > Revised pngpriv.h to work around failure to compile arm/filter_neon.S > ("typedef" directive is unrecognized by the assembler). The problem > was introduced in libpng-1.6.30beta01. > > Can somebody confirm this? yes