Date: Thu, 5 May 2016 23:42:18 -0700 From: Mark Millard <markmi@dsl-only.net> To: freebsd-ports@freebsd.org Subject: Re: ruby22 buillds with gcc38 on powerpc64 Message-ID: <07D9D6B5-9C78-43B4-99B3-4E68F9206D7A@dsl-only.net>
next in thread | raw e-mail | index | archive | help
On Thu May 5 18:53:18 UTC 2016 regis.etourmy at free.fr wrote: > Sorry, I meant gcc48, not 38.... >=20 > ----- Mail original ----- > De: "regis etourmy" < > regis.etourmy at free.fr > > > =C3=80:=20 > ruby at FreeBSD.org >=20 > Cc:=20 > freebsd-ports at freebsd.org >=20 > Envoy=C3=A9: Jeudi 5 Mai 2016 20:28:52 > Objet: ruby22 buillds with gcc38 on powerpc64 >=20 > Hi, >=20 > I tried to build ruby22 with gcc38 on my powermac G5 and it built (it = didn't with clang). I have not tested yet if it runs well. >=20 > Thanks for all your work, >=20 > R=C3=A9gis Relative to clang 3.8.0 (for example). . . https://llvm.org/bugs/show_bug.cgi?id=3D25780 [a meta-list of powerpc64 = and powerpc clang reports that block use by freebsd world and kernel] = lists various powerpc and powerpc64 code-generation issues for clang = 3.8.0 vs. FreeBSD. As I remember each of the following includes examples = of powerpc64 code-generation issues, not just powerpc (non-64) ones. https://llvm.org/bugs/show_bug.cgi?id=3D26970 https://llvm.org/bugs/show_bug.cgi?id=3D26856 https://llvm.org/bugs/show_bug.cgi?id=3D26844 https://llvm.org/bugs/show_bug.cgi?id=3D26761 One of the types of things that is broken on powerpc64 and powerpc is = C++ exception handling --and such is broken by bad code generation, = independent of involved support libraries possibly adding even more = issues. For powerpc (non-64) there are also stack-handling ABI = violations that can, for example, mess up the stack contents when signal = delivery happens. As far as I can tell depending on clang/clang++ for powerpc64 or for = powerpc is risky or requires analysis that things are actually working = for all the specific uses being made. But so far as I can tell clang = 3.8.0 is an improvement over prior clang vintages for powerpc64 and for = powerpc. =3D=3D=3D Mark Millard markmi at dsl-only.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07D9D6B5-9C78-43B4-99B3-4E68F9206D7A>