summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* profiles: Add m68k musl profile supportIan Jordan2023-06-261-1/+1
| | | | | | | | | | | | | | | sys-libs/musl: m68k keywording After testing this profile and musl support has been working on my m68k system so is ready for review. I've added sys-libs/musl keywording at the same time as per the bug request. This includes the suggested profile changes by Chewi and Matoro for a cleaner profile. Closes: https://bugs.gentoo.org/909040 Signed-off-by: Ian Jordan <immoloism@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31604 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* sys-libs/musl: Reapply filter-ltoIan Jordan2023-05-095-6/+6
| | | | | | | | | | As strip-flags no longer removes -flto then a filter-lto is now required to prevent bug 877343 from reopening, like has already been applied to sys-libs/glibc. Closes: https://bugs.gentoo.org/877343 Closes: https://github.com/gentoo/gentoo/pull/30942 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: add 1.2.4Sam James2023-05-022-0/+214
| | | | | Bug: https://bugs.gentoo.org/903611 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: use dosym8 -r for /usr/bin/ldd symlinkMike Gilbert2023-04-032-8/+8
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* sys-libs/musl: quote EPREFIXMike Gilbert2023-04-032-6/+6
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* sys-libs/musl: fix ld-musl.so symlink with merged-usrMike Gilbert2023-04-032-7/+223
| | | | | | | | | To create a symlink relative to /lib/ld-musl.so, we must know if ${ROOT} will have /lib symlinked to /usr/lib. We rely on the split-usr USE flag to determine this. Closes: https://bugs.gentoo.org/903703 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* sys-libs/musl: Stabilize 1.2.3-r7 ppc, #886217Arthur Zamarin2023-03-311-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* sys-libs/musl: Stabilize 1.2.3-r7 ppc64, #886217Arthur Zamarin2023-03-311-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* sys-libs/musl: Stabilize 1.2.3-r7 arm, #886217Arthur Zamarin2023-03-311-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* sys-libs/musl: Stabilize 1.2.3-r7 arm64, #886217Arthur Zamarin2023-03-311-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* sys-libs/musl: Stabilize 1.2.3-r7 x86, #886217Arthur Zamarin2023-03-311-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* sys-libs/musl: Stabilize 1.2.3-r7 amd64, #886217Arthur Zamarin2023-03-311-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* sys-libs/musl: drop 1.2.3-r5, 1.2.3-r6Sam James2023-02-152-394/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: Create /etc/ld.so.conf.d directory like glibc doesJames Le Cuirot2023-02-052-0/+216
| | | | | | | | | | | | | | Given that musl has long added an `include` directive for this directory to ld.so.conf, we believe not creating the directory was an accidental omission. gcc-config has special code to handle the case where it doesn't exist, but eselect modules like blas do not, and subsequently break. I have tested this, and both gcc-config and eselect-blas now behave as expected. There is no migration to do. The tools simply start using the directory once it is available. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* sys-libs/musl: always install libssp_nonshared.aSam James2023-01-292-1/+207
| | | | | | | | Needed to avoid SSP hacks for cross (if we don't install it, we have to deal with conditionally patching GCC). Bug: https://bugs.gentoo.org/862831 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: drop 1.2.2-r8Sam James2023-01-152-176/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: strip-flagsIan Jordan2022-12-294-4/+4
| | | | | | | | | | Found reports of systemwide issues when Musl is compiled with -Ofast so this is intended to at least save some users from one issue using Ofast systemwide. Thanks-to: Krusin Signed-off-by: Ian Jordan <immoloism@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/28884 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: RDEPEND -> PDEPEND for libxcryptSam James2022-11-082-8/+4
| | | | | | | | | | Anything actually linking against libcrypt should depend on the virtual anyway, and this means we can have libxcrypt properly depend on virtual/libc (which is needed to ensure it can be installed first). Bug: https://bugs.gentoo.org/877567 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: Filter LTOIan Jordan2022-10-174-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | After discussing my bug with dalias on #musl I was informed that LTO has a negative impact on Musl so fixing the issue I highlight rather than filtering wouldn't be the desired outcome for the user. This will also help crossdev users as a bonus as -flto applies to the crosstoolchain and can be hard to spot at first. Chat log to comfirm: immolo: I ran into the -flto issue while testing musl built with lto and the only thing I can find on it was a workaround in 2015. immolo: My question though is it even worth having lto enabled on musl in the first place as every distro just seems to filter it so there must be a reason dalias: not only is it not worth it. it's negative value dalias: makes musl larger and slower dalias: if you wanted libc.a to get LTO'd into static programs, that might have some value dalias: but LTO on libc.so is worse than worthless Closes: https://bugs.gentoo.org/877343 Thanks-to: dalias Signed-off-by: Ian Jordan <immoloism@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/27824 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: Stabilize 1.2.3 ppc64, #858827Sam James2022-09-231-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: Stabilize 1.2.3 ppc, #858827Sam James2022-09-231-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: drop libcrypt.a too for USE=-cryptSam James2022-09-192-2/+4
| | | | | | | | While musl doesn't split out libcrypt.so, it does apparently for libcrypt.a. Closes: https://bugs.gentoo.org/871726 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: set QA_PRESTRIPPED for crtn.oSam James2022-09-142-5/+13
| | | | | | | | | | | | | | | | vapier's comment is really it: ""' > crt files are often hand written assembly, and for the init/fini ones, > barely any code at all. so they tend not to have anything useful to add > debugging wise, if the tools even support it in the first place. > > not really worth trying to add debugging info to really any of the crt > files. we should figure out how to suppress the warning for them. or > ignore it. """ Closes: https://bugs.gentoo.org/830213 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: tweak libxcrypt logic for crossSam James2022-09-122-8/+20
| | | | | | | | | We want crypt on by default for this as sys-libs/libxcrypt isn't (yet?) built as part as crossdev. Also, elide the blockers when in cross-*, as it doesn't make sense to block the normal CBUILD libxcrypt at all there when we're installing into /usr/${CHOST} anyway. Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: fix libxcrypt depSam James2022-09-112-2/+8
| | | | | | | We only need libxcrypt when we DON'T install crypt.h Bug: https://bugs.gentoo.org/867991 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: add USE=crypt for libxcrypt supportSam James2022-09-102-1/+190
| | | | | | | | | | | | | | | | | | | | | | | Add USE=crypt to allow enabling/disabling crypt.h installation (to allow sys-libs/libxcrypt[system] usage). Many things are starting to want functions from libxcrypt itself (additional functions and algorithms). musl isn't removing crypt.h (and the relevant functions from its libc), unlike glibc, but we need to allow disabling the installation of crypt.h to allow libxcrypt[system] usage (which provides crypt.h & libcrypt.so instead, with more functionality). This brings musl in line with the changes we made for glibc a while ago. The situation with glibc is a bit different because the migration is mandatory there, while we're just strongly recommending it for musl because sys-libs/libxcrypt[-system] causes headaches (see linked PAM bug for an example, but I've also hit a similar issue with Python yesterday). Bug: https://bugs.gentoo.org/867991 Bug: https://bugs.gentoo.org/699422 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: arm/arm64 stable, bug #858827Jory Pratt2022-08-061-1/+1
| | | | | Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jory Pratt <anarchy@gentoo.org>
* sys-libs/musl: remove unused patchMichael Mair-Keimberger2022-07-271-43/+0
| | | | | | | Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Portage 3.0.34 / pkgdev 0.2.1 / pkgcheck 0.10.11 Closes: https://github.com/gentoo/gentoo/pull/26624 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* sys-libs/musl: drop 1.2.2-r7Sam James2022-07-262-324/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: Stabilize 1.2.3 x86, #858827Sam James2022-07-181-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: Stabilize 1.2.3 amd64, #858827Sam James2022-07-181-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: stable 1.2.2-r8 for amd64, arm, arm64, ppc64, x86Sam James2022-06-231-1/+1
| | | | | Closes: https://bugs.gentoo.org/838046 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: fix ROOT check in pkg_postinstSam James2022-04-234-4/+4
| | | | | | With EAPI 7+, ROOT and others will be blank (not /). Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: drop 1.2.2-r3, 1.2.2-r4, 1.2.2-r6Sam James2022-04-175-784/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: Stabilize 1.2.2-r8 ppc, #838046Arthur Zamarin2022-04-151-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* sys-libs/musl: keyword 1.2.3Sam James2022-04-121-2/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: disable verify-sig for cross-compile for nowSam James2022-04-073-3/+6
| | | | | | I get an IPC error on verification in cross. Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: add 1.2.3 (unkeyworded)Sam James2022-04-072-0/+175
| | | | | | Unkeyworded for testing. Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: add verify-sigSam James2022-04-073-16/+49
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: Keyword ~riscvAndreas K. Hüttel2022-02-262-2/+2
| | | | | | | Tested with crossdev and a qemu-user lp64d chroot Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* sys-libs/musl: Support Gentoo prefixEsteve Varela Colominas2022-02-203-24/+336
| | | | | | | | | Added necessary framework to get this libc to run properly under a prefix. Closes: https://bugs.gentoo.org/833192 Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24169 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: stabilize 1.2.2-r7Sam James2022-02-101-2/+2
| | | | | | | | | Contians some previous ldconfig fixes. Bug: https://bugs.gentoo.org/663990 Bug: https://bugs.gentoo.org/696818 Bug: https://bugs.gentoo.org/833018 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: bump to newer ldconfigAnthony G. Basile2021-12-011-1/+1
| | | | | | Closes: https://bugs.gentoo.org/827833 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
* sys-libs/musl: fix ldconfig on SELinuxJonathan Davies2021-11-222-0/+324
| | | | | | | | | | | | Replaced mv in ldconfig with cp/rm dance so that the correct SELinux label is applied to the resulting file and the system doesn't brick itself instantly. Bug: https://bugs.gentoo.org/663990 Closes: https://bugs.gentoo.org/696818 Signed-off-by: Jonathan Davies <jpds@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/23037 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: exit early in ldconfig if nothing has changedKofi Hannam2021-11-222-0/+8
| | | | | | | | | | | This fixes an access violation when compiling sys-libs/ncurses and /usr/bin/ld is not ld.bfd. Closes: https://bugs.gentoo.org/719330 Closes: https://github.com/gentoo/gentoo/pull/21939 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Kofi Hannam <meeyou@tuta.io> Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: destabilize 1.2.2-r5Sam James2021-11-191-1/+1
| | | | | | Accidentally pushed as stable. Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: use ebuild-like Bash style in ldconfigSam James2021-11-192-46/+46
| | | | | | Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/22984 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: additional ROOT fixes for ldconfigSam James2021-11-193-9/+177
| | | | | | | | | | Move around some declarations so we get sensible default values but only perform the sanity checks _after_ we parse command line arguments to take into account e.g. -r (root). Bug: https://bugs.gentoo.org/666246 Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: make ldconfig script respect -rWiktor Kerr2021-11-191-0/+146
| | | | | | Bug: https://bugs.gentoo.org/666246 Signed-off-by: Wiktor Kerr <w@kerr.sh> Signed-off-by: Sam James <sam@gentoo.org>
* sys-libs/musl: sync live ebuildSam James2021-11-181-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>