summary refs log tree commit diff
path: root/pkgs/development/libraries/boehm-gc
AgeCommit message (Collapse)AuthorFilesLines
2023-05-16vlang: fix build on darwinWeijia Wang1-0/+2
2022-12-07boehmgc: little cleanupSandro Jäckel1-4/+3
2022-11-06boehmgc: switch from versionAtLeast to == for powerpc workaroundAdam Joseph1-3/+7
2022-11-06rephrase to avoid mass-rebuildAdam Joseph1-4/+4
2022-11-06boehmgc: disable SOFT_VDB on powerpc64le for version 8.2.2Adam Joseph1-0/+11
Upstream has not yet fixed the bug: https://github.com/ivmai/bdwgc/issues/376 https://github.com/ivmai/bdwgc/issues/479 However there is a recommended workaround: https://github.com/ivmai/bdwgc/issues/479#issuecomment-1279687537 This adds `CFLAGS_EXTRA=-DNO_SOFT_VDB` to the `makeFlags`, which prevents direct accesses to `/proc` being used for tracking dirtied pages (which must be rescanned): https://github.com/ivmai/bdwgc/blob/54522af853de28f45195044dadfd795c4e5942aa/include/private/gcconfig.h#L741 The collector will fall back to using mprotect() to trigger page faults on writes to clean pages and maintain its own dirty bits, which is slightly less efficient but (in this case) more reliable. Unreliable page-dirtiness bits can lead to use-after-free() corruption; this is not a situation where disabling the tests is a good idea.
2022-09-19boehmgc: disabled tests on x86_64-darwinzowoq1-1/+2
2022-08-30boehmgc: 8.0.6 -> 8.2.2Ivan Maidanski2-20/+4
https://github.com/ivmai/bdwgc/releases/tag/v8.2.2 Drop mcfgthread.patch (upstreamed).
2022-07-17boehmgc: refactorAndersonTorres1-21/+24
- use finalAttrs-style recursive attributes - create option for mmap - add myself as maintainer
2022-02-01boehmgc: drop musl flags, per upstream's note (!) (#157625)Will Dietz1-4/+0
https://github.com/NixOS/nixpkgs/commit/0938316e058850460ea206c8eb2ebb819cdee493#commitcomment-63005097 Resulting binaries are identifical according to diffoscope (other than embedded /nix/store/.../ paths). FWIW, going back through versions we've packaged, the most recent instance where these flags produced differing outputs was in 7.6.8 (comparing $out's only, FWIW).
2022-01-26treewide: replace nix_2_3 with nixVersions.nix_2_3Bernardo Meurer1-13/+2
2021-12-26boehmgc: revert "8.0.6 -> 8.2.0", experimental releaseSergei Trofimovich1-3/+3
Revert also fixes build guile-3. Without it the build fails as: error: builder for '/nix/store/v3vkr9vaxg278mdi6cv2a0jaqw8mn3xp-guile-3.0.7.drv' failed with exit code 2; last 10 log lines: > from alist.c:31: > /nix/store/2dzi3ls093ffivpp6ykhb3wh33ngyaww-boehm-gc-8.2.0-dev/include/gc/gc.h:1784:11: fatal error: gc_pthread_redirects.h: No such file or directory > 1784 | # include "gc_pthread_redirects.h" > | ^~~~~~~~~~~~~~~~~~~~~~~~ Upstream fixed it in master only.
2021-12-17boehmgc: Add Nix packages to passthruRobert Hensing1-0/+14
2021-12-17boehmgc: Make comment future proofRobert Hensing1-1/+1
It gets updated to new tags automatically but the line number would have to change.
2021-12-17boehmgc: 8.0.6 -> 8.2.0R. Ryantm1-3/+3
2021-10-08Drop boehmgc_766 attributeIvan Maidanski3-128/+1
Reason: - boehmgc_766 (pkgs/top-level/all-packages.nix) is only defined but not used in Nixpkgs, so dropping it will not affect any package in Nixpkgs. It was introduced for the asymptote package which has moved on to the regular boehmgc attribute. There's a slim chance that some user depends on it, but it would be unrealistic to expect us to maintain the attribute indefinitely. Details: - Delete pkgs/development/libraries/boehm-gc/7.6.6.nix - Delete pkgs/development/libraries/boehm-gc/riscv.patch
2021-10-08boehmgc: 8.0.4 -> 8.0.6Ivan Maidanski1-6/+4
https://github.com/ivmai/bdwgc/releases/tag/v8.0.6
2021-01-21pkgs/development/libraries: stdenv.lib -> libBen Siraphob2-4/+4
2021-01-19treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nixJonathan Ringer1-2/+2
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly2-4/+4
2019-11-16Treewide: fix URL permanent redirectsc0bw3b2-6/+6
Permanent redirects on homepages and/or source URLs as reported by Repology
2019-11-11Merge remote-tracking branch 'upstream/master' into mingw-mcfthreadsJohn Ericson1-5/+3
2019-11-11boehm-gc: Fix build on MinGW with mcfgthreadsJohn Ericson2-1/+18
CC @lhmouse
2019-09-29bohem-gc: fix static buildDomen Kožar1-7/+2
2019-09-29boehm-gc: support static + muslMatthew Bauer1-3/+6
2019-08-15treewide: name -> pname (easy cases) (#66585)volth2-2/+2
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
2019-06-18Merge staging-next into stagingFrederik Rietdijk1-1/+1
2019-06-16treewide: remove unused variables (#63177)volth1-1/+1
* treewide: remove unused variables * making ofborg happy
2019-06-15boehm-gc: remove libatomic_ops build inputBen Wolsieffer1-11/+3
2019-06-15boehm-gc: remove unneeded dontStrip attributeBen Wolsieffer1-3/+0
2019-03-02boehmgc: 8.0.2 -> 8.0.4Will Dietz1-2/+2
https://github.com/ivmai/bdwgc/releases/tag/v8.0.4
2019-02-20Merge branch 'staging-next'Vladimír Čunát1-5/+1
This round is without the systemd CVE, as we don't have binaries for that yet. BTW, I just ignore darwin binaries these days, as I'd have to wait for weeks for them.
2019-02-19Merge pull request #54402 from lopsided98/boehm-gc-cross-fixMatthew Bauer1-1/+6
beohm-gc: fix cross build of dependent packages
2019-02-13Merge master into staging-nextFrederik Rietdijk2-2/+2
2019-02-03boehmgc_766: similarly fix CFLAGS w/musl to include space firstWill Dietz1-1/+1
2019-02-03boehmgc: fix CFLAGS w/musl so new args are separate (add a space first)Will Dietz1-1/+1
2019-01-20boehm-gc: don't link to libatomic_ops when cross-compilingBen Wolsieffer1-1/+6
The configure script can't detect whether C11 atomic intrinsics are available when cross-compiling, so it links to libatomic_ops, which has to be propagated to all dependencies. To avoid this, assume that the atomic intrinsics are available.
2019-01-12Merge branch 'master' into staging-nextVladimír Čunát1-1/+2
A couple thousand rebuilds have accumulated on master.
2019-01-11boehmgc: avoid mass rebuild due to the parent commitVladimír Čunát1-0/+1
2019-01-11boehmgc: fix patch urlDmitry Kalinkin1-1/+1
Fixes: 587467a18e ('github-gentoo-compromized_can...') Closes: #53809
2019-01-08boehm-gc: remove obsolete sys_select patchDylan Simon1-4/+1
2018-12-29boehmgc: 8.0.0 -> 8.0.2Will Dietz1-3/+3
https://github.com/ivmai/bdwgc/releases/tag/v8.0.2
2018-10-21boehmgc: 7.6.8 -> 8.0.0R. RyanTM1-2/+2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/boehm-gc/versions
2018-10-08boehmgc: reinstate 7.6.6, use for asymptoteMichael Raskin1-0/+74
A quickfix after #45708
2018-09-20boehmgc: 7.6.6 -> 7.6.8 (#45708)Will Dietz1-2/+2
2018-08-30treewide: Remove usage of remaining redundant platform compatability stuffJohn Ericson1-3/+2
Want to get this out of here for 18.09, so it can be deprecated thereafter.
2018-07-06nix: use boehmgc with enableLargeConfig = trueVladimír Čunát1-1/+2
Fixes #43015 for me and hopefully also similar issues. == Resource consumption == TL;DR: no change for small-memory cases, less CPU for large-memory cases. I assume almost all of the large memory usage is just the expression evaluation and managed by the GC, so I used just `nix-env -q...` to test. Old and new lines for each command follow. I tried to run each several times, but the values were very stable (<1% difference on re-runs), so only one line for each command-version pair is provided. $ time nix-env -f . -qaP --description -A nix >/dev/null - 0.06user 0.01system 0:00.07elapsed 101%CPU (0avgtext+0avgdata 29036maxresident)k + 0.06user 0.01system 0:00.07elapsed 102%CPU (0avgtext+0avgdata 29864maxresident)k $ time nix-env -f . -qaP --description >/dev/null - 6.45user 0.36system 0:06.82elapsed 99%CPU (0avgtext+0avgdata 1021024maxresident)k + 6.23user 0.33system 0:06.57elapsed 100%CPU (0avgtext+0avgdata 938408maxresident)k $ time nix-env -f . --show-trace -qa --drv-path --system --meta --xml 2>&1 >/dev/null - 56.35user 0.96system 0:31.03elapsed 184%CPU (0avgtext+0avgdata 3207708maxresident)k + 44.80user 0.91system 0:26.12elapsed 175%CPU (0avgtext+0avgdata 3192696maxresident)k $ time ./result-nix-large/bin/nix-instantiate --dry-run --eval --strict \ --show-trace ./maintainers/scripts/eval-release.nix > /dev/null - Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS - Command terminated by signal 6 - 175.18user 2.68system 1:17.42elapsed 229%CPU (0avgtext+0avgdata 8468440maxresident)k + 178.48user 2.78system 1:15.11elapsed 241%CPU (0avgtext+0avgdata 8460572maxresident)k
2018-07-02github-gentoo-compromized_cannot-download_boehm-gc-7.6.0-sys_select.patch-fr ↵sander1-1/+1
om-any-mirror - change to gentoo git repository gitweb.gentoo.org
2018-04-20boehmgc: 7.6.4 -> 7.6.6Will Dietz1-2/+2
https://github.com/ivmai/bdwgc/releases/tag/v7.6.6
2018-02-18boehmgc: Add patch for RISC-V support.Shea Levy2-1/+56
2018-02-13changes some targetPlatform to hostPlatform checksWill Dietz1-2/+2