• nothing ;)

    From Benny Pedersen@2:230/0 to All on Sun Oct 25 13:37:34 2026
    Hello All!

    gcc is a problem for me to compile on my very small vps with just 1GB ram

    gentoo devs tell its no problem, hmm

    how does other solve it ?

    i know it works with 4GB


    Regards Benny

    ... too late to die young :)

    --- Msged/LNX 6.1.2 (Linux/7.2.12-gentoo-dist-bin (x86_64))
    * Origin: gopher://fido.junc.eu/ (2:230/0)
  • From Nick Boel@1:154/10 to Benny Pedersen on Sun Oct 25 13:32:32 2026
    Hey Benny!

    On Sun, Oct 25 2026 13:37:34 +0000, you wrote:

    gcc is a problem for me to compile on my very small vps with just 1GB ram gentoo devs tell its no problem, hmm
    how does other solve it ?

    With Gentoo itself, "MAKEOPTS=-j1" should help with that, with a minimum 2gb swap.

    Otherwise, if you're using gnu make.. `make -j1` will do the same:

    -j [jobs], --jobs[=jobs]
    Specifies the number of jobs (commands) to run
    simultaneously. If there is more than one -j option, the
    last one is effective. If the -j option is given without an
    argument, make will not limit the number of jobs that can run
    simultaneously.

    With less memory and/or cpus/threads, you can't compile multiple jobs at once. Even with that said, larger packages might still fail this way.

    Depending on how many cores/threads that VPS has, you can adjust the "-jX" option accordingly (2 cores/threads = "-j2" would be max, 1 core/thread = "-j1", etc.).

    It seems the /suggested/ method is to compile small packages on the VPS, and use binary packages built on a stronger machine for larger ones. Or just use Gentoo's binary package manager right on the VPS.

    Regards,
    Nick

    ... Politicians and diapers should be changed regularly for the same reasons. --- AmberEdit/linux 0.9.3
    * Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)
  • From Maurice Kinal@1:153/7001 to Benny Pedersen on Sun Oct 25 18:25:34 2026
    Hey Benny!

    gcc is a problem for me to compile on my very small vps with just
    1GB ram

    Add swap. 4G ought to do it.

    Life is good,
    Maurice

    -o -o -o o- o- -o -o o- o- o- o- -o
    (\ (\ (\ /) /) (\ (\ /) /) /) /) (\
    ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^
    ... Æfter leofan menn langað swiðost.
    People long most for a loved one.
    --- GNU bash, version 5.3.20(1)-release (x86_64-pc-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Sergey Semernin@2:201/127 to Nick Boel on Sun Oct 25 19:50:39 2026
    Hello Nick!

    Sunday October 25 2026 13:32, you wrote to Benny Pedersen:

    With Gentoo itself, "MAKEOPTS=-j1" should help with that, with a
    minimum 2gb swap.

    I did not use Gentoo long time, but I remember if job number is not set,
    then the build system will use number of logical processors. So, on
    small VPS with one core, it will be "-j1" anyway.

    I'm not sure 2GB of swap will be enough on a 64-bit system. Probably 4GB
    and more.

    It seems the /suggested/ method is to compile small packages on the
    VPS, and use binary packages built on a stronger machine for larger
    ones. Or just use Gentoo's binary package manager right on the VPS.

    Sad, but true. That is modern life. Looking forward and scary about what
    will happen with all these vibe-coded-neurogenerated fancy Rust code in Kernel...

    I used to write drivers for Linux Kernel since 2002, and saw all its
    path from clean structure to enterprise-grade-overengineered piece of
    art.


    With best regards, Sergey.

    ... I must not fear. Fear is the mind-killer.
    --- GoldED+/LNX 2.0.0-b20260912
    * Origin: Submarine Pilot, Bandhagen, Sweden (2:201/127)
  • From Nick Boel@1:154/10 to Sergey Semernin on Sun Oct 25 14:24:56 2026
    Hey Sergey!

    On Sun, Oct 25 2026 19:50:38 +0100, you wrote:

    With Gentoo itself, "MAKEOPTS=-j1" should help with that, with a minimum
    2gb swap.

    I did not use Gentoo long time, but I remember if job number is not set, then the build system will use number of logical processors. So, on small VPS with one core, it will be "-j1" anyway.

    I also have not used Gentoo in a very long time. Thanks for the information!

    I recently ran into kind of the same issue on one of my VMs with 2 cores and 4gb ram, using "cmake" with no options and it failed. I ended up fixing the issue with the "-j2" option. I had thought "cmake" would use the number of logical processors as well, but for some reason it didn't.

    I'm not sure 2GB of swap will be enough on a 64-bit system. Probably 4GB and more.

    You are definitely right. I originally had "minimum 2-4gb", but saw such a small amount of allocated ram so I changed it, hoping he wasn't trying to install firefox or chromium or something ridiculous like that.

    Sad, but true. That is modern life. Looking forward and scary about what will happen with all these vibe-coded-neurogenerated fancy Rust code in Kernel...

    We've already witnessed the dumbing down of the population with social media, keeping people glued to their phone for hours on end. It's only going to get worse, I fear.

    I used to write drivers for Linux Kernel since 2002, and saw all its path from clean structure to enterprise-grade-overengineered piece of art.

    I'm willing to bet you replaced whatever you were originally thinking with "art". ;)

    Regards,
    Nick

    ... If at first you don't succeed, destroy all evidence that you tried.
    --- AmberEdit/linux 0.9.3
    * Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)
  • From Sergey Semernin@2:201/127 to Nick Boel on Sun Oct 25 22:13:02 2026
    Hello Nick!

    Sunday October 25 2026 14:24, you wrote to me:

    I recently ran into kind of the same issue on one of my VMs with 2
    cores and 4gb ram, using "cmake" with no options and it failed. I
    ended up fixing the issue with the "-j2" option. I had thought "cmake" would use the number of logical processors as well, but for some
    reason it didn't.

    For cmake there are --parallel option and CMAKE_BUILD_PARALLEL_LEVEL environment variable. If no one CMakeLists.txt in the project or included scripts are overriding this option, and option is not set, then cmake will
    use settings from native build system (make, ninja, and etc).
    Maybe something was overriden by build script (via environment) at the upper level. Or on some lower level as well, in subdirectory project files. Or the native build system had specific configuration with overrided parameters. Recently I saw similar problem in Yocto Linux. The bitbake selected 10 parallel jobs by default, for some unknown reason, while host is 4-kernel CPU with 8 logical processors.


    With best regards, Sergey.

    ... I must not fear. Fear is the mind-killer.
    --- GoldED+/LNX 2.0.0-b20260912
    * Origin: Submarine Pilot, Bandhagen, Sweden (2:201/127)
  • From Nick Boel@1:154/10 to Sergey Semernin on Mon Oct 26 19:05:24 2026
    Hey Sergey!

    On Sun, Oct 25 2026 22:13:02 +0100, you wrote:

    overrided parameters. Recently I saw similar problem in Yocto Linux. The bitbake selected 10 parallel jobs by default, for some unknown reason, while host is 4-kernel CPU with 8 logical processors.

    I bet that went over similar to my situation! ;)

    Regards,
    Nick

    ... Be kind to your kids, they'll be choosing your nursing home.
    --- AmberEdit/linux 0.9.4
    * Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)
  • From Gerrit Kuehn@2:240/12 to Benny Pedersen on Mon Oct 26 21:41:41 2026
    * Originally by: Nick Boel (1:154/10), 25 Oct 26 13:32.

    Hello Benny!

    25 Oct 26 13:32, Nick Boel wrote to Benny Pedersen:


    gcc is a problem for me to compile on my very small vps with just 1GB
    ram gentoo devs tell its no problem, hmm
    how does other solve it ?

    With Gentoo itself, "MAKEOPTS=-j1" should help with that, with a
    minimum 2gb swap.

    If you have "-pipe" in your compile options, remove that.


    Regards,
    Gerrit

    ... 9:41PM up 111 days, 9:57, 10 users, load averages: 0.91, 0.71, 0.61

    --- msged/fbsd 6.3 2021-12-02
    * Origin: Dry thoughts for the tenant (2:240/12)
  • From Nigel Reed@1:124/5016 to Benny Pedersen on Mon Oct 26 23:36:57 2026
    On Sun, 25 Oct 2026 13:37:34 +0000
    "Benny Pedersen" (2:230/0) <Benny.Pedersen@f0.n230.z2.fidonet> wrote:

    Hello All!

    gcc is a problem for me to compile on my very small vps with just 1GB
    ram

    gentoo devs tell its no problem, hmm

    how does other solve it ?

    i know it works with 4GB


    Regards Benny

    ... too late to die young :)

    --- Msged/LNX 6.1.2 (Linux/7.2.12-gentoo-dist-bin (x86_64))
    * Origin: gopher://fido.junc.eu/ (2:230/0)


    Well, a couple of options. Get a VM with more memory. Check out
    lowendbox.com and find good deals, usually around US holidays but
    you'll find them at other times.

    Second, setup a VM locally that's identical to your VM and compile on
    that and use rsync to keep them in step.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    --- SBBSecho 3.38-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)
  • From Benny Pedersen@2:230/0 to Gerrit Kuehn on Tue Oct 27 12:02:38 2026
    Hello Gerrit!

    26 Oct 2026 21:41, Gerrit Kuehn wrote to Benny Pedersen:

    With Gentoo itself, "MAKEOPTS=-j1" should help with that, with a
    minimum 2gb swap.

    +1 more payment to linode.com then

    If you have "-pipe" in your compile options, remove that.

    yes i had forget to remove it

    with binhost, just select a gcc with what use flag can use the precompiled gcc, i just missed nls to let portage use a binhost install

    i have just upgrade to 4GB ram in linode an compiled gcc from source, and after this downgraded to nano 1GB again


    Regards Benny

    ... too late to die young :)

    --- Msged/LNX 6.1.2 (Linux/7.2.12-gentoo-dist-bin (x86_64))
    * Origin: gopher://fido.junc.eu/ (2:230/0)
  • From Benny Pedersen@2:230/0 to Nigel Reed on Tue Oct 27 12:04:32 2026
    Hello Nigel!

    26 Oct 2026 23:36, Nigel Reed wrote to Benny Pedersen:

    Well, a couple of options. Get a VM with more memory. Check out lowendbox.com and find good deals, usually around US holidays but
    you'll find them at other times.

    Second, setup a VM locally that's identical to your VM and compile on
    that and use rsync to keep them in step.

    i hope to learn make my own binhost at home, so all my servers on the internet could just take the most from local compiled binhost, use one of the already maked binhost have nearly never same use flags :)

    to make this stable i need to assample same use flags as my server have

    my asus pn53 will do the homework for me with this



    Regards Benny

    ... too late to die young :)

    --- Msged/LNX 6.1.2 (Linux/7.2.12-gentoo-dist-bin (x86_64))
    * Origin: gopher://fido.junc.eu/ (2:230/0)
  • From Nigel Reed@1:124/5016 to Benny Pedersen on Tue Oct 27 12:05:10 2026
    Re: Re: nothing ;)
    By: Benny Pedersen to Nigel Reed on Tue Oct 27 2026 12:04:32

    i hope to learn make my own binhost at home, so all my servers on the internet could just take the most from local compiled binhost, use one of the already maked binhost have nearly never same use flags :)

    It's pretty trivial to setup your own repo but each distro is different. Just tells Gemini you want help setting up a repo for your OS and it'll set you through it. I did this for an Arch DOSEMU2 repo I'm working on though you could always use claude code to do the legwork for you, but that way you don't tend to learn as you go.
    --- SBBSecho 3.38-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)
  • From Benny Pedersen@2:230/0 to Nigel Reed on Wed Oct 28 06:01:30 2026
    Hello Nigel!

    27 Oct 2026 12:05, Nigel Reed wrote to Benny Pedersen:

    It's pretty trivial to setup your own repo but each distro is
    different. Just tells Gemini you want help setting up a repo for your
    OS and it'll set you through it. I did this for an Arch DOSEMU2 repo

    repo is not a binhost

    i have a small local repo where i still miss to redo the binkd, and all husky from github, stated building husky from cvs, shourtly after sf.net stopped cvs updates

    so i have to make the git repo for husky, if not existing yet

    I'm working on though you could always use claude code to do the
    legwork for you, but that way you don't tend to learn as you go.

    quickpkg "*"

    saves all build packages to it can be rsync from another host to be installed with

    emerge --usepkgonly "*"

    or replace "*" with a specifik atom package


    Regards Benny

    ... too late to die young :)

    --- Msged/LNX 6.1.2 (Linux/7.2.12-gentoo-dist-bin (x86_64))
    * Origin: gopher://fido.junc.eu/ (2:230/0)
  • From Gerrit Kuehn@2:240/12 to Benny Pedersen on Tue Oct 27 21:32:42 2026
    Hello Benny!

    27 Oct 26 12:02, Benny Pedersen wrote to Gerrit Kuehn:

    i have just upgrade to 4GB ram in linode an compiled gcc from source,
    and after this downgraded to nano 1GB again

    Another option might be to install distcc to use a more powerful machine for compilation.


    Regards,
    Gerrit

    ... 9:32PM up 112 days, 9:48, 10 users, load averages: 0.82, 0.94, 0.81

    --- msged/fbsd 6.3 2021-12-02
    * Origin: Things I already know (2:240/12)
  • From Nigel Reed@1:124/5016 to Benny Pedersen on Wed Oct 28 02:20:03 2026
    Re: Re: nothing ;)
    By: Benny Pedersen to Nigel Reed on Wed Oct 28 2026 06:01:30

    It's pretty trivial to setup your own repo but each distro is different. Just tells Gemini you want help setting up a repo for your OS and it'll set you through it. I did this for an Arch DOSEMU2 repo

    repo is not a binhost

    It's a repository of binary files. Hence, it's a repo. While a "repo" can store code and scripts and a "binhost" doesn't - it's still a similar function. You're using it as a repository for binary files. In fact, remember that bit where I said it's easy to setup a repo? Setting up a repo for a binhost is even easier because there are no manifests, no install scripts, no metadata, no dependency mapping.
    --- SBBSecho 3.38-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)