Commit Graph

77 Commits

Author SHA1 Message Date
Sergei Trofimovich
794d821503 dmd: pull in missing libgcc.so dependency
Without the change autopatchelf fails to find the dependency as:

    searching for dependencies of ...-dmd-bootstrap-2.090.1/bin/dmd
        libgcc_s.so.1 -> not found!
    auto-patchelf: 6 dependencies could not be satisfied

Full build log: https://hydra.nixos.org/log/plma45m19p0cm1i04c4qzmfi54n38ydk-dmd-bootstrap-2.090.1.drv
2023-05-09 20:25:54 -07:00
Sergei Trofimovich
e2e400e267 dmd: revert "set --sysroot=/ to avoid cc-wrapper value"
This reverts commit 7c73d1e025.

commit 8c80bd08b7
("build-support/cc-wrapper: pass in non-existent --sysroot= to untangle
from libc") was reverted. We can drop the workaround.
2023-01-29 07:49:37 +00:00
Sergei Trofimovich
f53b71ae34
Merge pull request #213141 from trofi/dmd-sysroot-workaround
dmd: set --sysroot=/ to avoid cc-wrapper value
2023-01-28 21:40:32 +00:00
Sergei Trofimovich
7c73d1e025 dmd: set --sysroot=/ to avoid cc-wrapper value
After https://github.com/NixOS/nixpkgs/pull/210004 `dmd` started failing
build as:

    ld: warning: libm.so.6, needed by ./generated/linux/release/64/lib.so, not found (try using -rpath or -rpath-link)
    ld: /build/druntime/generated/linux/release/64/libdruntime.so: undefined reference to `log10@GLIBC_2.2.5'

This happens because --sysroot=/nix/store/does/not/exist removes not
just include headers by prefixing wrong path, but also removes RUNPATH
dependencies of linked libraries. It's an unintended effect.

Restore the build by reversing the effect with --sysroot=/.
2023-01-28 11:34:39 +00:00
Sergei Trofimovich
a4b7bafc65 dmd: fix Check post-hook to be postCheck, not postBuild 2023-01-28 09:39:29 +00:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
OPNA2608
89caeb83f6 dmd: Address PR feedback 2022-10-26 18:49:13 +02:00
OPNA2608
9695c4ee8d dmd: 2.097.2 -> 2.100.2, refactor, fix on Darwin 2022-10-23 16:12:45 +02:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Sergei Trofimovich
ca4361d5de dmd: disable whitespace-sensitive tests for binutils-2.39
Without the change two tests fail on `binutils-2.39` due to whitespace
change in `objdump` output as:

    FAILED targets:
    - runnable/cdvecfill.sh
    - compilable/cdcmp.d

Let's disable the tests until they are fixed upstream:
    https://issues.dlang.org/show_bug.cgi?id=23317
2022-09-01 23:43:59 +01:00
OPNA2608
1ff67969b5 dmd: Fix grep in test after gdb bump 2022-06-18 12:03:55 +02:00
Rick van Schijndel
0b45cae8a3
treewide: pkgs/development/compilers: mark broken for darwin 2022-05-30 13:41:09 +02:00
Artturi
cf3cb4893f
Merge pull request #152988 from dukc/dmdLegacyFix 2022-05-23 21:17:47 +03:00
Ate Eskola
e4650d6d6c dmd: made derivation compile when overriding version to 2.084.1, 2.087.1 or 2.088.1. 2022-05-23 12:29:10 +03:00
OPNA2608
d2f268745a treewide: autoPatchelfHook only on Linux 2022-03-23 21:37:39 +01:00
adisbladis
fcf5397793
Merge pull request #135905 from dukc/secondDmd2097
D compiler update
2021-09-13 11:36:55 -05:00
Ate Eskola
84affa0a68 dmd 2.095.1 -> 2.097.2
ldc 1.25.1 -> 1.27.1
2021-08-27 14:36:53 +03:00
Felix Buehler
82cb33a0ae treewide: remove meta.version 2021-07-18 00:07:38 +02:00
JonathanILevi
b623794aba
dmd: mark unbroken (#119647)
It is building fine locally, tested by myself and @SuperSandro2000 (who had added the broken tag).

Should this be tested on hydra before removing it?  I don't know if that is even possible.
2021-04-16 21:33:08 +02:00
Thomas Mader
7e05c58069
dmd: 2.091.1 -> 2.095.1 2021-03-18 17:41:31 +02:00
Sandro Jäckel
88513c0d88
dmd: mark broken
failing on hydra since 7 months https://hydra.nixos.org/build/133752088
2021-03-17 22:55:10 +01:00
Ben Siraphob
82454e9df8 treewide: remove implicit use of stdenv.lib 2021-01-27 20:04:57 +07:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Vladimír Čunát
336bc8283b
Re-Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
This reverts commit c778945806.

I believe this is exactly what brings the staging branch into
the right shape after the last merge from master (through staging-next);
otherwise part of staging changes would be lost
(due to being already reachable from master but reverted).
2020-10-26 08:19:17 +01:00
midchildan
5e8e75a0c6
dmd: relax ld purity check for checkPhase
Fix #97420
2020-09-09 00:57:08 +09:00
Lionello Lunesu
e0777cba19 Patch bash in test6952.d 2020-04-29 07:31:52 +08:00
Lionello Lunesu
6e7a36bcb3 Update patch dlang/dmd#11053 2020-04-29 07:31:52 +08:00
Lionello Lunesu
6c9beaa744 dmd: 2.085.1 -> 2.091.1
Apply patch dlang/dmd#11053
2020-04-29 07:31:52 +08:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Frederik Rietdijk
f0a4305e0a Merge staging-next into staging 2019-05-14 10:24:46 +02:00
Thomas Mader
2c4bc9aab8 dmd, gtk: Remove dontStrip
because with binutils 2.31 everything is working again
(#59390)
2019-05-12 17:22:35 +02:00
Thomas Mader
6948e565a7 dmd: Enable dmd tests again 2019-05-12 10:50:48 +02:00
Thomas Mader
85adc80b3e dmd: 2.084.1 -> 2.085.1 2019-04-11 23:03:18 +02:00
Thomas Mader
386a760cfa dmd: Fix dmd.conf 2019-02-22 14:53:56 -05:00
Thomas Mader
64c958e9a4 dmd: 2.084.0 -> 2.084.1 2019-02-22 07:22:03 +01:00
Jörg Thalheim
f9aa74f451
Merge pull request #53886 from tex/tex/dlang
DMD to provide libphobos2.so.x.y
2019-01-21 16:29:20 +00:00
Milan Svoboda
3f634dd88c DMD to provide libphobos2.so.x.y 2019-01-14 18:24:11 +01:00
Thomas Mader
92236be735 dmd: 2.083.1 -> 2.084.0 2019-01-08 07:51:31 +01:00
Thomas Mader
50e450cc2d dmd: 2.081.2 -> 2.083.1 2018-12-27 12:52:36 +01:00
Thomas Mader
89e4834892 dmd: 2.081.1 -> 2.081.2 2018-08-19 21:53:13 +02:00
Thomas Mader
643d9a08ef dmd: 2.079.1 -> 2.081.1
Needed to switch to ldc as bootstrap compiler to fix the compilation
2018-08-11 16:52:59 +02:00
Thomas Mader
e762dca831 dmd,dtools,dub: 2.079.0 -> 2.079.1 2018-05-19 23:17:30 +02:00
Thomas Mader
61432bcd71 dmd: 2.078.2 -> 2.079.0 2018-03-03 18:29:48 +01:00
Thomas Mader
95e86ba651 dmd: 2.078.1 -> 2.078.2 2018-02-10 10:48:28 +01:00
Thomas Mader
50c23666fc dmd: 2.078.0 -> 2.078.1 2018-01-26 22:08:28 +01:00
Thomas Mader
fa6538fbc4 dmd: 2.075.1 -> 2.078.0 2018-01-05 20:50:30 +01:00
Thomas Mader
b2e76afa99 dmd, ldc, dub: Inherit buildInput and meta from build derivation 2017-12-08 22:12:11 +01:00