18 Jun 2024 |
rhelmot | well that's. concerning | 20:36:56 |
trofi | At least gcc defiles in as FBSD_MAJOR : https://github.com/gcc-mirror/gcc/blob/master/gcc/config/freebsd-spec.h#L39 which is extracted from --target= definition: https://github.com/gcc-mirror/gcc/blob/master/gcc/config.gcc#L851 | 20:38:59 |
rhelmot | in the cases we are using gcc we are passing the userland version (14 usually) to gcc | 20:39:34 |
rhelmot | what's up with clang | 20:39:39 |
trofi | Should be the same: clang/lib/Basic/Targets/OSTargets.h: Builder.defineMacro("__FreeBSD__", Twine(Release)); | 20:40:54 |
rhelmot | hmmm.... I guess we can try hacking the triple we pass to clang as x86_64-unknown-freebsd${libc.version}? | 20:41:40 |
trofi | https://github.com/llvm/llvm-project/blob/main/clang/lib/Basic/Targets/OSTargets.h#L190 is the bit of context. Should use unsigned Release = Triple.getOSMajorVersion(); . | 20:43:35 |
19 Jun 2024 |
| flameopathic joined the room. | 18:01:29 |
| Zach joined the room. | 21:23:45 |
20 Jun 2024 |
| Yuka (she/her) left the room. | 13:45:23 |
John Ericson | rhelmot: https://github.com/NixOS/nixpkgs/pull/321301 new one good for review | 17:07:10 |
John Ericson | Also it would be nice if you could do the same thing for FreeBSD :) | 17:07:21 |
John Ericson | rhelmot: am I missing some thing about camel case for libcMinimal ? | 20:04:38 |
John Ericson | fair enough with systemdMinimal | 20:05:15 |
21 Jun 2024 |
| samueldr left the room. | 06:07:26 |
| @wilhelmvon:matrix.org joined the room. | 09:15:56 |
| Linux Hackerman left the room. | 14:05:33 |
22 Jun 2024 |
| @lotte:chir.rs left the room. | 19:22:09 |
23 Jun 2024 |
| @networkexception:chat.upi.li left the room. | 21:21:11 |
24 Jun 2024 |
| EVA-01 changed their profile picture. | 23:17:23 |
27 Jun 2024 |
| bl0v3 joined the room. | 22:23:14 |
bl0v3 | yo | 22:23:18 |
bl0v3 | i got this IBM mainframe (Z10) | 22:23:44 |
bl0v3 | guess that means s390x (assuming X is the 64 bit one) | 22:24:02 |
bl0v3 | since these can run linux and rhel / ubuntu are officially supported | 22:24:41 |
bl0v3 | i was wondering if i should attempt to run nixos on that, does anyone have experience with these devices or even attempted to run nixos on them in the past? | 22:25:37 |
bl0v3 | i do know how to use pkgsCross / binfmt and how the outputs / stages etc etc work | 22:26:50 |
bl0v3 | and wrote/fixed countless drvs / modules but that was just fox riscv | 22:27:15 |
bl0v3 | i have no clue how these mainframes work though, what bootloaders are available and or if there are some special reqiurements for the kernel. D'de | 22:28:59 |
bl0v3 | if anyone has some thoughts or suggestions to share on how to go on about this most ideally please let me know,
note however i do not plan to turn this into anything serious or think there'd be much use for it. Id essentially just see if it can be done, write a small blogpost about it. run the infamous neofetch on it once and thats about it | 22:32:29 |