Summary: | sys-devel/binutils-2.41-r1[gprofng] on musl - /.../iolib.c: error: off64_t undeclared (first use in this function) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://sourceware.org/bugzilla/show_bug.cgi?id=30779 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 903611 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.xz logs.tar.xz sys-devel:binutils-2.41-r1:20230814-175354.log.xz temp.tar.xz |
Description
Toralf Förster
2023-08-14 18:44:27 UTC
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(+) |