Created attachment 893683 [details] build.log and emerge --info Ex: powerpc-unknown-linux-musl-gcc -DPERL_CORE -O2 -pipe -fomit-frame-pointer -fwrapv -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -fomit-frame-pointer -fwrapv -fno-strict-aliasing -DNO_PERL_RAND_SEED -O2 -pipe -fomit-frame-pointer -fwrapv -fno-strict-aliasing -fPIC -Wno-unused-function -c -o op.o op.c In file included from op.c:163: op.c: In function 'Perl_newATTRSUB_x': perl.h:2399:25: error: implicit declaration of function 'memrchr'; did you mean 'memchr'? [-Wimplicit-function-declaration] 2399 | # define my_memrchr memrchr | ^~~~~~~ op.c:10592:34: note: in expansion of macro 'my_memrchr' 10592 | const char *s = (char *) my_memrchr(name, ':', namlen); | ^~~~~~~~~~
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d6c27f171133bb0f3c2c9330960211630d2840 commit 28d6c27f171133bb0f3c2c9330960211630d2840 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-05-22 02:20:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-22 02:20:51 +0000 dev-lang/perl: pass -D_GNU_SOURCE for the cross build for CHOST too We need it there as well. Bug: https://bugs.gentoo.org/913171 Closes: https://bugs.gentoo.org/932385 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/perl/perl-5.38.2-r5.ebuild | 3 +++ 1 file changed, 3 insertions(+)