[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1739855952388911.jpg (450 KB, 1668x2222)
450 KB
450 KB JPG
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 ^c
hold the power button
>>
File: 1729007445788296.jpg (79 KB, 827x836)
79 KB
79 KB JPG
>>106457199
I'm rawdogging it, this is my second day of compilation, but next time I will look into how to cross-compile/distcc.
>>
File: peaceful-jonkler.jpg (11 KB, 309x210)
11 KB
11 KB JPG
>>106457241
ok keep us updated
>>
>>106457265
Will 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.
>>
File: 1755756204282413.gif (3.56 MB, 312x293)
3.56 MB
3.56 MB GIF
>>106457179
>linux fags call this an operating system
>>
File: 1750687468827752.jpg (85 KB, 738x741)
85 KB
85 KB JPG
>>106457351
God forbid men have hobbies. It's Gentoo, not Ubuntu.
>>
>>106457325
I know it'll probably be fine but I get paranoid about running my old machines flat out like this. Hopefully it survives the torture.
>>
File: 1745124844683419.jpg (324 KB, 1600x1200)
324 KB
324 KB JPG
>>106457387
Tbh, 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).
>>
>>106457387
Can you not just undervolt it or reduce the clock speed? It'll take longer but y'know, better than a hit potato.
>>
>>106457361
This isn't a hobby this is just pure retardation
>>
File: 1741542053153000.jpg (469 KB, 2222x1668)
469 KB
469 KB JPG
>>106457265
Update: 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 retardation
I 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.
>>
File: 1739572031125111.jpg (20 KB, 758x566)
20 KB
20 KB JPG
>>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
>llvm
lol classic. that and qtwebengine are the big ones
>>
>>106459777
isnt 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
>>
>>106459814
i answered my question, llvm is a compiler that also does JIT, which can then be used to compile shaders (poorly)
>>
>>106457179
I installed gentoo on a thinkpad t400, you just gotta suffer through it
>>
>>106457179
>HOLY FUCK WHY DID I
Well this is the question, isn't it?
>>
>>106459814
Would 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?
>>106459862
Your machine is way stronger than mine. Not a fair comparison, mine barely has RAM.
>>106460165
My 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.
>>
>>106457179
get an installation script you dumb fucking cunt
>>
>>106457179
I remember when compiling glibc alone would take more than half a day.
Those were good times.
>>
>>106457179
lmao imagine using genoo/tard instead of just installing windows there
>>
File: 1745108401475482.jpg (22 KB, 320x320)
22 KB
22 KB JPG
>>106460964
I want to learn it by the handbook, at least once. Going with a script would have missed the point of learning how it works.
>>106461048
And I thought installing Win10 on spinning rust was slow.
>>106461060
I 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 learning
nigger. you supposed to read this shit and modify it for your convenient, not reading instructions like a black woman
try & 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.
>>
>>106457351
NIGGER NIGGER NIGGER GET THE FUCK OUT OF HERE NORMAL NIGGER YOU'RE A NIGGER
>>
>>106457351
>>106461653
i used to call it gnu+linux but i gave up
>>
>>106459664
>pentium M compiling LLVM
you 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.
>>
>>106461859
You can speed it up a fair bit if you OOOOPTIMIZE. Takes about an hour for me on 12 threads on my 5900X.
>>
>>106457351
I really wish all the people like you would fill up a cup with razor blades and milk and then just drink it.
>>
>>106457241
Mount the rootfs using NFS on a faster computer and compile there. Much better than using distcc.
>>
File: 1733156182582121.jpg (602 KB, 2032x2708)
602 KB
602 KB JPG
LLVM STILL TAKING LONG, UNIT 3078 OUT OF 3879 BTW

>>106461522
I 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).
>>106461549
I 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.
>>
File: 1729220831135168.jpg (3.95 MB, 3000x4000)
3.95 MB
3.95 MB JPG
>>106461672
The only time I do that is when I have to differentiate Android from GNU/Linux distros.
>>106461859
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.
>>106461878
Stage 3, can you start from other stages? I thought stage 3 is THE stage when you start having some utilities and start compiling Gentoo.
>>106463010
Optimize besides -O3? Actually kind of curious what tips and tricks are out there for optimizations, besides what's pointed in the handbook.
>>106464148
Will search this once this shit is done.

Pic related is a mainframe from my uni.
>>
>>106465008
Well -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.
>>
>>106465084
Yeah, 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.
>>
>>106465137
I 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.
>>
>>106465135
You 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-m
oh boy
>>
>>106457179
should have used gentoo binhost to get things started and recompiled as things get updated
>>
>>106465229
I 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).
>>106465379
And maybe skip shit like browsers and LLVM from ever compiling.
>>
>>106465432
Distcc 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.
>>
File: 1726896720605707.jpg (97 KB, 1170x1098)
97 KB
97 KB JPG
>>106465481
Isn'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.
>>
>>106465518
Tbh, 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.
>>
>>106457179
that's a nice keyboard
i quite like the media keys
>>
File: 1739411211547908.jpg (750 KB, 2708x2032)
750 KB
750 KB JPG
>>106467067
I 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
>>
>>106460919
llvm is a compiler. you're compiling things, you probably need it for other things
>>
>>106465008
>>106467786
oh, 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

>>106467816
llvm 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
>>
>>106457179
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 need, Maintain your own patches for programs that don't already have them. Write your own programs instead of installing others
>>
>>106459664
you could have just used the binary packages instead, then do ebuilds when you have a functioning system.
>>
File: 1736517991908931.jpg (555 KB, 2708x2032)
555 KB
555 KB JPG
>>106467786
I'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.
>>106467816
Isn'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/customise
Oh, 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 need
As 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...



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.