Commit Graph

5702 Commits

Author SHA1 Message Date
Sergei Trofimovich
b73942bc8e binutils: advertise binutils plugin API on darwin, it should just work 2023-01-31 18:30:30 +00:00
Sergei Trofimovich
726597c1a7 binutils: re-enable plugins support for wasi target
binutils plugins API does not depend on target. It depends only on host.
Tested the change to still be able to compile `firefox` which uses wasi
target and pulls in llvm with binutils plugin support.
2023-01-31 18:30:30 +00:00
Sergei Trofimovich
e86b3bbf2c binutils: symlink libraries and headers for "target" to lib/ and include/
`binutils` is inconsistent at installing it's headers to

    $dev/include

Instead it installs headers into two locations:

    $out/$host/$target/include
    $dev/include

There is no distinction between these two. Both headers are for HOST
libraries. Expetially for multitarget binutils builds.

This change fixes build of the following packages that build `binutils`
as a cross-compiler:

    pkgsCross.x86_64-freebsd.buildPackages.llvm_12
    pkgsCross.aarch64-multiplatform.buildPackages.llvm_12
2023-01-31 18:30:29 +00:00
Sergei Trofimovich
b9a9dfc3d4 binutils: consolidate plugin-api.h support in a single
I got the plugin API support at least once incorrect. Instead of
copying the deifnition let's consolidate it within binutils itself.

While at it forward-ported changes to llvm_{13,14,15}.
The change is a no-op from rebuild perspective.
2023-01-30 22:23:36 +00:00
Sergei Trofimovich
0ba9da441d
Merge pull request #211126 from trofi/binutils-update
binutils: 2.39 -> 2.40
2023-01-29 09:50:57 +00:00
github-actions[bot]
fd893034cb
Merge staging-next into staging 2023-01-29 06:01:55 +00:00
github-actions[bot]
04f965695c
Merge master into staging-next 2023-01-29 06:01:23 +00:00
Nick Cao
0e6800f7ec
Merge pull request #213257 from r-ryantm/auto-update/circleci-cli
circleci-cli: 0.1.23117 -> 0.1.23241
2023-01-29 09:41:11 +08:00
R. Ryantm
79d0f368bf circleci-cli: 0.1.23117 -> 0.1.23241 2023-01-29 00:34:40 +00:00
github-actions[bot]
1b9455b894
Merge staging-next into staging 2023-01-29 00:03:07 +00:00
github-actions[bot]
d7f991bb53
Merge master into staging-next 2023-01-29 00:02:27 +00:00
Sergei Trofimovich
375d7f2ac0
Merge pull request #211718 from zhaofengli/elfutils-riscv64
elfutils: Disable failing test on RISC-V
2023-01-28 18:15:39 +00:00
Sergei Trofimovich
e1ef521cff binutils: 2.39 -> 2.40
A few potentially disruptive changes:

- binutils does not embed ${binutils-unwrapped}/lib as a default library
  search path anymore. This will cause link failures for -lbfd -lopcodes
  users that did not declare their dependency on those libraries. They
  will need to add `libbfd` and `libopcodes` attributes to build inputs.

- `libbfd` and `libopcodes` attributes now just reference
  `binutils-unwrapped.{dev,lib}` pair of attributes without patching
  `binutils` build system.

We don't patch build system anymore and use multiple outputs out of
existing `binutils` build. That makes the result more maintainable: no
need to handle ever growing list of dependencied of `libbfd`. This time
new addition was `libsframe`.

To accomodate `out` / `lib` output split I had to remove `lib` -> `bin`
backreference by removing legacy lookup path for plugins.

I also did not enable `zstd` just yet as `nixpkgs` version of `zstd`
package pulls in `cmake` into bootstrap sequence.

Changes: https://lists.gnu.org/archive/html/info-gnu/2023-01/msg00003.html
2023-01-27 23:16:45 +00:00
github-actions[bot]
e11b11e738
Merge staging-next into staging 2023-01-27 12:01:56 +00:00
github-actions[bot]
92b7725154
Merge master into staging-next 2023-01-27 12:01:22 +00:00
Weijia Wang
8a8f34c8ef
Merge pull request #212916 from r-ryantm/auto-update/clojure-lsp
clojure-lsp: 2022.12.09-15.51.10 -> 2023.01.26-11.08.16
2023-01-27 11:00:12 +01:00
Vladimír Čunát
8a77ed60ac
Merge branch 'master' into staging-next 2023-01-27 09:36:55 +01:00
R. Ryantm
1d8a8d223e clojure-lsp: 2022.12.09-15.51.10 -> 2023.01.26-11.08.16 2023-01-27 07:57:23 +00:00
Weijia Wang
ac7a109da4
Merge pull request #212812 from Shawn8901/remove_with_lib_3
treewide: remove global with lib; statements in pkgs/development
2023-01-27 04:49:58 +01:00
github-actions[bot]
637a1f98b5
Merge staging-next into staging 2023-01-27 00:02:55 +00:00
github-actions[bot]
2a8fae3ee5
Merge master into staging-next 2023-01-27 00:02:25 +00:00
Sergei Trofimovich
c103c51dd6
Merge pull request #212688 from trofi/dejagnu-fix-argv0
dejagnu: fix target passing for 'runtest' wrapper
2023-01-26 22:17:37 +00:00
Sergei Trofimovich
a22f0e57ea
Merge pull request #212506 from trofi/lsof-update
lsof: 4.96.5 -> 4.98.0
2023-01-26 22:16:49 +00:00
Weijia Wang
6a9bd0f409
Merge pull request #212814 from jmbaur/coreboot-toolchain-4.19
coreboot-toolchain: 4.16 -> 4.19
2023-01-26 19:44:35 +01:00
Elis Hirwing
f95a56cc16
Merge pull request #212296 from fballiano/magerun
n98-magerun: init at 2.3.0, n98-magerun2: init at 6.1.1
2023-01-26 19:27:49 +01:00
Jared Baur
88facf62d3
coreboot-toolchain: 4.16 -> 4.19 2023-01-26 09:59:02 -08:00
Shawn8901
a59dda942c treewide: remove global with lib; statements in pkgs/development 2023-01-26 18:31:02 +01:00
github-actions[bot]
5c74f3f8e5
Merge staging-next into staging 2023-01-26 06:02:08 +00:00
github-actions[bot]
d7e7d75f99
Merge master into staging-next 2023-01-26 06:01:24 +00:00
Nick Cao
09180f7701
Merge pull request #212630 from figsoda/rsass
rsass: 0.26.0 -> 0.27.0
2023-01-26 10:42:58 +08:00
Weijia Wang
a2a62a320a
Merge pull request #212566 from amjoseph-nixpkgs/pr/pahole/description
pahole: fix self-referential description
2023-01-26 03:12:29 +01:00
Sergei Trofimovich
5ac9fcfc60 dejagnu: fix target passing for 'runtest' wrapper
The problem was initially noticed in https://sourceware.org/PR30052#c5
where 'runtest' was passing bogus target name when ran without
parameters:

    $ ./result/bin/runtest
    ...
    Target is .runtest-wrapped
    Host   is x86_64-pc-linux-gnu

Note that runtest switches to non-native mode and uses wrapper name as a
target name. Mechanics of it is a bit involved: 'runtest' itself detects
targets passing via ${0} parameter:

    # somewhere in runtest:
    mypath=${0-.}
    ...
    if [ "$target" != runtest ] ; then
        target="--target ${target}"
    else
        target=""
    fi

which would be fine if we ran 'runtest'.

In `nixpkgs` `runtest` is a shell wrapper:

    $ cat /<<NIX>>/dejagnu-1.6.3/bin/runtest
    #! /<<NIX>>/bash-5.2-p15/bin/bash -e
    ...
    exec -a "$0" "/<<NIX>>/dejagnu-1.6.3/bin/.runtest-wrapped"  "$@"

You would expect that `.runtest-wrapped` would get `$0` as an `argv[0]`
here, but no. If both are `bash` scripts `bash` peeks original
`argv[0]` and breaks `runtest`:

    https://lists.gnu.org/archive/html/bug-bash/2023-01/msg00082.html

The workaround here is to drop the wrapper and place `expect` symlink
into a place where `dejagnu` and `runtest` expect it to be without a
wrapper creation.
2023-01-26 00:07:16 +00:00
github-actions[bot]
25ac66a272
Merge staging-next into staging 2023-01-26 00:03:07 +00:00
github-actions[bot]
e91d2acb23
Merge master into staging-next 2023-01-26 00:02:34 +00:00
Fabian Affolter
f15da2b2f9 python310Packges.cmake-language-server: 0.1.6 -> unstable-2023-01-08 2023-01-25 21:42:56 +01:00
figsoda
451cd73164 rsass: 0.26.0 -> 0.27.0
Changelog: https://github.com/kaj/rsass/blob/v0.27.0/CHANGELOG.md
2023-01-25 10:35:19 -05:00
Adam Joseph
08390a0ed4 pahole: fix self-referential description 2023-01-25 01:43:50 -08:00
Sergei Trofimovich
1616b30dce lsof: 4.96.5 -> 4.98.0
Changes: https://github.com/lsof-org/lsof/blob/4.98.0/00DIST#L5437
2023-01-25 07:27:50 +00:00
github-actions[bot]
c471a30584
Merge staging-next into staging 2023-01-25 00:02:54 +00:00
github-actions[bot]
c47e4b69a3
Merge master into staging-next 2023-01-25 00:02:20 +00:00
Thomas Gerbet
9013498050 pkgconf-unwrapped: 1.9.3 -> 1.9.4
Fixes CVE-2023-24056

https://ariadne.space/2023/01/24/pkgconf-cve-2023-24056-and-disinformation/

Changelog:
https://github.com/pkgconf/pkgconf/blob/pkgconf-1.9.4/NEWS
2023-01-24 22:05:33 +01:00
Fabrizio Balliano
78756462ae n98-magerun2: init at 6.1.1 2023-01-24 17:26:35 +00:00
Fabrizio Balliano
d1c4df60f5 n98-magerun: init at 2.3.0 2023-01-24 17:26:16 +00:00
github-actions[bot]
8aee205b0c
Merge staging-next into staging 2023-01-24 12:01:46 +00:00
github-actions[bot]
26447bdb5e
Merge master into staging-next 2023-01-24 12:01:09 +00:00
Vladimír Čunát
411405c9f6
Merge branch 'master' into staging-next
Trivial conflict in release notes, except that the xml/docbook parts
are horrible for (semi-)automatic conflict resolution.
Fortunately that's generated anyway.
2023-01-24 12:22:38 +01:00
Kristoffer Ellersgaard Koch
e576400bad nxpmicro-mfgtools: 1.4.243 -> 1.5.11 2023-01-24 09:05:41 +01:00
github-actions[bot]
cd6a5f6c46
Merge staging-next into staging 2023-01-24 00:02:42 +00:00
github-actions[bot]
727e365f02
Merge master into staging-next 2023-01-24 00:02:11 +00:00
Sandro
d01c044354
Merge pull request #207237 from r-ryantm/auto-update/slint-lsp 2023-01-24 00:02:50 +01:00