HOLY FUCK WHY DID I START INSTALLING GENTOO ON MY THINKPAD X31?!?! WHY DID I EVER THINK IT WAS A GOOD IDEA TO COMPILE EVERY SINGLE PACKAGE ON THIS 2 DECADE OLD LAPTOP SHIT SHIT SHIT?!?!?!?!!!?!!
press ^chold the power button
>>106457199I'm rawdogging it, this is my second day of compilation, but next time I will look into how to cross-compile/distcc.
>>106457241ok keep us updated
>>106457265Will go to sleep soon, I don't expect for my Pentium M machine to finish compiling LLVM. I have to admit, Gentoo is cool, but I should have first done a VM install to know what the fuck I will be doing on such a potato. Regardless, I love my little machine and will let it do this one job (now I understand why people were saying this takes 3 days minimum to install).At least the handbook is really nice, way more nice than Arch. Shame Void is lackluster, would have done that otherwise.
>>106457179>linux fags call this an operating system
>>106457351God forbid men have hobbies. It's Gentoo, not Ubuntu.
>>106457325I know it'll probably be fine but I get paranoid about running my old machines flat out like this. Hopefully it survives the torture.
>>106457387Tbh, it takes it like a champ. The laptop doesn't sound like a jet engine, and it isn't stuck, just moving slowly. Not even hot (just warm), so maybe it's not doing 100%. My only issue is now when I listen to it, when doing the writes (-piped flag is missing since I have like 512MB) what I suppose is the HDD starts to scratch or squeak, which is something I'm not used to. Worst case scenario, I have to replace the hard drive (I think it was already pretty low, and I have an excuse to get the mSATA + IDE adapter combo, maybe even make the PCB from scratch).
>>106457387Can you not just undervolt it or reduce the clock speed? It'll take longer but y'know, better than a hit potato.
>>106457361This isn't a hobby this is just pure retardation
>>106457265Update: still on compiling LLVM. I love how it just takes its time. Also, it is not broken as of now.>>106458171>This isn't a hobby this is just pure retardationI love your lack of self awareness, but you're telling others what hobbies are valid or not.
Why not run BSD? Using Linux is supporting asshole traitor Linus and his communist bulldyke daughter.
>>106459716>Why not run BSD? Actually, OpenBSD was on the list, but I decided to go with Gentoo for the shits and giggles.>Using Linux is supporting asshole traitor Linus and his communist bulldyke daughter.
>>106457179>llvmlol classic. that and qtwebengine are the big ones
>>106459777isnt llvm useless? I remember the headaches it gave me when it was defaulting to software rendering and llvmpipe was being used. Somehow ended up with iris drivers on an 8th gen intel soc, had to reinstall to finally get the i915 driver back
>>106459814i answered my question, llvm is a compiler that also does JIT, which can then be used to compile shaders (poorly)
>>106457179I installed gentoo on a thinkpad t400, you just gotta suffer through it
>>106457179>HOLY FUCK WHY DID IWell this is the question, isn't it?
>>106459814Would it be wise to exclude this next time? With my ancient hardware, and also probably minimalist setup (intent to), this shouldn't be any problem, right? >>106459862Your machine is way stronger than mine. Not a fair comparison, mine barely has RAM.>>106460165My question is why I didn't look into cross-compilation sooner? My current PC would have done this in a couple of hours at max.
>>106457179get an installation script you dumb fucking cunt
>>106457179I remember when compiling glibc alone would take more than half a day.Those were good times.
>>106457179lmao imagine using genoo/tard instead of just installing windows there
>>106460964I want to learn it by the handbook, at least once. Going with a script would have missed the point of learning how it works.>>106461048And I thought installing Win10 on spinning rust was slow.>>106461060I mean, it had XP, but I wanted to see what all of the memes about Gentoo are about, so I did this. Will probably come back to XP, but for now, I want to experiment.
>>106461446>missed the point of learningnigger. you supposed to read this shit and modify it for your convenient, not reading instructions like a black womantry & error, that's how you learn
>>106461446>And I thought installing Win10 on spinning rust was slow.This is COMPILING, not your average OS experience.
>>106457351NIGGER NIGGER NIGGER GET THE FUCK OUT OF HERE NORMAL NIGGER YOU'RE A NIGGER
>>106457351>>106461653i used to call it gnu+linux but i gave up
>>106459664>pentium M compiling LLVMyou might be there a while. it takes almost an hour to build LLVM on my ryzen 9 7900x (24 thread)
What stage did you start from? How autistic are ya lol. Back in high school nearly 20 years ago now, I did a stage 2 on a pentium 3 little old evectra that my dad got surplus from work. Completely pointless but my compiler flags made everything fractions of a second faster, you know! Good times Kek.
>>106461859You can speed it up a fair bit if you OOOOPTIMIZE. Takes about an hour for me on 12 threads on my 5900X.
>>106457351I really wish all the people like you would fill up a cup with razor blades and milk and then just drink it.
>>106457241Mount the rootfs using NFS on a faster computer and compile there. Much better than using distcc.
LLVM STILL TAKING LONG, UNIT 3078 OUT OF 3879 BTW>>106461522I mean, that's what I am doing? Like, learning to work with the distro? I like going hands-on first, scripts are the next time I do this. Whatever the case, it's fun (when you don't wait 5 days to compile). >>106461549I underestimated the amount of time it takes to compile the most bare minimum shit. To be fair, there are some packages like LLVM that take ages, otherwise I have seen this move way faster.
>>106461672The only time I do that is when I have to differentiate Android from GNU/Linux distros. >>106461859Welp, next time I will study what dependencies I need for a minimum setup. I don't think I need that for st, dwm and other terminal apps. >>106461878Stage 3, can you start from other stages? I thought stage 3 is THE stage when you start having some utilities and start compiling Gentoo. >>106463010Optimize besides -O3? Actually kind of curious what tips and tricks are out there for optimizations, besides what's pointed in the handbook. >>106464148Will search this once this shit is done.Pic related is a mainframe from my uni.
>>106465008Well -O3 is very fucking slow so that would explain why it's taking so long on 24 threads. It makes the compiled product faster but makes the compile take longer. I don't use O3 for anything like compilers and such cause it's not recommended (and it takes fucking hours to compile). Generally you just make compiling faster by disabling flags for features that you don't use and target specific instruction sets.
>>106465084Yeah, makes sense. I did a -O2 system-wide, seen everywhere it is not that recommended for that, but specific applications, sure. I guess it is a tradeoff between disk space, run time improvement and compile time.
You can just use the binary packages, just did a bintoo installation a few weeks ago and it went pretty well.
>>106465137I have seen that, and I said that once, for the shit and giggles, to compile everything on the machine, but next time, I'll probably do what >>106464148 said.
>>106465135You can make it so everything uses O3 but for specific stuff like compilers to use O2 instead. That's at least how I do it. Same with LTO. There are also things that you could just use the bin stuff for like LLVM, Firefox/Chrome, Rust, fucking webkit and so on cause they are just sucking away your time with no real gains.
>>106457179>-march=pentium-moh boy
>>106457179should have used gentoo binhost to get things started and recompiled as things get updated
>>106465229I don't think LTO is feasible on my machine, but I think most of my issues will be solved once I cross-compile. I just have to learn that too (was thinking of doing it anyway for a Tegra mini PC I have laying around).>>106465379And maybe skip shit like browsers and LLVM from ever compiling.
>>106465432Distcc is pretty simple to setup, just need to remember to use the correct -march and -mtune for your CPUs. But yeah LTO might be a lot for your CPU, same with PGO.
>>106465481Isn't -mtune redundant when you mention the CPU in -march and the CPU extensions? If so, damn, probably will have to redo this shit again with proper flags.
>>106465518Tbh, I don't remember anymore. I like being sure of it so I try to be as specific as possible in all places. It's not a required flag though, unless you use distcc.
>>106457179that's a nice keyboardi quite like the media keys
>>106467067I mean, it's the X31, it has a really good keyboard (although it is a bit cramped) but for a membrane keyboard, this feels really good. Pic related, wish I had US layout, or at least JP layout for some weeb larping points.
>>106465008>Welp, next time I will study what dependencies I need for a minimum setup. I don't think I need that for st, dwm and other terminal apps.i'm not sure you need llvm either. all my machine uses it for afaik is llvmpipe (modern software 3D renderer) and amdgpu support (likely for shader compilation). i'm not sure if modern mesa uses llvm for the older radeon driver, but you can go without llvmpipe. it's practically only a fallback 3d driver so you can do things like compositing without a 3d card/driver available, which you won't care to use on such a machine anyway
>>106460919llvm is a compiler. you're compiling things, you probably need it for other things
>>106465008>>106467786oh, i'll also agree with what people say about using binhost/prebuilt packages for a few things that both are slow to build and don't matter much to customise. you'll learn which ones those are when you build them. llvm is one example, also webkit, rust, gcc, etc. browsers are slow to build as well but you might actually want to optimise/customise>>106467816llvm is used as the backend for clang, but most things use gcc on linux. he can find out at the end what packages he uses depend on llvm and for what features
>>106457179The point of gentoo on a thinkpad is that you trim down software to use only what you need. Disable everything that you think you won't need, Maintain your own patches for programs that don't already have them. Write your own programs instead of installing others
>>106459664you could have just used the binary packages instead, then do ebuilds when you have a functioning system.
>>106467786I'm not sure either, RV100 is so old it doesn't support OpenGL ES, and the latest version is 1.3. I'm more worried about some software that would use this, which in turn would make me reinstall this. Regardless, I will see this once I have finished the install. >>106467816Isn't most software compiled with gcc and glibc? I thought llvm is mostly useful for MacOS or Rust, but to be fair, I don't really have any idea what llvm does more than gcc/msvc/clangd.>>106467841>you'll learn which ones those are when you build them.I haven't gone through the whole handbook, but I suppose I will see this when I read about Portage/Emerge.>browsers are slow to build as well but you might actually want to optimise/customiseOh, I don't intend to use anything than Lynx/Surf on this machine, it's too old and would barely run modern web, but this would probably be useful if I ever happen to hop from Arch to Gentoo on my main machine.>The point of gentoo on a thinkpad is that you trim down software to use only what you need. Disable everything that you think you won't needAs I've asked the other anon above, is there any way to exactly see what dependencies some programs will have, or am I gonna have to do some guesswork and trial and error in order to achieve this? I'm pretty new, and I habe stopped reading at stage 3 setup for now, since I have to wait for it to finish compiling.UPDATE: Finished llvm, now started compiling clangd...