Commit Graph

12450 Commits

Author SHA1 Message Date
github-actions[bot]
c8b4067ae8
Merge master into staging-next 2022-08-01 12:01:37 +00:00
Guillaume Girol
6a792c2ed8
Merge pull request #179356 from logo4poop/update-haxe-4.2.5
Updated Haxe 4.2.1 -> 4.2.5
2022-08-01 11:34:44 +00:00
github-actions[bot]
bb10509584
Merge master into staging-next 2022-07-31 12:02:29 +00:00
R. Ryantm
762e210698 z88dk: 2.1 -> 2.2 2022-07-31 07:23:28 +00:00
github-actions[bot]
95abc5680d
Merge master into staging-next 2022-07-31 00:03:10 +00:00
Anderson Torres
01a67a7342
Merge pull request #183993 from r-ryantm/auto-update/dxa
dxa: 0.1.4 -> 0.1.5
2022-07-30 17:58:39 -03:00
R. Ryantm
b62eadf3b1 dxa: 0.1.4 -> 0.1.5 2022-07-30 16:07:00 +00:00
R. Ryantm
57627e479e closurecompiler: 20220601 -> 20220719 2022-07-30 14:56:21 +00:00
github-actions[bot]
5ebd4b10df
Merge master into staging-next 2022-07-30 12:01:30 +00:00
Thiago Kenji Okada
c01ab9eecc
Merge pull request #183088 from jlesquembre/graal-22.2.0
graalvm-ce: 22.1.0 -> 22.2.0
2022-07-30 10:48:58 +01:00
github-actions[bot]
93fa8bacfb
Merge master into staging-next 2022-07-30 06:01:19 +00:00
Anderson Torres
295ce69fae
Merge pull request #183581 from r-ryantm/auto-update/4th
_4th: 3.64.0 -> 3.64.1
2022-07-29 22:49:26 -03:00
Anderson Torres
869ee59fe2
Merge pull request #183650 from r-ryantm/auto-update/jwasm
jwasm: 2.14 -> 2.15
2022-07-29 22:48:55 -03:00
github-actions[bot]
50de8aa60e
Merge master into staging-next 2022-07-29 18:01:27 +00:00
R. Ryantm
5960a2d1b4 jwasm: 2.14 -> 2.15 2022-07-29 12:01:31 +00:00
Josh Holland
8a156b259a julia-bin: add meta.mainProgram 2022-07-29 12:00:02 +01:00
github-actions[bot]
dc9426f3b8
Merge staging-next into staging 2022-07-29 06:01:59 +00:00
R. Ryantm
fc630be0e4 gleam: 0.21.0 -> 0.22.1 2022-07-29 00:20:09 -04:00
R. Ryantm
9a1aa7d8ae _4th: 3.64.0 -> 3.64.1 2022-07-29 03:51:15 +00:00
github-actions[bot]
a2df1eb5b9
Merge staging-next into staging 2022-07-29 00:03:05 +00:00
Mario Rodas
7a2d461bf2
Merge pull request #183271 from r-ryantm/auto-update/cmdstan
cmdstan: 2.30.0 -> 2.30.1
2022-07-28 14:15:45 -05:00
Robert Hensing
61a510bdcb
Merge pull request #177232 from asbachb/remove/oldjdk
oraclejdk14: Removed as it's end of life since 09/2020
2022-07-28 20:10:47 +02:00
Bernardo Meurer
88c63ca65a
Merge pull request #182513 from trofi/strip-for-host-and-target
gcc: enable stripping for cross-compilers
2022-07-28 00:30:49 -07:00
github-actions[bot]
c5298a170d
Merge staging-next into staging 2022-07-27 18:02:13 +00:00
github-actions[bot]
f6895f13b0
Merge master into staging-next 2022-07-27 18:01:33 +00:00
José Luis Lafuente
dae7b421f7
graalvm-ce: 22.1.0 -> 22.2.0 2022-07-27 12:57:41 +02:00
github-actions[bot]
c419834223
Merge master into haskell-updates 2022-07-27 00:16:24 +00:00
github-actions[bot]
54f2dacce1
Merge staging-next into staging 2022-07-27 00:03:09 +00:00
github-actions[bot]
f110f87498
Merge master into staging-next 2022-07-27 00:02:31 +00:00
Sandro
7366559383
Merge pull request #182124 from willcohen/emscripten-3.1.16
emscripten: 3.1.15 -> 3.1.17
2022-07-26 21:30:31 +02:00
sternenseemann
078346d55e haskell.compiler.ghc941: init at 9.4.0.20220721 2022-07-26 21:09:03 +02:00
Austin Seipp
4cd955979c bluespec: set mainProgram=bsc
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2022-07-26 13:25:23 -05:00
github-actions[bot]
b21eff1a41
Merge staging-next into staging 2022-07-26 18:02:15 +00:00
github-actions[bot]
1071ab374f
Merge master into staging-next 2022-07-26 18:01:32 +00:00
Sandro
3bbb296d9a
Merge pull request #178973 from r-ryantm/auto-update/closure-compiler
closurecompiler: 20220502 -> 20220601
2022-07-26 17:40:41 +02:00
Will Cohen
3a46b467ac emscripten: 3.1.15 -> 3.1.17 2022-07-26 09:30:36 -04:00
Florian Klink
4d1e04c00f go_1_18: backport CL417615
Upstream reverted cmd/compile: revert "fix missing dict pass for type
assertions", as it's causing compilation errors in programs like gopass
- see https://github.com/gopasspw/gopass/issues/2280 and
https://github.com/NixOS/nixpkgs/issues/182440.

