[haiku-development] Re: Questions about possible GCC update

  • From: miqlas <miqlas@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 7 May 2018 13:36:32 +0200

Hi Rene,

2018-05-04 19:01 GMT+02:00 Rene Gollent <anevilyak@xxxxxxxxx>:

On Fri, May 4, 2018 at 7:50 AM Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
wrote:
Only if it doesn't break things.
As a first step I would suggest naming the new package gcc7 (or gcc8)
instead of just gcc. This way by
default people still get gcc5 (and we still build Haiku with it), but we
can start experimenting with
newer versions?

FWIW, I did some experiments with gcc 7.2.1 out of haikuports at some point
a few months ago (Debugger-related), and while my tests weren't exhaustive,
I can confirm that it was able to produce working Haiku binaries using gcc5
libbe and friends from an ABI standpoint ; lib{std,sup}c++ might be a
different story, but iirc those are versioned anyways.


I haven't tested yet building Haiku with it but i will. Afaik the build
system downloads the gcc syslibs_devel package, extracts it and uses it to
build the kernel. Is it right?
If so, do we want to use the gcc5.4.0 syslibs_devel in the future, or do we
want to change to 7/8.x package? If yes, i need to test that too.

@PPC and 68k porters: what is the standard gcc used for theese? Can a GCC
change introduce problems in this ports?



Regards,

Rene



-- 


---
Mizsei Zoltán
(aka. miqlas)

Other related posts: