Summary: | dev-lang/zig-0.10.0 - /.../xlocale.h: error: cannot add abi_tag attribute in a redeclaration | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Eric Joldasov <bratishkaerik> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/29257 https://bugs.gentoo.org/show_bug.cgi?id=869038 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-lang:zig-0.10.0:20230108-141843.log.bz2 emerge-history.txt environment etc.clang.tar.bz2 etc.portage.tar.bz2 logs.tar.bz2 |
Description
Toralf Förster
2023-01-08 14:39:10 UTC
Created attachment 847958 [details]
emerge-info.txt
Created attachment 847960 [details]
dev-lang:zig-0.10.0:20230108-141843.log.bz2
Created attachment 847962 [details]
emerge-history.txt
Created attachment 847964 [details]
environment
Created attachment 847966 [details]
etc.clang.tar.bz2
Created attachment 847968 [details]
etc.portage.tar.bz2
Created attachment 847970 [details]
logs.tar.bz2
*** This bug has been marked as a duplicate of bug 851732 *** (In reply to Eric Joldasov from comment #8) > > *** This bug has been marked as a duplicate of bug 851732 *** Are you sure? it's riscv vs amd64, at least. Wonder if this is related to https://github.com/llvm/llvm-project/commit/fc87452916c0d8759625aad65e9335778ce9cc68. (In reply to Sam James from comment #9) > (In reply to Eric Joldasov from comment #8) > > > > *** This bug has been marked as a duplicate of bug 851732 *** > > Are you sure? it's riscv vs amd64, at least. I think main bug here is that building Zig uses its own copy of libcxx. In theory, since we are using system LLVM it should use system libc++ too, as stated in upstream PR in linked bug. Maybe it shadows other bugs, idk, but for now I see it as `Zig uses own copy of libcxx [that has different patches than Gentoo's one], and on musl it causes problems (IIUC Gentoo's package doesn't have this problem)`. (In reply to Sam James from comment #9) > (In reply to Eric Joldasov from comment #8) > > > > *** This bug has been marked as a duplicate of bug 851732 *** > > Are you sure? it's riscv vs amd64, at least. I'm not sure now (In reply to Eric Joldasov from comment #11) > (In reply to Sam James from comment #9) > > (In reply to Eric Joldasov from comment #8) > > > > > > *** This bug has been marked as a duplicate of bug 851732 *** > > > > Are you sure? it's riscv vs amd64, at least. > > I think main bug here is that building Zig uses its own copy of libcxx. In > theory, since we are using system LLVM it should use system libc++ too, as > stated in upstream PR in linked bug. Maybe it shadows other bugs, idk, but > for now I see it as `Zig uses own copy of libcxx [that has different patches > than Gentoo's one], and on musl it causes problems (IIUC Gentoo's package > doesn't have this problem)`. fwiw this is bug 869038 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fadfe488122a31156de1ea0118a4f9e7d7943f7 commit 8fadfe488122a31156de1ea0118a4f9e7d7943f7 Author: Eric Joldasov <bratishkaerik@getgoogleoff.me> AuthorDate: 2023-01-23 04:09:15 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2023-03-09 10:53:57 +0000 dev-lang/zig: slotting, initial support for setting ZIG_{MCPU,TARGET} * Install Zig to "/usr/$(get_libdir)/zig/${PV}", handle /usr/bin/zig via eselect-zig * Add functions for getting ZIG_TARGET and ZIG_MCPU (user-provided or defaults) and use them for building/testing * Add "doc" USE flag for installing language reference and stdlib documentation Closes: https://bugs.gentoo.org/885861 Bug: https://bugs.gentoo.org/890234 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Florian Schmaus <flow@gentoo.org> dev-lang/zig/zig-0.10.1-r1.ebuild | 165 ++++++++++++++++++++++++++++++++++++++ dev-lang/zig/zig-9999.ebuild | 82 +++++++++++++++++-- 2 files changed, 241 insertions(+), 6 deletions(-) |