giaco has quit [Quit: Leaving...]
lopsided98 has quit [Quit: Disconnected]
<clever> sphalerite: the -d in nix-collect-garbage will delete generations from profiles you have +w to, then it will do a normal gc, which affects things built by anybody
<clever> /data/data/com.termux/files/nix/store/ac1pzls6p1s2z10svz5ah8wzz4z0qqfj-unpack-bootstrap-tools.sh: line 19: /data/data/com.termux/files/nix/store/9741plqqjkjnaxm7yzw5jh7x63kz9sn6-bootstrap-tools/lib/ld-*so.?: not found
<clever> gchristensen: look inside the dir mentioned, do you have an ld-*.so?
<clever> oh
<clever> he left already
<clever> thats what messed up my tab complete
lopsided98 has joined #nixos-aarch64
lopsided98_ has joined #nixos-aarch64
lopsided98 has quit [Ping timeout: 255 seconds]
<sphalerite> clever: yes, that's what I said.
<sphalerite> Dezgeg: booting the kernel directly using qemu's loading support rather than u-boot works
<sphalerite> Hm, any way I can use PAE so I can get more than 3GB RAM in the single VM?
<Dezgeg> that needs a kernel recompile to enable LPAE
<sphalerite> oh
<sphalerite> any reason it isn't enabled in the default kernel?
<Dezgeg> it won't work on non-LPAE hardware then
<sphalerite> oh, that's a pain
<sphalerite> why is that?
<Dezgeg> dunno, maybe it was too hard to implement dynamic switch of the page table formats
<sphalerite> That just gave me a funny/silly idea
<sphalerite> It should be possible in principle to create a kernel that works on machines with compeltely different instruction sets, shouldn't it?
<sphalerite> maybe not in the fully general case, but depending on instruction encoding I bet one could make a kernel that supports both MIPS and x86 for instance.
<sphalerite> Since there are so many ways of encoding NOPs, I'm sure there are some ways that collide with a useful jump
<Dezgeg> for some two arches known in advance, probably been done before, but I think in general case it's too hard
<clever> that reminds me of what i first did with nixos when starting out
<clever> i had an SD card, that booted x86-64 and armv7l, with full nixos, sharing the same rootfs and store
<clever> the key that let me avoid opcode collisions, was that each had a unique bootloader
<clever> so i just had to duplicate /nix/var/nix/profiles/ and set nixos up to bind-mount either profiles.x86 or profiles.arm to profiles, then make sure both are gc roots
<clever> so now nix-env is peruser and perarch
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
kahiru has quit [Remote host closed the connection]
<andi-> Anyone here motivated/with spare time to look into an aarch64 issue with Firefox60(+)? The package bump is currently in staging and is failing on aarch64. It first complains about sse2 not existing (enabling webrtc gets rid of that :/) and then fails for yet to investigate reasons.. The build output is visible at
<Dezgeg> isn't the second error just the outer make complaining that the inner make failed
Sonarpulse has joined #nixos-aarch64
<andi-> the 2nd error is not on that log
<andi-> I am currently building it again on the aarch64 community box with a fix in one of my branches
<andi-> there is already an bugizlla entry for that issue https://bugzilla.mozilla.org/show_bug.cgi?id=1434589
<Dezgeg> there's a different -msse2 problem or what?
<andi-> no, there is another problem after the -msse2 problem
<andi-> I lost the output (scrollback buffer, gc, …) so I am rebuilding it right now on the community box
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
Dezgeg has quit [Ping timeout: 246 seconds]
giaco_ has joined #nixos-aarch64
<giaco_> hello
<giaco_> unpack-bootstrap-tools.sh fails at line 19 as glob expansion is not enabled in parent shell
Dezgeg has joined #nixos-aarch64
<sphalerite> giaco_: it's a good idea to stick around after asking questions. clever tried to help yesterday but you were gone
<sphalerite> oops wrong channel
<giaco_> hi sphalerite, sure, I'm sorry for leaving. I did not have the log link. Again, I'm sorry
<samueldr> (I don't think sphalerite was scolding you :) )
<sphalerite> indeed, not scolding, just saying it's a good idea :p
<giaco_> btw, sure, I've checked inside the folder.
<giaco_> -bash-4.4$ echo ld-*so.? ld-linux-aarch64.so.1
<giaco_> problem is I'm calling this command from bash outside bootstrap
<giaco_> I am not even capable of printing the path of the shell executed by the bootstrap. Seems that glob is not working as at line 19 (LD_LIBRARY_PATH=$out/lib $LD_BINARY $out/bin/cp $out/bin/patchelf .) he is trying to launch "ld-*so.?"
<giaco_> I am adding some test code before line 19 to check what is happening
<giaco_> trying with: /data/data/com.termux/files/usr/bin/applets/ps | /data/data/com.termux/files/usr/bin/grep $$
<giaco_> got it! 13152 u0_a172 0:00 x6wsadpsja9hqq5vhdnk9k969b5gkhxl-busybox ash -e /data/data/com.termux/files/nix/store/ac1pzls6p1s2z10svz5ah8wzz4z0qqfj-unpack-bootstrap-tools.sh
<giaco_> so busybox ash seems not handling globs correctly
<giaco_> I cannot explain how is possible that the bootstrap busybox ash goes wild on bootstrap unpack-bootstrap-tools.sh. Statically linked shell + script, why it is not working for me?
orivej has quit [Ping timeout: 264 seconds]