The revert has already been cherry-picked to HEAD, but there's no
backport release yet. This can be reverted once there's a new release
with that commit.
2022-07-26 09:24:40 +10:00
Sergei Trofimovich
eece5d0dc0 gcc: enable stripping for cross-compilers
With explicit support for distinction between Host and Target strip paths
we can now safely strip ELF binaries with their according strip tools
without fear of damaging binaries due to architecture mismatch.

Closure size change for `pkgsCross.mingwW64.gcc12Stdenv.cc.cc`:

    # before:
    $ nix path-info -Sh $(nix-build -A pkgsCross.mingwW64.gcc12Stdenv.cc.cc) | unnix
    /<<NIX>>/x86_64-w64-mingw32-stage-final-gcc-debug-12.1.0           2.5G

    # after:
    $ nix path-info -Sh $(nix-build -A pkgsCross.mingwW64.gcc12Stdenv.cc.cc) | unnix
    /<<NIX>>/x86_64-w64-mingw32-stage-final-gcc-12.1.0         1.5G
2022-07-25 11:06:58 +01:00
github-actions[bot]
3a848d77a3
Merge staging-next into staging 2022-07-24 18:02:10 +00:00
Sergei Trofimovich
c7062b9769
Merge pull request #181994 from trofi/gcc-drop-outdated-sed
gcc: drop outdated sed for system headers clobber
2022-07-24 15:01:22 +01:00
Sergei Trofimovich
f315837ee4
Merge pull request #182377 from trofi/fix-sbcl-on-aarch64-darwin
sbcl_2_1_10, sbcl_2_1_11: fix build on arm64-darwin (-fno-common fall…
2022-07-24 14:48:21 +01:00
Sergei Trofimovich
ea8e124000 gcc: always enable inhibit_libc=true for --without-headers builds
It's a follow-up to the breakage caused by 21966e13d2
("gcc: pass --with-build-sysroot=/"). It caused `pkgsLLVM`
cross-toolchain bootstrap breakage:

    $ nix build --no-link -f. pkgsLLVM.hello
    ...
    failed: /nix/store/...-x86_64-unknown-linux-gnu-stage-static-gcc-13.0.0.drv:
    ...
    configure flags: ... --enable-languages=c --disable-multilib \
      --disable-shared --enable-plugin ... --disable-libssp --disable-nls \
      --without-headers --disable-threads --disable-libgomp --disable-libquadmath \
      --disable-shared --disable-libatomic --disable-decimal-float --disable-libmpx \
      --disable-bootstrap \
      \
      --build=x86_64-unknown-linux-gnu \
      --host=x86_64-unknown-linux-gnu \
      --target=x86_64-unknown-linux-gnu
    ...
    The directory that should contain system headers does not exist:
      /usr/include
    make[2]: *** [Makefile:3279: stmp-fixinc] Error 1 shuffle=1658621302
    rm gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod gpl.pod cpp.pod gcov.pod lto-dump.pod
    make[2]: Leaving directory '/build/build/gcc'

Note: it's a no-libc build. It's not expected to use any libc headers.
But in this case fixincludes tries to run and uses default /usr/include
location.

Fixinsludes is not normally expected to run during cross-compilation
on --without-headers. gcc/configure.ac:

    : ${inhibit_libc=false}
    if { { test x$host != x$target && test "x$with_sysroot" = x ; } ||
           test x$with_newlib = xyes ; } &&
         { test "x$with_headers" = xno || test ! -f "$target_header_dir/stdio.h"; } ; then
           inhibit_libc=true
    fi

The change explicitly passes inhibit_libc=true to configure to disable
include fixing on such cases.

Fixed `nix build --no-link -f. pkgsLLVM.hello` toolchain bootstrap.
2022-07-24 09:54:49 +01:00
John Ericson
21966e13d2
Merge pull request #181943 from trofi/fix-cross-built-gcc
gcc: pass --with-build-sysroot=/
2022-07-23 23:52:07 -04:00
Jan Tojnar
b29a70086f
Merge pull request #182588 from jtojnar/gnome-staging
GNOME staging updates
2022-07-23 21:40:41 +02:00
Sergei Trofimovich
34636efced gcc: pass --with-build-sysroot=/ for gcc builds
Without this change cross-built gcc fails to detect stack protector style:

    $ nix log -f pkgs/stdenv/linux/make-bootstrap-tools-cross.nix powerpc64le.bootGCC | fgrep __stack_chk_fail
    checking __stack_chk_fail in target C library... no
    checking __stack_chk_fail in target C library... no

It happens because gcc treats search paths differently:

    https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/configure.ac;h=446747311a6aec3c810ad6aa4190f7bd383b94f7;hb=HEAD#l2458

     if test x$host != x$target || test "x$TARGET_SYSTEM_ROOT" != x ||
        test x$build != x$host || test "x$with_build_sysroot" != x; then
       ...
       if test "x$with_build_sysroot" != "x"; then
         target_header_dir="${with_build_sysroot}${native_system_header_dir}"
       elif test "x$with_sysroot" = x; then
         target_header_dir="${test_exec_prefix}/${target_noncanonical}/sys-include"
       elif test "x$with_sysroot" = xyes; then
         target_header_dir="${test_exec_prefix}/${target_noncanonical}/sys-root${native_system_header_dir}"
       else
         target_header_dir="${with_sysroot}${native_system_header_dir}"
       fi
     else
       target_header_dir=${native_system_header_dir}
     fi

By passing --with-build-sysroot=/ we trick cross-case to use
`target_header_dir="${with_sysroot}${native_system_header_dir}"`
which makes it equivalent to non-cross
`target_header_dir="${with_build_sysroot}${native_system_header_dir}"`

Tested the following setups:
- cross-compiler without libc headers (powerpc64le-static)
- cross-compiler with libc headers (powerpc64le-debug)
- cross-build compiler with libc headers (powerpc64le bootstrapTools)

Before the change only 2 of 3 compilers detected libc headers.
After the change all 3 compilers detected libc headers.

For darwin we silently ignore '-syslibroot //' argument as it does not
introduce impurities.

While at it dropped mingw special case for no-libc build. Before the change
we passed both '--without-headers --with-native-system-headers-dir' for
no-libc gcc-static builds. This tricked darwin builds to find sys/sdt.h
and fail inhibid_libc builds. Now all targets avoid passing native headers
for gcc-static builds.

While at it fixed correct headers passing to
--with-native-system-headers-dir= in host != target case: we were passing
host's headers where intention was to pass target's headers.
Noticed the mismatch as a build failure on pkgsCross.powernv.stdenv.cc
on darwin where `sys/sdt.h` is present in host's headers (libSystem)
but not target's headers (`glibc`).

Co-authored-by: Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com>
2022-07-23 18:40:07 +01:00
Jan Tojnar
c8cbb6ff4e vala: 0.56.1 → 0.56.2
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.1...0.56.2
2022-07-23 17:21:35 +02:00
github-actions[bot]
c3b55bb331
Merge master into staging-next 2022-07-22 18:01:23 +00:00
Brian Leung
62ab1e3d0b kaitai-struct-compiler: 0.9 -> 0.10 2022-07-22 08:41:27 -07:00
Sergei Trofimovich
26326511ef sbcl_2_1_10, sbcl_2_1_11: fix build on arm64-darwin (-fno-common fallout)
Withut this upstream backport build on arm64-drwin fails as:

    duplicate symbol '_os_vm_page_size' in:
        os-common.o
        arm64-bsd-os.o
2022-07-21 22:08:27 +01:00
github-actions[bot]
9dbe8733d5
Merge staging-next into staging 2022-07-21 06:02:02 +00:00