nixpkgs/pkgs/top-level
Francis Couture-Harpin 01e460d69e perlPackages.HashSharedMem: fix build on aarch64-linux
The [(failing-)build log](https://hydra.nixos.org/build/219379873/nixlog/1)
has errors that look like: `undefined symbol: __aarch64_cas8_sync`.

This led me to find out about the newly-introduced `-moutline-atomics`,
which is **on by default** in GCC 10.1 (according to [this blog post](https://community.arm.com/arm-community-blogs/b/tools-software-ides-blog/posts/making-the-most-of-the-arm-architecture-in-gcc-10))
and in Clang 12.0.0 (according to [the release notes](https://releases.llvm.org/12.0.0/tools/clang/docs/ReleaseNotes.html))

Not all ARMv8-A processors support atomic stuff like `__aarch64_cas8_sync`,
it's only those that are ARMv8.1-A or later that do. Examples of
pre-ARMv8.1-A processors include the Cortex-A72 used in the
Raspberry Pi 4 (which is how I discovered this problem (I am running
`hydra` on it, which indirectly depends on `HashSharedMem`)),
and any older ARMv8-A processors.

The problem here is solvable either by linking the compiler runtime library
(which I did not try, since I don't know exactly which one to use)
*or* by simply not generating outlines for atomic operations.

I went with the "easier" path (which was also what was was happening
in older versions of GCC, I think) of disabling atomic outlines with
`-mno-outline-atomics`, and it works!
2023-06-03 17:17:55 -04:00
..
pkg-config tests.pkg-config.defaultPkgConfigPackages: fix cross compilation 2023-05-13 12:55:22 +08:00
agda-packages.nix
aliases.nix uniffi-bindgen: remove 2023-05-27 17:46:16 -04:00
all-packages.nix Merge pull request #235182 from foo-dogsquared/add-gnome-halftone 2023-06-02 21:24:41 +02:00
beam-packages.nix erlang_26: init 2023-05-19 14:13:37 -04:00
config.nix
coq-packages.nix mathcomp-infotheo: init at 0.5.1 (#231077) 2023-05-11 23:09:28 +02:00
cubocore-packages.nix
cuda-packages.nix
darwin-packages.nix apple_sdk: remove cf-private alias 2023-05-01 21:59:03 -04:00
default.nix lib/modules: Move class out of specialArgs 2023-05-06 18:32:58 +02:00
dhall-packages.nix
dotnet-packages.nix dafny: move to separate file 2023-04-29 19:11:12 -04:00
emacs-packages.nix
emscripten-packages.nix
gnuradio-packages.nix gnuradio: Define a common logLib attribute 2023-04-21 13:11:49 +03:00
haskell-packages.nix haskell.compiler.ghc96: 9.6.1 -> 9.6.2 2023-05-30 13:42:03 +02:00
haxe-packages.nix
impure.nix
java-packages.nix javaPackages: cleanup unused code 2023-04-14 22:23:39 -03:00
kodi-packages.nix kodiPackages.visualization-fishbmc: init at 20.2.0 2023-05-16 23:42:03 +02:00
linux-kernels.nix linuxKernel.packages.lenovo-legion: init at 2023-04-02-16-53-51 2023-05-31 11:31:23 +02:00
lua-packages.nix
make-tarball.nix make-tarball.nix: support an absent revcount 2023-05-28 22:30:53 -04:00
metrics.nix
nim-packages.nix illwillwidgets: init at 0.1.11 2023-04-15 21:04:52 +02:00
nixpkgs-basic-release-checks.nix tarball job: tag both derivations as big-parallel 2023-04-30 15:26:22 +02:00
ocaml-packages.nix ocamlPackages.cmarkit: init at 0.1.0 2023-05-15 12:51:40 +02:00
octave-packages.nix
packages-config.nix
perl-packages.nix perlPackages.HashSharedMem: fix build on aarch64-linux 2023-06-03 17:17:55 -04:00
php-packages.nix phpExtensions.relay: init at 0.6.3 2023-05-05 17:34:25 +02:00
python2-packages.nix
python-aliases.nix python3.pkgs.fetchPypi: deprecate in favor of top-level fetchPypi 2023-05-31 13:48:06 -04:00
python-packages.nix pythonPackages.aigpy: init at 2022.7.8.1 2023-06-02 19:13:06 +00:00
qt5-packages.nix qscintilla: remove from libsForQt5 2023-04-27 23:55:28 +03:00
qt6-packages.nix qt6Packages.qtkeychain: allow building with qt6 2023-05-09 09:02:13 +08:00
release-alternatives.nix
release-cross.nix release-cross.nix: test cross compilation to x86_64-freebsd 2023-05-19 07:02:32 -04:00
release-cuda.nix
release-haskell.nix haskell.compiler.ghc96: 9.6.1 -> 9.6.2 2023-05-30 13:42:03 +02:00
release-lib.nix
release-python.nix
release-r.nix
release-small.nix
release.nix pkgs/top-level/release: allow nodejs 16 and openssl 1.1 to be cached on Hydra temporarily 2023-05-20 17:28:03 +02:00
ruby-packages.nix rubyPackages: update 2023-05-20 04:20:00 +00:00
splice.nix
stage.nix trivial-builders: move into the directory named alike (#223429) 2023-05-06 00:16:26 +02:00
unixtools.nix column, locale: don't import from netbsd on darwin 2023-05-16 22:51:02 +03:00
wine-packages.nix