Updated PSP toolchain

rsn8887 <[email protected]> Sat, 13 Apr 2019 20:48:28 -0500
Newsgroups gmane.games.devel.scummvm
Message-ID <[email protected]>
--===============3237921046619483992==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_A33C9C4F-6884-438D-AEA6-52A26765284B"


--Apple-Mail=_A33C9C4F-6884-438D-AEA6-52A26765284B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello all,
I updated the psp toolchain on the buildbot today. The old psp toolchain =
couldn=E2=80=99t compile the latest kyra engine changes anymore due to a =
compiler bug in ancient gcc 4.3.x.

The updated toolchain uses gcc 4.9.3, a version where that compiler bug =
that prevented kyra to compile has been fixed.

A backup of the complete old toolchain is present on the buildbot server =
in /opt/toolchains/backup_and_update_info_20190413/. So the changes can =
always be reverted. In the same folder, I put the new toolchain files I =
used, as well as a short README.TXT about what I did.

I removed the LD_LIBRARY_PATH buildbot hack for the psp platform here:

Since the new toolchain shouldn=E2=80=99t require it. I will revert the =
above commit in case the buildbot displays problems building psp builds =
in the future.

BUILDBOT: Remove psp library hack, not needed with updated psp toolchain =
<https://github.com/scummvm/scummvm-sites/commit/c2724a790fb571e48a97ae2b3=
7ad625b8f3f0a87>

The new gcc should build kyra fine (it does in my local tests). However, =
at least on my local machine, the new compiler fails on linking the glk =
(Gargoyle engine) plugin. I get a ton of undefined reference errors like =
this one for example:
engines/glk/alan2/execute.o: In function `Glk::Alan2::Execute::quit()':
(.text+0x3b4): undefined reference to =
`Glk::Alan2::Alan2::statusLine()=E2=80=99

Dreammaster, you might want to take a look at psp buildbot logs if you =
are interested.

Otherwise, note glk is an interactive fiction engine. There is really no =
way to play those types of games comfortably on the psp platform. There =
is no usb/bt keyboard support for example. I suggest setting =
disable-engine=3Dglk for the psp platform buildbot settings, and disable =
the engine on this platform. This would allow the buildbot to hopefully =
create somewhat useful executables. At least that is my hope.

Cheers,
rsn8887=

--Apple-Mail=_A33C9C4F-6884-438D-AEA6-52A26765284B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><span=
 class=3D""></span><span class=3D"">Hello all,</span><span class=3D""><br =
class=3D"">I updated the psp toolchain on the buildbot today. The old =
psp toolchain couldn=E2=80=99t compile the latest kyra engine =
changes&nbsp;anymore due to a compiler bug in ancient gcc 4.3.x.<br =
class=3D""></span><span class=3D""><br class=3D""></span><span =
class=3D"">The updated toolchain uses gcc&nbsp;4.9.3, a version where =
that compiler bug that prevented kyra to compile has&nbsp;been fixed.<br =
class=3D""></span><span class=3D""><br class=3D""></span><span =
class=3D"">A backup of the complete old toolchain is present on the =
buildbot server =
in&nbsp;/opt/toolchains/backup_and_update_info_20190413/. So the changes =
can always be reverted. In the same&nbsp;folder, I put the&nbsp;new =
toolchain files I used, as well as a short README.TXT about what I =
did.<br class=3D""></span><span class=3D""><br class=3D""></span><span =
class=3D"">I removed the LD_LIBRARY_PATH buildbot hack for the psp =
platform here:<br class=3D""><br class=3D""></span><span class=3D"">Since =
the new toolchain shouldn=E2=80=99t require it. I will revert the above =
commit in case the buildbot&nbsp;displays problems building =
psp&nbsp;builds in the future.<br class=3D""></span><span class=3D""><br =
class=3D""></span><a =
href=3D"https://github.com/scummvm/scummvm-sites/commit/c2724a790fb571e48a=
97ae2b37ad625b8f3f0a87" class=3D"">BUILDBOT: Remove psp library hack, =
not needed with updated psp toolchain</a><span class=3D""><br =
class=3D""><br class=3D""></span><span class=3D"">The new gcc should =
build kyra fine (it does in my local tests). However, at least on my =
local&nbsp;machine, the new compiler fails on&nbsp;linking the glk =
(Gargoyle engine) plugin. I get a ton of undefined&nbsp;reference errors =
like this one for example:<br class=3D""></span><span =
class=3D"">engines/glk/alan2/execute.o: In function =
`Glk::Alan2::Execute::quit()':<br class=3D"">(.text+0x3b4): undefined =
reference to `Glk::Alan2::Alan2::statusLine()=E2=80=99<br =
class=3D""></span><span class=3D""><br class=3D""></span><span =
class=3D"">Dreammaster, you might want to take a look at psp buildbot =
logs if you are interested.<br class=3D""></span><span class=3D""><br =
class=3D""></span><span class=3D"">Otherwise, note glk is an interactive =
fiction engine. There is really no way to play those types of&nbsp;games =
comfortably on the psp&nbsp;platform. There is no usb/bt keyboard =
support for example. I suggest&nbsp;setting disable-engine=3Dglk for the =
psp platform buildbot&nbsp;settings, and disable the engine on =
this&nbsp;platform. This would allow the buildbot to hopefully create =
somewhat useful&nbsp;executables. At least&nbsp;that is my hope.<br =
class=3D""></span><span class=3D""><br class=3D""></span><span =
class=3D"">Cheers,<br class=3D""></span><span =
class=3D"">rsn8887</span></body></html>=

--Apple-Mail=_A33C9C4F-6884-438D-AEA6-52A26765284B--


--===============3237921046619483992==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KU2N1bW12bS1k
ZXZlbCBtYWlsaW5nIGxpc3QKU2N1bW12bS1kZXZlbEBsaXN0cy5zY3VtbXZtLm9yZwpodHRwczov
L2xpc3RzLnNjdW1tdm0ub3JnL2xpc3RpbmZvL3NjdW1tdm0tZGV2ZWwK

--===============3237921046619483992==--