-
nsITobin
how'd you make out flexing your musls?
-
nsITobin
zedmatrix:
-
zedmatrix
pass2 was giving a hassle
-
zedmatrix
but it mightof been that i was using a multilib gcc-15 host, gonna try the newer gcc-14 kernel 6.6 tomorrow
-
zedmatrix
nsITobin: time to rest, think about it, and feed the yogurt addictive cat, he loves activia
-
nsITobin
zedmatrix: been playing with dash
-
nsITobin
but fedora didn't bother to include libedit support
-
zedmatrix
i prefer dit
-
nsITobin
i think dash and bash should coexist
-
nsITobin
dash should be the system shell and bash should be the interactive shell
-
nsITobin
dash only if you can get away with it but i doubt one can
-
nsITobin
dunno if i can LOL
-
nsITobin
I'll give it a shot tho
-
nsITobin
why not
-
nsITobin
i am strongly considering handling /dev my self..
-
nsITobin
for my self.. for the standard config of course sysvinit and patched udev.. but I think I want to only have the dev nodes i need
-
zedmatrix
true like just mknod /dev/sda1,2,3
-
nsITobin
the sys filesystem is interesting
-
zedmatrix
just relaxing, downloading some discovery+ shows :)
-
nsITobin
know the best part about being me.. no matter whom I am against my rhetoric really doesn't need changed because pretty much every power structure right now abuses those it has power over sooo..
-
nsITobin
so let me illistrate it simply.. I am rage.. and whereveer i point is the machine cause kinda.. is the case nowadays.. so liberating in an oppressive sort of way
-
nsITobin
oh right.. i am rage, that is the machine and I am decidedly against it lol
-
nsITobin
well it is late
-
nsITobin
so best not try and be .. words.
-
nsITobin
:)
-
zedmatrix
:)
-
zedmatrix
yep from -support looks like gcc-15 is still causing troubles
-
SuperPizza
oof
-
nsITobin
zedmatrix: skip 15 just use 14 or 12 or 10 if it works.. 10 was a great solid release
-
nsITobin
as was 8 and 7
-
nsITobin
at least in terms of compiling a mozilla mess is conserned
-
nsITobin
gcc as a service release model hasn't helped much imo
-
zedmatrix
yea trying gcc-14
-
zedmatrix
ok malina re-trying without usin gpt and using gcc-14.2 for both
-
zedmatrix
keeps hitting the glibc req
-
zedmatrix
SuperPizza: did you end up patching os_defines.h:83:20:
-
SuperPizza
where?
-
zedmatrix
libstdc++
-
zedmatrix
i just kinda swapped out glibc for muslc
-
zedmatrix
just starting from chapter 5
-
SuperPizza
I... had no issues following the guide
-
zedmatrix
which guide did you use, there is so many
-
zedmatrix
most are outdated with gcc-4 or 5
-
SuperPizza
I followed LFS 12.3, just changing GLibc to Musl, adjusting the instructions
-
zedmatrix
mine keeps failing at building libstdc++
-
SuperPizza
What's the error?
-
zedmatrix
with all the __GLIBC prereq(x,y) in the osdefines.h
-
SuperPizza
have you made symlinks to the dynlink?
-
SuperPizza
ln -sfv ../lib/ld-musl-x86_64.so.1 $LFS/lib64;ln -sfv ../lib/ld-musl-x86_64.so.1 $LFS/lib64/ld-lsb-x86-64.so.3;ln -sfv ../lib/ld-musl-x86_64.so.1 /usr/bin/ldd
-
zedmatrix
i am only using ../configure --prefix=/usr --host=$LFS_TGT --syslibdir=/lib
-
zedmatrix
for the musl config
-
SuperPizza
./configure --prefix=/usr --host=$LFS_TGT --build=x86_64-pc-linux-gnu
-
SuperPizza
make && destdir install
-
SuperPizza
for musl
-
zedmatrix
will try later, trying out the cross-musl from the site
-
zedmatrix
did you also install both linux and musl headers?
-
SuperPizza
hyes
-
zedmatrix
the ldd link is the one i think i was missing
-
SuperPizza
no, it works without
-
SuperPizza
Okay. You should have your LFS_TGT set to `x86_64-lfs-linux-musl`, not -gnu
-
SuperPizza
maybe
-
SuperPizza
btw, are you compiling gcc in one go, or gcc, musl, libstdc++?
-
zedmatrix
probably > LFS_TGT=$(uname -m)-musl-linux-gnu
-
zedmatrix
bin > gcc-p1 > headers > musl > libc++
-
zedmatrix
just ran the cross make and probably the -gnu was messing me up
-
SuperPizza
yea
-
SuperPizza
LFS_TG$(uname -m)-lfs-linux-musl
-
SuperPizza
I don't use cross-make
-
zedmatrix
but i can see it worked, except its destdir needs a bit of work
-
zedmatrix
and its in -musl
-
SuperPizza
Now stdc++ compiles?
-
zedmatrix
dunno, just building gcc p1
-
SuperPizza
I'm building a guide based on LFS 12.3 for musl.
-
zedmatrix
yea i document it in Kate as i go
-
zedmatrix
its easier to copy and paste commands too
-
zedmatrix
i switched to my gcc-14 cd builder, cause i thought maybe the multilib gcc-15 was throwing something into the mix
-
zedmatrix
hmm maybe good> [Requesting program interpreter: /lib/ld-musl-x86_64.so.1]
-
SuperPizza
Elfutils will be a mess, trust me
-
SuperPizza
And forget about systemd
-
zedmatrix
it looks better than before...
bpa.st/LG7Q
-
zedmatrix
ok clean phase before libstdc++
-
SuperPizza
you could've used --with-glibc=2.41
-
zedmatrix
i thought maybe that was causing the problem
-
SuperPizza
Here's my almsot complete guide:
github.com/Super-Pizza/LFS-musl. I have changed a few other packages (Readline, Ncurses, gettext...), which may be optional
-
zedmatrix
what is concerning is these seds > during the configure libstdc++
bpa.st/KNKQ
-
SuperPizza
`make`
-
SuperPizza
or break
-
zedmatrix
this looks good > ls $LFS/tools/x86_64-lfs-linux-musl/include/c++/14.2.0/
-
SuperPizza
it built?
-
SuperPizza
cool
-
SuperPizza
Have you looked at my guide?
-
zedmatrix
yea i am still in the chapter 6
-
zedmatrix
tho i am using 14.2, not 15
-
zedmatrix
i shouldof pre downloaded the packages
-
SuperPizza
Note: there's still no complete systemd alternative, so we have to use SysV-Init for now.
-
zedmatrix
?
-
malina
zedmatrix, to do musl, with lfs, there are in general a fair amount of patches .. not just lfs but general software.. most of these came form juan (void) and nathaniel (alpine) , rich himself and several talented musl afficionados.. a lot of them are not really "optional" but "mandatory" and whjy, is a very deep and braopd discussion... because of fundamental intricacies between how glibc might do something and how musl might do something
-
malina
so just 'adjusting' by yourself won't really end well... it might seem so, but there needs to be a broader foundation of patches , policies and understanding to make it really fly
-
SuperPizza
void-linux, alpine aports, yea
-
malina
for the long term. but nothing better than to just DO
-
zedmatrix
malina: thanks, i had the target screwed up
-
SuperPizza
Hi malina
-
malina
I do the same, I often did crazy patching and it led to mayhem but it's the best way to learn
-
SuperPizza
:D
-
zedmatrix
i still had -gnu in the target
-
SuperPizza
oh and let's not forget systemd itself
-
malina
but patching is a weird thing, because there are to main things about that: it might seem to work but down the lane things get really complicated and/or potantially broken due to policy(not like oh a small bug, I'll patch but fundamental aka axiomatic differences); and the other way round, despite NOT doing what might be best can still discover new paths whcih do in fact manage , by patches from 1).
-
malina
but overall, 1 dominates and it's important to realise this
-
malina
systemd is minor in the space of OSes
-
SuperPizza
yea
-
malina
very popular in linuxes now sure, but still not important if you don't feel for it, use it, etc.
-
SuperPizza
it's heavily dependent on glibc.
-
malina
I didn't/don't use systemd in my lfs, glibc nor musl so ye, I don't really notice
-
malina
but when I am on the pub distros, they seem pretty regressed due to it ye
-
SuperPizza
But now, LFS *requires* systemd for Udev
-
malina
but it is what it is, hence lfs.
-
zedmatrix
i might look at mdevd or eudev
-
SuperPizza
Anyway, there are other udev implementations around.
-
malina
oh, eudev is a bit stale? ye, the extraction seems to be a bit harder on musl iirc (I bootstrapped my musl a few months ago from the 352ish kb seed from bootstrappable but i been away in past 5-6 months now with other irl things=
-
malina
not been douing comp stuff, don't recall any of my own work
-
malina
well yes, I recall the eudev going to 'extyract' thing, which woriks on glibc iirc, but on musl if im not mistakenb it was an issue (a fe wmoths back= but again
-
malina
I will be in such a mess tryign to find my own work agaain now
-
malina
as i had forked everything under the sun a few months back when doiung the bootstrap
-
malina
it was seed to i386 then to amd64, then to musl then to bla and then i forked erm, juan's xbps and os on
-
malina
all this i did very 'me' like it's all nmy own work too with my work on zstd and b3 forks
-
SuperPizza
*popcorn* this is very interesting
-
malina
so it's very, *very* avantgarde and ye, trying to figure out my won work now is like me trying to figure out my old hard fork of bitcoin ,p
-
SuperPizza
Systemd is nice I think, but SysV still works
-
malina
at the time it took me only 2 weeks ot make new demonitationms and bnetter implemetnartions but now, id look in the folder and i wouldnt even know wtf the .txt is
-
malina
this always happens though
-
SuperPizza
typos
-
malina
I just donæt have the enertgy to "do it all" anymore alone and i sucvk at getting big guns in with their monopoly money
-
malina
ye, of course it does
-
zedmatrix
sysv is fast at booting
-
SuperPizza
My biggest gripe with Linux now is how GNOME and GNU rule everything
-
zedmatrix
its also nice to have an LFS Builder the size of a cd
-
malina
ye,my lfs with my init (superman) which used sysv too partly, took 2.1 s
-
malina
but once i had the machien as a lxc/d and kvm host etc i guess it went a bnit longer
-
malina
maybe 7s
-
malina
i dont know
-
SuperPizza
It takes 15s on my PC
-
SuperPizza
to boot
-
malina
but it's fast, inits aren't inherently slow , unless the logic is hanging
-
SuperPizza
about
-
malina
machines are fast
-
malina
pure and simple. if one slows that down one might be doing it wrong
-
zedmatrix
-
malina
I had a 2700 at the time
-
malina
and still is , despite marketing like ridiculously good machines
-
malina
I have a 7900 and a 7950x now
-
malina
I mean...
-
malina
it's ridiculous how much juice they have
-
SuperPizza
I have a 7600 ryzen
-
SuperPizza
yea
-
malina
ye :)
-
SuperPizza
As I said, I don't like how GNU and GNOME rule most of Linux.
-
malina
ryzens are amd\s equivalent of having probelms getting the little finger in
-
SuperPizza
I don't mind Torvalds, the kernel is good.
-
malina
I think GNOME lost that la long time ago lol
-
malina
as far as I am concerned they became almost irrelevant
-
SuperPizza
KDE, Xfce, LXQT, ...
-
malina
duno, check their work force in past 5 years? up or down? and if so, by how much?
-
zedmatrix
i like the lxqt for my tv-lfs machines
-
SuperPizza
I use Xfce right now
-
SuperPizza
on Arch
-
zedmatrix
tho my main is KDE on Gentoo
-
SuperPizza
oh
-
malina
last year I doubled the speed of b3sum and zstd. I as incorporating it into my stuff as usual but this time i had to port it to my new xbps fork thing.. byut ye. will take me 8 months just to figure out what i was doing sigh.. so i kinda just put it off and don't use the ocmputers anymore.. which just makes it worse lol
-
SuperPizza
I kind of see Gentoo between Arch and LFS
-
malina
but then i use the pub distros and then it hurts me to see how bad they are or get instead of better
-
malina
or just have fundamental issues which are ridicullus
-
malina
ridiculous
-
SuperPizza
like getting bigger?
-
malina
ye, I guess that's a fair assessment
-
SuperPizza
and buggy?
-
malina
they do the binaries now finally too
-
malina
with precompiled bins
-
malina
forgot the name but ye, erm, that
-
malina
no, just
-
malina
poor
-
malina
understanding
-
malina
too much 'let's follow the hype'
-
malina
tthey justy don't do it right
-
malina
linuxes
-
SuperPizza
JWZ’s Law of Software Envelopment: “Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can.”
-
malina
systemd is no doubt a reason, as is wayland, erm, the other one,. gnome
-
zedmatrix
i find Gentoo more stable than Arch
-
malina
ye those.. thery wnated to keep work force so they made up reasons ot keep much man hours
-
SuperPizza
This is such an interesting discussion
-
malina
and yet, in 1/7th of that input, they would have redone X , sysv and UI in general much, much better, buty then agin, that's why we have lfs
-
malina
for better vision
-
SuperPizza
THey don't fix the minor issue, they replace the minor issue
-
zedmatrix
yea its fun to play around in LFS
-
malina
i don't mnean just the base which has its own but i mean what we can use it for as a springboard to more accurately stay in line with hw development
-
SuperPizza
I think one important thing is being able to manage the packages in some way.
-
zedmatrix
yea still working on that part
-
SuperPizza
Like, you don't want some program? good luck finding all of its files
-
SuperPizza
malina, do you have a github or smth?
-
zedmatrix
thats y the PMs log the destdir install
-
SuperPizza
"Entering Fakeroot Environment"
-
malina
no, I do not
-
malina
I don't realytl use social media
-
malina
ir
-
malina
c
-
malina
since icq got shut down
-
SuperPizza
do you share your projects in some way?
-
malina
I try with some of those I expect to be able to contrinbute or aid
-
SuperPizza
I was dumb once, and tried to uninstall "libc6". I didn't, but yeah. We learn.
-
malina
but sadly, irc has mostly old dragons which are lazier than a stick of amber silicon dioxide
-
SuperPizza
It's an old system
-
malina
dragons? Ye
-
SuperPizza
IRC is old. ANd kinda outdated (in a way)
-
malina
bordering on incontinence ,p
-
malina
ah, it's pretty ok for us nerds
-
malina
screen, text, group. done
-
SuperPizza
Though, I like the Fediverse (Mastodon and stuff)
-
malina
none which i know
-
malina
i have hrd of mastodon as i have heard of tweet
-
SuperPizza
Mastodon is meant to be part of a decentralized social media platform.
-
malina
nothing on chat syustems is 'private' so decentralised ot me is irrelvant
-
malina
as long as we have ME/PSP we are pretty scrood anyway
-
malina
making amd sev sem stuff kinda semi pointless in principle but useful in practice
-
malina
which is hwy it will be great but ye
-
malina
life is life
-
malina
full of shite
-
zedmatrix
well i was on irc before icq using mirc on windows 98 :)
-
SuperPizza
and I think the intel ME has had ulnerabilities making your whole system broken
-
SuperPizza
*vulnerable
-
malina
ye i think i did icq before irc
-
malina
but both were within sameish time frame
-
malina
maybe irc came mostly a few yrs later with quakenet mostly
-
zedmatrix
ok onto bintutils pass 2
-
zedmatrix
ok sofar gcc pass 2 is going
-
SuperPizza
aaaand?
-
zedmatrix
sofar good
-
nsITobin
zedmatrix: spectacular
-
nsITobin
i need to script 456
-
nsITobin
badly
-
nsITobin
still would be nice to see if i can work out how to do a static rpmbuild.. static curl isn't hard.. i know it can be built that way
-
nsITobin
static rpm*
-
zedmatrix
oops found a problem in my chroot script, forgot to abort if vkfs doesn't mount
-
nsITobin
let's see if i can logic this out with mah brain
-
nsITobin
zedmatrix: feel free to submit a pr to enhance mah script you stole the function names of
-
nsITobin
:P
-
zedmatrix
had a bunch of these :) mount: /mnt/lfs/dev: mount point does not exist. \n dmesg(1) may have more information after failed mount system call.
-
zedmatrix
but it entered the root , came up bash-5.2#
-
zedmatrix
nsITobin: should be able to just add > || { zprint "Error Mounting /dev. Exiting."; exit 1; }
-
zedmatrix
there is your pr :)
-
nsITobin
fedora didn't enable libedit on dash in epel8
-
nsITobin
shame on them
-
zedmatrix
i think the first word is your problem
-
zedmatrix
actually i think i just need > mkdir -pv $LFS/{dev,proc,sys,run}
-
zedmatrix
nsITobin: forgot a few lines in the chroot like PS1
-
zedmatrix
oops forgot the /bin/sh ln
-
nsITobin
you need -E to make it respond to up down left right etc
-
nsITobin
for dash
-
nsITobin
i like dash but it is pretty limited
-
nsITobin
would be a great fork project to add stuff to like a minor bit of tab completion the ability to reevaluate ps1 when interactive nothing major and not anything that unposix it
-
zedmatrix
building chapter 7 musl
-
nsITobin
with garlic butter?
-
nsITobin
and some chives
-
zedmatrix
hmm sofar ok, except for this warning from python >
bpa.st/R67A
-
malina
god irc is so weak
-
malina
though
-
nsITobin
weak?
-
nsITobin
irc is great
-
nsITobin
i run an irc server
-
nsITobin
i just happen to be here
-
malina
npå
-
malina
no i just mean none of you seem ot have any characther
-
malina
character*
-
malina
another forum dying
-
malina
and then you will cry
-
malina
good
-
malina
whatæs your irc server
-
malina
I prefer a forked silc
-
malina
-/silcd
-
malina
dont woprry nsITobin , itæs not you, it's the world
-
malina
people are becoming idiots more and more
-
malina
americanisation I guess
-
malina
are you american?
-
malina
wiuth your irc server?
-
nsITobin
back..
-
nsITobin
Yes I am American.. I am not proud and I believe I haven't been free since 2001
-
nsITobin
perhaps never