<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 27 February 2017 at 16:45, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="gmail-">On Sun, Feb 26, 2017 at 6:58 PM, Ralph Versteegen <span dir="ltr"><<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>></span> wrote:<br></span><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>What gcc version do you have?<br><br></div>I looked up the runtime_error error on ixrat and found that it was because that constructor was only introduced in gcc 5.0 while jessie apparently has 4.9, but I don't understand why you got this error on ubuntu 16.04. It looks like that ubuntu version might default to gcc 5.3, but it's quite easy to install a different version. I'm using gcc 5.4 myself without trouble, and don't know why 5.3 would have a problem.<br></div></div></blockquote><div><br></div></span><div>ixrat is indeed running gcc 4.9.2<br></div><div>My Ubuntu 16.04 box (palsink) is running gcc 5.4.0<br></div><div>I can try installing a different version of gcc and see what happens, but I have run out of time for this weekend, so I'll have to try that later. <br></div></div></div></div></blockquote><div><br></div><div>I worked it out, this is due to a difference in ABI which apparently depends on how the distro maintainers configured gcc. There was a bug on Mozilla bugzilla which has the explanation and fix:<br><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1153109">https://bugzilla.mozilla.org/show_bug.cgi?id=1153109</a><br><a href="https://gcc.gnu.org/onlinedocs/libstdc%2B%2B/manual/using_dual_abi.html">https://gcc.gnu.org/onlinedocs/libstdc%2B%2B/manual/using_dual_abi.html</a><br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div><div class="gmail-h5"><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div>stdc++compat.cpp doesn't need to be linked in when not using portable=1 anyway, but I'd like to see if I can fix this problem before taking the easy way out.<div><div class="gmail-m_2832331015023254254h5"><br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 27 February 2017 at 14:28, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Starting with this revision, I cannot compile at all on my Ubuntu 16.04 box:<br><br>james@breq:~/Dropbox/src/ohr/w<wbr>ip$ scons arch=64<br>scons: Reading SConscript files ...<br>Using target: linux  arch: x86_64  gcc: gcc  gcctarget: x86_64-linux-gnu  fbcversion: 1050<br>scons: done reading SConscript files.<br>scons: Building targets ...<br>Generating ver.txt<br>fbc -c build/savegame.rbas.bas -o build/savegame.rbas.o -mt -exx -g -O 2 -target linux -arch x86_64 -gen gcc -Wc -Wno-maybe-uninitialized,-fno-<wbr>omit-frame-pointer -d DATAFILES='"/usr/share/games/o<wbr>hrrpgce"' -d IS_GAME -m game<br>fbc -c build/common.rbas.bas -o build/game-common.rbas.o -mt -exx -g -O 2 -target linux -arch x86_64 -gen gcc -Wc -Wno-maybe-uninitialized,-fno-<wbr>omit-frame-pointer -d DATAFILES='"/usr/share/games/o<wbr>hrrpgce"' -d IS_GAME -m game<br>fbc -c build/loading.rbas.bas -o build/game-loading.rbas.o -mt -exx -g -O 2 -target linux -arch x86_64 -gen gcc -Wc -Wno-maybe-uninitialized,-fno-<wbr>omit-frame-pointer -d DATAFILES='"/usr/share/games/o<wbr>hrrpgce"' -d IS_GAME -m game<br>g++ -o build/lib/stdc++compat.o -c -O3 -DFBCVERSION=1050 -m64 --std=c++0x -g -Wall -Wno-non-virtual-dtor lib/stdc++compat.cpp<br>lib/stdc++compat.cpp:46:86: error: no member function '_S_construct_aux_2' declared in 'std::__cxx11::basic_string<ch<wbr>ar>'<br>     template char *string::_S_construct_aux_2(si<wbr>ze_type, char, allocator<char> const&);<br>                              <wbr>                              <wbr>                          ^<br>lib/stdc++compat.cpp:48:96: error: no member function '_S_construct_aux_2' declared in 'std::__cxx11::basic_string<wc<wbr>har_t>'<br>     template wchar_t *wstring::_S_construct_aux_2(s<wbr>ize_type, wchar_t, allocator<wchar_t> const&);<br>                              <wbr>                              <wbr>                              <wbr>      ^<br>scons: *** [build/lib/stdc++compat.o] Error 1<br>scons: building terminated because of errors.<div><div class="gmail-m_2832331015023254254m_-4901823005915311338h5"><br><br><br><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 26, 2017 at 6:08 AM,  <span dir="ltr"><<a href="mailto:subversion@hamsterrepublic.com" target="_blank">subversion@hamsterrepublic.co<wbr>m</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">teeemcee<br>
2017-02-26 06:08:11 -0800 (Sun, 26 Feb 2017)<br>
94<br>
Link in stdc++compat.cpp on Unix. We appear to be compatible with gcc since 3.4 now... really?<br>
---<br>
U   wip/SConscript<br>
U   wip/lib/stdc++compat.cpp<br>
U   wip/ohrbuild.py<br>
______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
</blockquote></div><br></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div></div></div><br></div></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.<wbr>org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.<wbr>org/listinfo.cgi/ohrrpgce-<wbr>motherhamster.org</a><br>
<br></blockquote></div><br></div></div>