too long lines were shrinked: libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.41-r1/work/binutils-2.41/gprofng/libcollector -U_ASM -I.. -I/var/tmp/portage/sys-devel/binutils-2.41-r1/work/binutils-2.41/gprofng/libcollector -I/var/tmp/portage/sys-devel/binutils-2.41-r1/wo /var/tmp/portage/sys-devel/binutils-2.41-r1/work/binutils-2.41/gprofng/libcollector/iolib.c:112:49: error: unknown type name 'off64_t'; did you mean 'off_t'? 112 | static int mapBuffer (char *fname, Buffer *buf, off64_t foff); | ^~~~~~~ | off_t /var/tmp/portage/sys-devel/binutils-2.41-r1/work/binutils-2.41/gprofng/libcollector/iolib.c: In function '__collector_create_handle': /var/tmp/portage/sys-devel/binutils-2.41-r1/work/binutils-2.41/gprofng/libcollector/iolib.c:253:20: error: 'off64_t' undeclared (first use in this function); did you mean 'off_t'? 253 | -1, (off64_t) 0); | ^~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-20230814-144751 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-13 * clang/llvm (if any): Python 3.11.4 php cli (if any): HEAD of ::gentoo commit b34482011cb2e401b027aba34340def03419cc3b Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Aug 14 14:46:42 2023 +0000 2023-08-14 14:46:42 UTC emerge -qpvO sys-devel/binutils [ebuild NS ] sys-devel/binutils-2.41-r1 [2.40-r5] USE="cet debuginfod%* gprofng* hardened%* multitarget* nls pgo* plugins -doc -gold -static-libs -test -vanilla -zstd"
Created attachment 867840 [details] emerge-info.txt
Created attachment 867841 [details] emerge-history.txt
Created attachment 867842 [details] environment
Created attachment 867843 [details] etc.portage.tar.xz
Created attachment 867844 [details] logs.tar.xz
Created attachment 867845 [details] sys-devel:binutils-2.41-r1:20230814-175354.log.xz
Created attachment 867846 [details] temp.tar.xz
Fixed upstream in 2.42
Upstream patch doesnt work (at least not for 2.41)
Using -D_LARGEFILE64_SOURCE leads to a different error: /var/tmp/portage/sys-devel/binutils-2.41-r5/work/binutils-2.41/gprofng/libcollector/iotrace.c:1033:13: error: redefinition of 'open' 1033 | DCL_OPEN64 (open64) | ^~~~~~ /var/tmp/portage/sys-devel/binutils-2.41-r5/work/binutils-2.41/gprofng/libcollector/iotrace.c:1020:7: note: in definition of macro 'DCL_OPEN64' 1020 | int dcl_f (const char *path, int oflag, ...) \ | ^~~~~ ...
(In reply to Andreas K. Hüttel from comment #9) > Upstream patch doesnt work (at least not for 2.41) Doesnt work for 2.42 either.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2c63744e769749b3fa9a92761611f484eb0b39f commit f2c63744e769749b3fa9a92761611f484eb0b39f Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-03-05 11:12:45 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-03-05 11:13:37 +0000 profiles, musl: stable-mask gprofng in binutils Bug: https://bugs.gentoo.org/912284 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> profiles/features/musl/package.use.stable.mask | 6 ++++++ 1 file changed, 6 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b3fd0c32591d73716dff6c424f23d2775c58923 commit 6b3fd0c32591d73716dff6c424f23d2775c58923 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-07-27 19:36:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-07-27 19:37:18 +0000 profiles/features/musl: mask binutils[gprofng] everywhere Not just on stable. Bug: https://bugs.gentoo.org/912284 Signed-off-by: Sam James <sam@gentoo.org> profiles/features/musl/package.use.mask | 5 +++++ profiles/features/musl/package.use.stable.mask | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-)