[haiku-development] Re: Implement 32 bit userland support for 64 bit Haiku

  • From: "Alexander von Gluck IV" <kallisti5@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 10 Aug 2018 15:55:39 +0000

August 10, 2018 10:49 AM, "Jérôme Duval" <jerome.duval@xxxxxxxxx> wrote:

Hi,

2018-05-01 17:46 GMT+02:00 Jérôme Duval <jerome.duval@xxxxxxxxx>:

I've started to push some patches to help to implement the support of
a 32 bit userland for 64 bit Haiku.

Here is an update for this project: while the userland part is already
merged, I've parked the current kernel patch at
https://review.haiku-os.org/#/c/haiku/+/427
Some things to consider:
* the gcc bootstrap build produces a broken libstdc++ shared library,
with which exceptions don't work. As a workaround one can copy in
non-packaged the libstdc++ shared library from the haikuports gcc
package.
* x86_gcc2 and x86 applications I've tested so far work mostly OK. The
one still crashing is openjdk, probably related to signals.

HD test image x86_64/x86/x86_gcc2: https://keybase.pub/korli/haiku.image.xz

Screenshots available:
https://korli.keybase.pub/Screenshot from 2018-08-01 19-15-35.png
(Wonderbrush) https://korli.keybase.pub/Screenshot from 2018-08-02 ;
18-28-22.png
(SyncModular)
The test HD image is a booststrapped one for development purposes,
embeds openjdk with pixeleditor to test one x86 application.

:-O      This is amazing work!

If it was stable enough, it sounds like it could be the perfect
storm to eliminate x86_gcc2h and focus R1 on x86_64?

 -- Alex

Other related posts: