!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

260 Members
80 Servers

Load older messages


SenderMessageTime
19 Jan 2024
@raitobezarius:matrix.orgraitobezariusnot a stdenv person per se but you have my approval22:04:54
20 Jan 2024
@r_i_s:matrix.orgris_i may have to just take the merge-and-apologize approach16:29:29
@raitobezarius:matrix.orgraitobezariusI think so16:29:41
21 Jan 2024
@r_i_s:matrix.orgris_merging before i lose my nerve13:32:31
@hexa:lossy.networkhexanot much review happening among the code owners here 🫠14:06:19
@hexa:lossy.networkhexaso how can you "own" the code?14:06:42
@hexa:lossy.networkhexa * so how can you "own" the code then?14:06:45
@r_i_s:matrix.orgris_next one https://github.com/NixOS/nixpkgs/pull/28263821:20:58
22 Jan 2024
@stigo:matrix.orgstigo joined the room.01:37:33
@a-n-n-a-l-e-e:matrix.orga-n-n-a-l-e-enot sure if this is the correct room but... I've been looking into some issues with llvm and darwin -- specifically, why libcxx segfaults in older macos and why libcxxabi is not re-exported by libcxx, eg: why -lc++abi is required for linking. according to https://github.com/llvm/llvm-project/issues/78860 building libcxx and libcxxabi separately is unsupported and the root cause of these since llvm-12 (2022). my question is -- what benefit are we getting in separating libcxx and libcxxabi into different components? 18:23:33
@raitobezarius:matrix.orgraitobezarius #compilers:nixos.org seems better but people from there are kinda here too 18:25:31
@raitobezarius:matrix.orgraitobezariusI'd suggest to find who created the separation (if it's not done since the beginning) and ask explicitly this person about this18:26:15
@raitobezarius:matrix.orgraitobezariusI'd naively believe that separating libcxx / libcxxabi is good practice because those are two different components and they deserve to be two different storepaths18:26:36
@a-n-n-a-l-e-e:matrix.orga-n-n-a-l-e-ei thought that the llvm components were provided separately but later combined into a monorepo however i may be mistaken -- need to dig a little deeper.18:27:39
@raitobezarius:matrix.orgraitobezariusthe source code is a monorepo18:28:09
@raitobezarius:matrix.orgraitobezariusbut we do fanout all of that in multiple different derivations18:28:16
@raitobezarius:matrix.orgraitobezariuswe do even filter the monorepo to keep only the trees we care about18:28:30
@raitobezarius:matrix.orgraitobezarius

if it makes sense to build libcxxabi altogether:

  • all the time
  • only for Apple

it's something that can be hacked in the relevant machinery to support it, I'd say?

18:29:21
@a-n-n-a-l-e-e:matrix.orga-n-n-a-l-e-ei thought that the monorepo happened sometime around llvm11.18:29:41
@raitobezarius:matrix.orgraitobezariusah you are talking about the history18:30:26
@a-n-n-a-l-e-e:matrix.orga-n-n-a-l-e-eyes.18:30:33
@raitobezarius:matrix.orgraitobezariusIt was not clear you were answering to 2nd line18:30:39
@raitobezarius:matrix.orgraitobezariusbut yeah I understand that there were a separation because it was natural18:31:43
@raitobezarius:matrix.orgraitobezariusI wonder if it still makes sense to keep that separation18:31:48
@raitobezarius:matrix.orgraitobezariusas in, do anyone get meaningful advantage from overriding libcxxabi without touching the rest18:31:58
@a-n-n-a-l-e-e:matrix.orga-n-n-a-l-e-eright -- that sums up my question. if i end up combining them for darwin the code would be easier if i could do the same for all platforms.18:36:12
@raitobezarius:matrix.orgraitobezariusI'm definitely not competent enough to answer it, alas18:36:40
@a-n-n-a-l-e-e:matrix.orga-n-n-a-l-e-ethanks for chiming in. perhaps it is best if i also create an issue though, except for you approving and merging a backport (thanks), i haven't had any feedback from any llvm maintainers pinged in previous issue or PR, though perhaps that is just due to them being darwin only.18:44:41
@raitobezarius:matrix.orgraitobezariusYeah, for Darwin, Reckrenode is more the person for LLVM18:47:52
@raitobezarius:matrix.orgraitobezariusI prefer to work on the x86/RISC-V/UEFI (lol) aspect of LLVM and I don't have a deep understanding like many other maintainers18:48:25

Show newer messages


Back to Room ListRoom Version: 9