[haiku-development] Re: Enforcing gcc2h

  • From: Nickos V <tonestone57@xxxxxxxxxxx>
  • To: <haiku-development@xxxxxxxxxxxxx>
  • Date: Sun, 29 May 2011 13:42:12 -0600

> > gcc4 programs and games should still work on gcc2hybrid.
> >
> The problem is, they don't. 
Yes but that could also be because of "GCC 4 ABI changes that require apps to 
be recompiled":http://dev.haiku-os.org/wiki/R1/ImprovementsSinceAlpha1

> There is a minimal level of testing to do to 
> ensure that, and for a lot of SDL games distributed on Haikuware, it 
> wasn't done, so they are just broken.
Not sure because I still think gcc4 stuff should work if compiled on gcc4 
system and transfer over the gcc4 libraries and programs to gcc2 system.  The 
gcc4 libraries (& program) would be identical on both systems so if any 
breakage happened it would have to be with the kernel (or linking to gcc4 
server)?  Maybe another dev can give more info here.
I think main issue is that people install gcc4 libraries in gcc2 folders and 
also the ABI change that happened breaking many gcc4 programs.  Most gcc4 
programs still have not been updated on Haikuware and could be affected (ie, 

>This is why we > proposed an Haiku Compatible logo : it will be allowed for 
>software that 
> passed the checks, and should run fine.

That is fine but that still does not solve any ABI changes that break gcc4 apps 
later on.  See my first reply.  And people use a zip file to install gcc4 
libraries which means gcc4 libs will end up in /boot/common/lib (which is gcc2 
lib folder on gcc2 system).  That is why I brought up BASH script to do gcc4 
library install on gcc2 release for non-experts.


Other related posts: