!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

245 Members
81 Servers

Load older messages


SenderMessageTime
28 Jul 2024
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan to matthewcroughan - going to nix.camp.16:15:40
@artemist:mildlyfunctional.gayartemistIs there a reason we build compiler-rt twice on FreeBSD? Upstream clang hardcodes `-lgcc --as-needed -lgcc_s --no-as-needed` link arguments so the `libclang_rt.builtins` library should never be used17:52:02
@artemist:mildlyfunctional.gayartemist We provide both libgcc.a and libgcc_s.so in freebsd.libc and they're better on some architectures because they're built with FreeBSD headers, e.g. they're required unless we patch out CPU feature detection on aarch64-freebsd 18:03:30
30 Jul 2024
@Ericson2314:matrix.orgJohn Ericson @artemist:mildlyfunctional.gay: oops I thought I added a thing so we only built it once? 17:30:01
@Ericson2314:matrix.orgJohn EricsonBefore I merged the PR?17:30:31
@Ericson2314:matrix.orgJohn EricsonAlso ``` /build/compiler-rt-src-18.1.8/compiler-rt/lib/builtins/cpu_model/x86.c:900:3: error: call to undeclared function 'static_assert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 900 | static_assert(sizeof(Features) / sizeof(Features[0]) == 4, ""); | ^ /build/compiler-rt-src-18.1.8/compiler-rt/lib/builtins/cpu_model/x86.c:939:3: error: call to undeclared function '__assert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 939 | assert(__cpu_model.__cpu_vendor < VENDOR_MAX); | ^ /build/compiler-rt-src-18.1.8/compiler-rt/lib/builtins/cpu_model/x86.c:24:32: note: expanded from macro 'assert' 24 | #define assert(e) ((e)?(void)0:__assert(__FUNCTION__,__FILE__,__LINE__,#e)) | ```17:30:43
@Ericson2314:matrix.orgJohn EricsonI noticed this failure building freebsd static, I think it's new because got almost the same failure with OpenBSD and that was working a few weeks ago17:32:01
@Ericson2314:matrix.orgJohn Ericson(also with LLVM 18)17:32:09
@artemist:mildlyfunctional.gayartemist We might just want to add FreeBSD headers to compiler-rt, then remove it from freebsd.libc 18:36:56
@artemist:mildlyfunctional.gayartemist We'd need to add another link to libcompiler_rt.a, but that's not a huge problem 18:37:16
@Ericson2314:matrix.orgJohn Ericson artemist: well with the current tricks we might already be using the LLD cyclic linking? 18:48:41
@Ericson2314:matrix.orgJohn EricsonI will try to see what changed in recently18:48:48
@Ericson2314:matrix.orgJohn EricsonIt is not good to rely on undefined symbols, but I am curious18:49:05
@artemist:mildlyfunctional.gayartemist static_assert is defined in FreeBSD headers to _Static_assert, which is a clang keyword, so it shouldn't mean anything for linking 18:53:31
@artemist:mildlyfunctional.gayartemistI've mostly been messing with compiler-rt becuase libc on aarch64-freebsd needs compiler-rt, but compiler-rt doesn't require libc18:54:16
@Ericson2314:matrix.orgJohn Ericson artemist: will I see your compiler-rt work if I go look at open PRs? 18:58:04
@Ericson2314:matrix.orgJohn Ericson...I guess that '18:58:13
@Ericson2314:matrix.orgJohn Ericson * ...I guess that's something I can swner myself ;)18:58:19
@Ericson2314:matrix.orgJohn Ericson * ...I guess that's something I can answer myself :)18:58:26
@artemist:mildlyfunctional.gayartemistNo, it's part of aarch64 stuff that needs cleanup 18:58:31
@artemist:mildlyfunctional.gayartemistI can try to split it into its own PR today though 18:59:11
@Ericson2314:matrix.orgJohn EricsonOK18:59:57
@Ericson2314:matrix.orgJohn EricsonI just saw your 1 open PR and merged it, btw19:00:04
@artemist:mildlyfunctional.gayartemistThanks, that's a dependency for aarch6419:08:09
@artemist:mildlyfunctional.gayartemist hm... We can't entirely remove compiler-rt from FreeBSD libc because libgcc_s uses some files from compiler_rt and some files from outside it. We could remove llvmPackages.compiler-rt but I don''t know if the llvm maintainers want that 20:28:58
@artemist:mildlyfunctional.gayartemist Optimally we'd figure out how to use llvmPackages.compiler_rt for sanitizers but not builtins, though I'm not sure if all the FreeBSD sanitizer stuff is properly upstream 20:36:03
1 Aug 2024
@hexa:lossy.networkhexahttps://lwn.net/ml/all/2831c5a6-cfbf-4fe0-b51c-0396e5b0aeb7@app.fastmail.com/01:54:12
@hexa:lossy.networkhexa

[RFC} arm architecture board/feature deprecation timeline

01:54:18
@hexa:lossy.networkhexa *

[RFC} arm architecture board/feature deprecation timeline

01:54:22
@leoisverycool:matrix.orgleoisverycool joined the room.06:18:21

Show newer messages


Back to Room ListRoom Version: 6