Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869038 - sys-libs/libcxx-15.0.0[-clang] - /.../xlocale.h: error: abi_tag attribute applied to extern C declaration long long int strtoll_l(const
Summary: sys-libs/libcxx-15.0.0[-clang] - /.../xlocale.h: error: abi_tag attribute app...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-09-07 07:29 UTC by Toralf Förster
Modified: 2023-01-25 12:28 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.34 KB, text/plain)
2022-09-07 07:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,211.05 KB, text/plain)
2022-09-07 07:29 UTC, Toralf Förster
Details
environment (environment,160.26 KB, text/plain)
2022-09-07 07:29 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.70 KB, application/x-bzip)
2022-09-07 07:29 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.59 KB, application/x-bzip)
2022-09-07 07:29 UTC, Toralf Förster
Details
sys-libs:libcxx-15.0.0:20220907-003256.log.bz2 (sys-libs:libcxx-15.0.0:20220907-003256.log.bz2,14.98 KB, application/x-bzip)
2022-09-07 07:29 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,58.07 KB, application/x-bzip)
2022-09-07 07:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-07 07:29:32 UTC
too long lines were shrinked:

FAILED: libcxx/src/CMakeFiles/cxx_shared.dir/ios.cpp.o 
/usr/bin/x86_64-gentoo-linux-musl-g++ -DLIBCXX_BUILDING_LIBCXXABI -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_DISABLE_NEW_DELETE_DEFINITIONS -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/sys-libs/libcxx-15.0.0/work/libcxx/src 
In file included from /var/tmp/portage/sys-libs/libcxx-15.0.0/work/runtimes_build-abi_x86_64.amd64/include/c++/v1/__locale:44,
                 from /var/tmp/portage/sys-libs/libcxx-15.0.0/work/libcxx/src/ios.cpp:10:
/var/tmp/portage/sys-libs/libcxx-15.0.0/work/runtimes_build-abi_x86_64.amd64/include/c++/v1/__support/musl/xlocale.h:28:68: error: 'abi_tag' attribute applied to extern "C" declaration 'long long int strtoll_l(const char*, char**, int, locale_t)'
   28 | strtoll_l(const char *__nptr, char **__endptr, int __base, locale_t) {
      |                                                                    ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20220904-151557

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 7d3477884da5a3316f341fe097afed3ecf1814ef
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Sep 6 19:31:51 2022 +0000

    2022-09-06 19:31:50 UTC

emerge -qpvO sys-libs/libcxx
[ebuild  N    ] sys-libs/libcxx-15.0.0  USE="(libcxxabi) -clang -static-libs -test -verify-sig"
Comment 1 Toralf Förster gentoo-dev 2022-09-07 07:29:33 UTC
Created attachment 803695 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-07 07:29:34 UTC
Created attachment 803698 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-07 07:29:36 UTC
Created attachment 803701 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-07 07:29:37 UTC
Created attachment 803704 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-07 07:29:38 UTC
Created attachment 803707 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-07 07:29:39 UTC
Created attachment 803710 [details]
sys-libs:libcxx-15.0.0:20220907-003256.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-07 07:29:40 UTC
Created attachment 803713 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-22 21:26:29 UTC
A user tried https://github.com/llvm/llvm-project/commit/fd5a2bfaadb5336c2f115a875c12c26e9daa96df but it wasn't sufficient. I'm wondering when this broke.
Comment 9 Larry the Git Cow gentoo-dev 2023-01-25 12:28:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb222de23f9d470f1366507e9159ed244ce794e

commit 7cb222de23f9d470f1366507e9159ed244ce794e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-01-25 12:27:22 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-01-25 12:28:43 +0000

    sys-libs/libcxx: Backport GCC build fix to 15.0.7-r1
    
    Closes: https://bugs.gentoo.org/869038
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-libs/libcxx/Manifest                |   1 +
 sys-libs/libcxx/libcxx-15.0.7-r1.ebuild | 205 ++++++++++++++++++++++++++++++++
 2 files changed, 206 insertions(+)