!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

222 Members
67 Servers

Load older messages


SenderMessageTime
14 Feb 2026
@emilazy:matrix.orgemilyoverriding for an individual package can be flag driven17:59:26
@emilazy:matrix.orgemilythough I think NIX_CFLAGS_COMPILE is probably sufficient interface there18:00:02
@r_i_s:matrix.orgris_i seeee18:02:04
@r_i_s:matrix.orgris_ yeah i just think it's weird, people will expect that setting hardeningDisable = ["libcxxhardeningfast"]; to actually disable it 18:02:58
@r_i_s:matrix.orgris_ * yeah i just think it's weird, people will expect setting hardeningDisable = ["libcxxhardeningfast"]; to actually disable it 18:47:29
@emilazy:matrix.orgemilymight be good to support hardeningDisable adding flags? but if we control it with the build-time default + cflags maybe it can just be an override in pkgsExtraHardening and not need the hardening* machinery at all20:34:31
15 Feb 2026
@ilsubyeega:catgirl.cloudilsubyeega (backup) joined the room.02:36:46
16 Feb 2026
@zimward:zimward.moezimward changed their display name from zimward to zim.13:48:43
@zimward:zimward.moezimward changed their display name from zim to zimward.13:50:09
@mon:tchncs.depneumatic changed their profile picture.15:18:12
18 Feb 2026
@r_i_s:matrix.orgris_that's interesting - https://hydra.nixos.org/build/319824740 - since 2026-01-22 we've always been able to find pacret instructions in our aarch64 binaries22:22:07
@r_i_s:matrix.orgris_whether we've got the flag enabled or not22:22:30
@r_i_s:matrix.orgris_and the weird thing is it's for both clang and gcc22:22:47
@r_i_s:matrix.orgris_does this correspond to the gcc 15 switch?22:26:58
19 Feb 2026
@r_i_s:matrix.orgris_ on closer inspection it looks like paciaspis being added to just _init and _fini when "disabled" 19:16:46
@emilazy:matrix.orgemilythose are hand-written assembly, right?19:21:54
@r_i_s:matrix.orgris_beyond my understanding19:33:47
@r_i_s:matrix.orgris_my solution https://github.com/NixOS/nixpkgs/pull/49222119:34:32
21 Feb 2026
@h7x4:nani.wtfh7x4 changed their profile picture.19:27:00
@h7x4:nani.wtfh7x4 changed their profile picture.19:30:26
@h7x4:nani.wtfh7x4 changed their profile picture.19:33:54
22 Feb 2026
@pearl97:matrix.orgPearl joined the room.02:54:30
@kity:kity.wtfproblems changed their profile picture.21:14:52
@kity:kity.wtfproblems changed their profile picture.21:16:14
@ckie:ckie.devmei 🌒& changed their profile picture.22:54:41
23 Feb 2026
@haylin:envs.nethaylin (moved to @haylin:catgirl.cloud) changed their display name from haylin to haylin (moved to @haylin:catgirl.cloud).04:02:04
@dsdotname:matrix.orgTomáš Mark joined the room.09:39:52
24 Feb 2026
@rend0e_:matrix.orgRen joined the room.10:36:58
@rend0e_:matrix.orgRen changed their display name from rend0e_ to Ren.12:56:39
25 Feb 2026
@kity:kity.wtfproblems trying to build this expression:
with import <nixpkgs> {
  config.allowUnsupportedSystem = true;
  crossSystem = {
    system = "i486-netbsd";
    rustc.config = "i486-unknown-netbsd";
    rustc.platform = {
      arch = "x86";
      cpu = "i486";
      data-layout = "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-f64:32:64-f80:32-n8:16:32-S128";
      dwarf-version = 2;
      dynamic-linking = true;
      executables = true;
      has-rpath = true;
      is-builtin = true;
      llvm-target = "i486-unknown-netbsdelf";
      max-atomic-width = 64;
      no-default-libraries = false;
      os = "netbsd";
      position-independent-executables = true;
      pre-link-args = {
        gcc = [
          "-m32"
        ];
      };
      relro-level = "full";
      stack-probes = {
        kind = "call";
      };
      target-family = [
        "unix"
      ];
      target-mcount = "__mcount";
      target-pointer-width = "32";
      use-ctors-section = true;
    };
  };
};

matrix-continuwuity
errors out with this:
libcMinimal-netbsd> i486-unknown-netbsdelf-gcc -O2   -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2  -Wno-format-zero-length     -fPIE    -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/include -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc -I/build/libcMinimal-netbsd-netbsd-filtered-src/sys -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/compat/../locale -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/compat/stdlib -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/compat/../stdlib -D__BUILD_LEGACY -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/../../common/lib/libc/quad -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/../../common/lib/libc/string -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/../../common/lib/libc/arch/i386/string -D__DBINTERFACE_PRIVATE -I/build/libcMinimal-netbsd-netbsd-filtered-src/libexec/ld.elf_so -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/dlfcn -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/gdtoa -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/locale -DHonor_FLT_ROUNDS -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/arch/i386/gdtoa -DWITH_RUNE -I/build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DUSG_COMPAT  -c    -D_I18N_DYNAMIC -fPIC   nslexer.c -o nslexer.pico
libcMinimal-netbsd> --- nslexer.o ---
libcMinimal-netbsd> In file included from /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l:38:
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l: In function '_nsyylex':
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/include/namespace.h:674:33: error: implicit declaration of function '_strdup'; did you mean 'strdup'? [-Wimplicit-function-declaration]
libcMinimal-netbsd>   674 | #define strdup                  _strdup
libcMinimal-netbsd>       |                                 ^~~~~~~
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l:78:34: note: in expansion of macro 'strdup'
libcMinimal-netbsd>    78 |                         if ((p = strdup(yytext)) == NULL) {
libcMinimal-netbsd>       |                                  ^~~~~~
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l:78:32: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
libcMinimal-netbsd>    78 |                         if ((p = strdup(yytext)) == NULL) {
libcMinimal-netbsd>       |                                ^
libcMinimal-netbsd> --- yplib.pico ---
libcMinimal-netbsd> i486-unknown-netbsdelf-objcopy -x  yplib.pico
libcMinimal-netbsd> --- nslexer.o ---
libcMinimal-netbsd> *** [nslexer.o] Error code 1
libcMinimal-netbsd> 
libcMinimal-netbsd> make: stopped in /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc
libcMinimal-netbsd> --- nslexer.pico ---
libcMinimal-netbsd> In file included from /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l:38:
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l: In function '_nsyylex':
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/include/namespace.h:674:33: error: implicit declaration of function '_strdup'; did you mean 'strdup'? [-Wimplicit-function-declaration]
libcMinimal-netbsd>   674 | #define strdup                  _strdup
libcMinimal-netbsd>       |                                 ^~~~~~~
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l:78:34: note: in expansion of macro 'strdup'
libcMinimal-netbsd>    78 |                         if ((p = strdup(yytext)) == NULL) {
libcMinimal-netbsd>       |                                  ^~~~~~
libcMinimal-netbsd> /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc/net/nslexer.l:78:32: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
libcMinimal-netbsd>    78 |                         if ((p = strdup(yytext)) == NULL) {
libcMinimal-netbsd>       |                                ^
libcMinimal-netbsd> *** [nslexer.pico] Error code 1
libcMinimal-netbsd> 
libcMinimal-netbsd> make: stopped in /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc
libcMinimal-netbsd> 2 errors
libcMinimal-netbsd> 
libcMinimal-netbsd> make: stopped in /build/libcMinimal-netbsd-netbsd-filtered-src/lib/libc
20:20:32

Show newer messages


Back to Room ListRoom Version: 9