<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">You should not need gcc8. I had gcc11 working on 10.5 ppc (and ppc64 too). I have seen people using gcc13 on 10.5 ppc following my instructions from the PR.<br />
<br />
What is the point of gcc8?<br />
<br />
You build gcc10-bootstrap and then use it to build gcc13. Nothing else needed in between.</div>
</div>
<div name="messageReplySection">On Mar 28, 2024 at 23:58 +0800, Riccardo Mottola via macports-dev <macports-dev@lists.macports.org>, wrote:<br />
<blockquote type="cite" style="border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;">Hi,<br />
<br />
after all the talk about gcc versions, I tried to build gcc 8 here.<br />
Officially it says "gcc8 is known to fail".<br />
<br />
I first did just "build" on Intel 64bit and PPC 32bit - Intel 32bit<br />
later, I fear my MacBook has fan issues.<br />
<br />
Intel 64bit finished build! Took several hours. I thus tried to install<br />
it... and it says again<br />
"libgcc8 is known to fail. Try to install anyway?" and yes, it just built!<br />
<br />
However then it asks about libgcc9.... but I want to stay on libgcc8,<br />
that was the point... am Inheriting that it will go up to gcc13?<br />
<br />
<br />
On PowerPC instead build fails (and ultimate goal is to enable newer<br />
gccs on PPC too, where it is needed)<br />
<br />
:info:build cc1plus: warning: '-mdynamic-no-pic' overrides '-fpic',<br />
'-fPIC', '-fpie' or '-fPIE'<br />
:info:build<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc8/gcc8/work/gcc-8.5.0/gcc/jit/jit-playback.c:<br />
In member function 'gcc::jit::result*<br />
gcc::jit::playback::context::dlopen_built_dso()':<br />
:info:build<br />
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc8/gcc8/work/gcc-8.5.0/gcc/jit/jit-playback.c:2599:3:<br />
error: 'dlerror' was not declared in this scope<br />
:info:build dlerror ();<br />
:info:build ^~~~~~~<br />
<br />
<br />
Already seen this? Full build log is 6.7MB<br />
Should I open a ticket on this or is there already one for gcc8 efforts?<br />
didn't find it.<br />
<br />
Riccardo<br /></blockquote>
</div>
</body>
</html>