-
-
Notifications
You must be signed in to change notification settings - Fork 19.5k
Minimal set of changes to get FreeBSD stdenv building again #296581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
1fccf6a
Minimal set of changes to get FreeBSD stdenv building again
rhelmot 4f92570
Update maintainers/maintainer-list.nix
rhelmot af93d00
Remove dead code
rhelmot f63b420
FreeBSD update.py: Add type annotation
rhelmot 384d080
Update pkgs/os-specific/bsd/freebsd/update.py: add type annotation
rhelmot 19b9753
FreeBSD update.py: Add type annotations
rhelmot 0aaf0eb
lint update.py
rhelmot 306fb57
Update pkgs/stdenv/freebsd/autotools-abspath.sh: make enumeration cle…
rhelmot 04e3501
meson: convert pkgconfig patch to diff
rhelmot 6699990
chore: replace freebsd13 with freebsd globally
rhelmot d81c159
freebsd: include some patches which didn't make it into the merge
rhelmot b91401c
meson: make freebsd patch unconditional
rhelmot 3ef8c6b
expect: cleanup - move NIX_CFLAGS_COMPILE into env package env declar…
rhelmot 165b329
cyrus_sasl: cleanup - remove commented line
rhelmot 246fde6
coreutils: remove spurious option
rhelmot b4fbf66
stdenv-freebsd: clean up formatting for initialPath
rhelmot c4c8309
freebsd/by-name: cleanup - remove ... from package arguments
rhelmot 3c28dd7
freebsd.bin: remove dead code
rhelmot bf114ed
llvmPackages16.compiler-rt: reformat substituteInPlace calls
rhelmot cdca9d6
freebsd.libncurses-tinfo: remove dead code
rhelmot b2557e4
freebsd.iconv: init
rhelmot 1005c14
meson: make freebsd diff patch actually apply
rhelmot 5e29ff7
freebsd.libdl: init
rhelmot e635092
FreeBSD bootstrap: remove libcxxabi
rhelmot e4a8691
libxcrypt: fix build on freebsd/llvm17
rhelmot 4458c09
llvmPackages17.libcxx: fix FreeBSD vis a vis static compilation
rhelmot db51a48
zlib: Fix linker error on freebsd/llvm17
rhelmot e50b523
binutils: fix linker error on freebsd/llvm17
rhelmot 00985a1
ncurses: add a flag to prevent linker errors for FreeBSD cross
rhelmot 5c6e061
stdenv/freebsd: update bootstrap hashes
rhelmot 62b21b9
rhash: make FreeBSD patches less ad-hoc
rhelmot fe0ffcf
bintools-wrapper: only install existing outputs
rhelmot c282078
freebsd: fix infinite recursion; remove premature drm stuff; add libn…
rhelmot 2ab4ef2
bintools-wrapper, cc-wrapper: do not propagate outputsToInstall
rhelmot 0bc8964
Merge remote-tracking branch 'upstream/staging' into freebsd-minimal
rhelmot e38418f
bintools-wrapper: uncomment assertion
rhelmot 224ea7e
Merge branch 'staging' into freebsd-minimal
rhelmot 36dba9c
Merge remote-tracking branch 'upstream/master' into freebsd-minimal
rhelmot 7098aea
Merge remote-tracking branch 'upstream/staging' into freebsd-minimal
rhelmot 1eff7de
freebsd: fix additional merge conflicts
rhelmot 6415043
stdenv/freebsd: update bootstrap hashes
rhelmot 2cb8c01
stdenv/freebsd: Pass runtimeShell
artemist 3388ede
stdenv/freebsd: finish making things eval
rhelmot 081de11
freebsd: do not use compiler with libs for compiling libc
rhelmot e67d7c5
Update bootstrap hashes
rhelmot 22fae3d
stdenv/freebsd: fix eval again
rhelmot c3154d4
lib: add x86_64-freebsd back to flake-systems
rhelmot 1c8e902
rsync: Make enableLZ4 = false actually work
rhelmot 71fdd08
stdenv/freebsd: provide locales to all stdenvs, not just the final one
rhelmot 9c08ec7
rsync: Make enableOpenSSL = false actually work
rhelmot 1291482
llvmPackages: actually use previously-added patches
rhelmot 3d759aa
freebsd.boot-install: filter the arguments that are not applicable to…
rhelmot c01e88d
cmake: remove propagatedBuildInput ps and patch code to use an abspat…
rhelmot 748300b
expect: clean up the patches a bit
rhelmot 9ec1473
coreutils: switch freebsd singleBinary default to shebangs
rhelmot 6123b96
texinfo: remove unneeded CFLAGS entry
rhelmot 0caae9c
cpython: remove deterministic uname and commit harder to patching una…
rhelmot 61fc724
freebsd: strip installed binaries, remove associated hack from coreutils
rhelmot ab98306
re-disable FreeBSD single binary
rhelmot 2715514
cpython: make uname patch unconditional
rhelmot 6639fd2
bash: remove a configure flag now that we have a stripped libc
rhelmot f7f7aa4
coreutils: make autoreconfHook patch conditional
rhelmot 8b4ad6a
all-packages: remove some extraneous code to reduce the diff
rhelmot 8642aac
freebsd.locale: init
rhelmot 3cba71f
Undo the libuuid diff, it's not needed for right now.
rhelmot 9c98c7e
meson: clean up dramatically
rhelmot 0a48f4d
re2c: undo disable tests
rhelmot 18e19db
bash: make FreeBSD configure flag less conditional
rhelmot ce6fa56
bintools: drop the jank hunk
rhelmot 8a95ec4
make autotools-abspath obsolete
rhelmot 111c50f
coreutils: enable single-binary build on FreeBSD
rhelmot 9da4293
freebsd.libncurses: Fix typo
artemist File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
pkgs/development/compilers/llvm/16/compiler-rt/asan-offset.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- a/lib/asan/CMakeLists.txt 2022-06-22 16:46:24.000000000 +0000 | ||
| +++ b/lib/asan/CMakeLists.txt | ||
| @@ -46,7 +46,7 @@ set(ASAN_STATIC_SOURCES | ||
| asan_rtl_static.cpp | ||
| ) | ||
|
|
||
| -if (NOT WIN32 AND NOT APPLE) | ||
| +if (LINUX) | ||
| list(APPEND ASAN_STATIC_SOURCES | ||
| asan_rtl_x86_64.S | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
pkgs/development/compilers/llvm/16/compiler-rt/freebsd-i386.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| --- a/lib/builtins/fp_lib.h 1969-12-31 16:00:01.000000000 -0800 | ||
| +++ b/lib/builtins/fp_lib.h 2023-12-21 23:39:36.066927293 -0800 | ||
| @@ -26,18 +26,6 @@ | ||
| #include <stdbool.h> | ||
| #include <stdint.h> | ||
|
|
||
| -// x86_64 FreeBSD prior v9.3 define fixed-width types incorrectly in | ||
|
Mic92 marked this conversation as resolved.
|
||
| -// 32-bit mode. | ||
| -#if defined(__FreeBSD__) && defined(__i386__) | ||
| -#include <sys/param.h> | ||
| -#if __FreeBSD_version < 903000 // v9.3 | ||
| -#define uint64_t unsigned long long | ||
| -#define int64_t long long | ||
| -#undef UINT64_C | ||
| -#define UINT64_C(c) (c##ULL) | ||
| -#endif | ||
| -#endif | ||
| - | ||
| #if defined SINGLE_PRECISION | ||
|
|
||
| typedef uint16_t half_rep_t; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.