mailing list of musl libc
 help / color / mirror / code / Atom feed
From: naruto canada <narutocanada@gmail.com>
To: musl@lists.openwall.com
Subject: Re: [musl] Big thanks to musl developers.
Date: Tue, 1 Mar 2022 05:10:13 +0000	[thread overview]
Message-ID: <CAKrOiPT-nen+_A_qxeK98LR+6oHG8dqY5riT+YFUjLxKH1daiQ@mail.gmail.com> (raw)
In-Reply-To: <CAHcWxpUhzqcRXZP-7F7+vUvcLEvtB_ubv2TH7WZqfhdoyF2Y0g@mail.gmail.com>

On 3/1/22, Rodolfo Câmara Villordo <rodolfovillordo@gmail.com> wrote:
> Hi,
>
> Sorry for the noob question. Why compiling the libc with -O0 is "a thing"
> to you? I can only imagine reasons surrounding security research, is that
> your use case?

Nothing to do with my job or anything of the sort.
It is just a hobiit, I have been compiling and maintain my own linux stuff for
as long as the site LFS started (about 22 years).
With gcc-2.7.x and libc5, you can compile the whole distro in an hour,
Nowadays, it take me 24 hours on a 4 cores machine.
I can't remember exactly which version of glibc or linux started requiring -O2
So I ended compiling the whole thing in -O2,
otherwise they would simply refuse to compile.
It is still the same with the linux kernel. (I've just tried it)
Just to be rebelious and fun, I manage to compile the whole thing except
the kernel and bootloader (syslinux still requires at least -O1).
Anyway, Thanks for listening to a old man's ramblings.

>
> Thanks
>
> On Tue, Mar 1, 2022, 04:29 naruto canada <narutocanada@gmail.com> wrote:
>
>> hi
>>
>> Big thanks to musl developers. You guys have done a good job.
>> I've managed to port most of my desktop over to musl.
>> It is currently compiling itself within qemu :)
>> on x86_64 real machine :)
>> Once qemu is ported, the other targets are much easier.
>> It takes surprising little effort to port most packages.
>> It took me only about a week. Very little changes was needed.
>> I was only forced to upgrade a few packages.
>> The first time in 22 years,
>> that I was able to compile libc with -O0 and not -O2 :)
>> Thanks.
>>
>

      reply	other threads:[~2022-03-01  5:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01  4:29 naruto canada
2022-03-01  1:49 ` Rodolfo Câmara Villordo
2022-03-01  5:10   ` naruto canada [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKrOiPT-nen+_A_qxeK98LR+6oHG8dqY5riT+YFUjLxKH1daiQ@mail.gmail.com \
    --to=narutocanada@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).