Re:

"Alain Toussaint" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>

Envoyé de mon iPad

> Le 27 déc. 2021 à 21:34, Ken Moffat <[email protected]> a écrit :
> 
> On Mon, Dec 27, 2021 at 07:58:07PM -0500, Alain Toussaint wrote:
>> Hello,
>> 
>> I'm doing a new build tonight on my main computer using alfs and while
>> undergoing the procedure to build a number of BLFS applications, I found
>> out it was possible to put in my set of C(XX)FLAGS. Given the opportunity,
>> I'd like to know if it would be possible to build a no-multilib version of
>> LFS+BLFS and putting in the needed -mx32 flags to build all the userspace
>> component and applications for an old and slow Sandy Bridge laptop to give
>> the thing a new lease on life?
>> 
>> Many thanks,
>> Alain
> 
> No idea about setting the flags, but do you mean -mx32 (an obscure
> variant, ISTR intel came up with it for possible telecomms
> equipment) or -m32 (regular i686) ?  If you do mean -mx32, and can
> set the flags, you probably want to look at gentoo: from memory one
> of their devs was keen on -mx32, but when I last looked (many years
> ago) it needed a lot of patching.
> 
> ĸen

I do mean -mx32, the variant which used all the registers from x64 but address pointers of 32 bits which indeed needed lot of patching. Not anymore because a few distros (cough…gentoo among others) provide basic userspaces with these particular features. The 32 bit addressing feature cut processor cache (instructions cache namely, not data cache) utilisation in half, thus the performance increase and the expanded register set compared to i686 also help quite a bit.

Finally, each userspace apps get its own 4GB segment of memory. Just about perfect for a laptop used for web browsing, email and ssh to the big large box currently compiling in my office (Ryzen, 64GB, 1.5TB of nvme sticks…)

Al

> -- 
> Whilst all mushrooms are edible, the trick is to eat only those which
> will prove to be edible more than once. The Celebrated Discworld Almanak
> recommends you play safe and eat beans on toast.
> -- 
> http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
> Unsubscribe: See the above information page

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.