Re: Is it possible and not unadvisable to make /src with the -O3 option?...
Go for it. The beauty of open source is that you are free to try things. I would submit your first step of learning is how to figure out where all the -O2's are. You will learn a lot about things if you really dig into the weird problems you will hit. Probably you won't get much help here, but that shouldn't stop you. Hint: start reading about compilers. --STeve Andre' On 06/16/16 11:12, Luke Small wrote: Eh, I run it on a VM. I could copy one and somehow locate all the -O2's and replace them with -O3's in the files. I'd probably have to write a program to do it, unless there are easy to find, centrally located ones? On Thu, Jun 16, 2016 at 9:54 AM Janne Johanssonwrote: Do you have the skills to detect and handle if gcc miscompiles something at -O3? If not, then don't. Noone else will help you getting a zomg-fast -O3 system working after a slight miscompile gets a few bad instructions stuffed into some lib somewhere, so if you break your system, you get to keep all the pieces. Short version: "if you had to ask, then the answer was no". 2016-06-16 15:42 GMT+02:00 Luke Small : -- May the most significant bit of your life be positive.
Re: Is it possible and not unadvisable to make /src with the -O3 option?...
On 2016-06-16, Luke Smallwrote: > Eh, I run it on a VM. I could copy one and somehow locate all the -O2's and > replace them with -O3's in the files. I'd probably have to write a program > to do it, unless there are easy to find, centrally located ones? > > On Thu, Jun 16, 2016 at 9:54 AM Janne Johansson wrote: > >> Do you have the skills to detect and handle if gcc miscompiles something >> at -O3? >> If not, then don't. >> >> Noone else will help you getting a zomg-fast -O3 system working after a >> slight miscompile gets a few bad instructions stuffed into some lib >> somewhere, so if you break your system, you get to keep all the pieces. >> >> Short version: "if you had to ask, then the answer was no". Building it that way is easy. If you can't figure it out then sorry but you have no chance of debugging the problems that you might run into, so giving a set of instructions would be a disservice.
Re: Is it possible and not unadvisable to make /src with the -O3 option?...
Luke Small wrote: > Would it make it slower, more buggy or make the kernel not fit in the root > partition? Yes.
Re: Is it possible and not unadvisable to make /src with the -O3 option?...
Would it make it slower, more buggy or make the kernel not fit in the root partition? On Thu, Jun 16, 2016 at 9:07 AM Mike Burnswrote: > On 2016-06-16 13.42.44 +, Luke Small wrote: > > Is it possible and not unadvisable to make /src with the -O3 > > option?... > > It is inadvisable to deviate from the documentation here: > https://www.openbsd.org/faq/faq5.html
Re: Is it possible and not unadvisable to make /src with the -O3 option?...
Eh, I run it on a VM. I could copy one and somehow locate all the -O2's and replace them with -O3's in the files. I'd probably have to write a program to do it, unless there are easy to find, centrally located ones? On Thu, Jun 16, 2016 at 9:54 AM Janne Johanssonwrote: > Do you have the skills to detect and handle if gcc miscompiles something > at -O3? > If not, then don't. > > Noone else will help you getting a zomg-fast -O3 system working after a > slight miscompile gets a few bad instructions stuffed into some lib > somewhere, so if you break your system, you get to keep all the pieces. > > Short version: "if you had to ask, then the answer was no". > > > 2016-06-16 15:42 GMT+02:00 Luke Small : > >> > > > -- > May the most significant bit of your life be positive.
Re: Is it possible and not unadvisable to make /src with the -O3 option?...
Do you have the skills to detect and handle if gcc miscompiles something at -O3? If not, then don't. Noone else will help you getting a zomg-fast -O3 system working after a slight miscompile gets a few bad instructions stuffed into some lib somewhere, so if you break your system, you get to keep all the pieces. Short version: "if you had to ask, then the answer was no". 2016-06-16 15:42 GMT+02:00 Luke Small: > -- May the most significant bit of your life be positive.
Re: Is it possible and not unadvisable to make /src with the -O3 option?...
On 2016-06-16 13.42.44 +, Luke Small wrote: > Is it possible and not unadvisable to make /src with the -O3 > option?... It is inadvisable to deviate from the documentation here: https://www.openbsd.org/faq/faq5.html