<div dir="ltr"><div class=""><img class="" id=":1bl" tabindex="0" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt="">(meant to reply all) <br><br></div><div>Richard,<br> GCC 3.4.3 is about 9 years old- <a href="http://gcc.gnu.org/gcc-3.4/" target="_blank">http://gcc.gnu.org/gcc-3.4/</a><br>
</div> Would
 it be possible to rebuild gcc, even in a user account? Binaries are 
pretty easy to come by, also. Might be worthwhile. Could be endian 
problems?  Does the travis build try anything big endian?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 5, 2013 at 12:09 PM, Richard Wordingham <span dir="ltr"><<a href="mailto:richard.wordingham@ntlworld.com" target="_blank">richard.wordingham@ntlworld.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I had difficulty compiling HarfBuzz 0.9.14 on Solaris 10, and I would<br>
like advice on whether it is worth developing official, robust fixes.<br>
You might advise me that the system is obsolete and not worth<br>
supporting.<br>
<br>
Environment:<br>
<br>
O/S: SunOS 5.10 Generic_118833-18<br>
HW: sun4u SUNW,A70<br>
Compiler: gcc Version 3.4.3<br>
<br>
Unfortunately, upgrading this system's software is not an option.<br>
<br>
Compilation problems:<br>
<br>
1) libstdc++.la is an empty file!  It is therefore not recognised as a<br>
valid library, and compilation halts.<br>
<br>
My work-around is to manually remove "-lstdc++" from the generated<br>
script libtool.<br>
<br>
2) The compiler does not recognise the option<br>
-fvisibility-inlines-hidden.<br>
<br>
My work-around is to manually remove it from the script configure.<br>
<br>
3) The compiler considers the that overload resolution between the<br>
following templates in hb-open-type-private.hh is not possible:<br>
<br>
 /* Cast to struct T, pointer to pointer */<br>
template<typename Type, typename TObject><br>
inline const Type* CastP(const TObject *X)<br>
{ return reinterpret_cast<const Type*> (X); }<br>
template<typename Type, typename TObject><br>
inline Type* CastP(TObject *X)<br>
{ return reinterpret_cast<Type*> (X); }<br>
<br>
My workaround is to rename the former CastCP and change CastP to CastCP<br>
until the compiler stops complaining.  I had to make the same change<br>
for other pairs.<br>
<br>
Run-time problems:<br>
<br>
The program in test.cc core suffers an assertion failure because buffer<br>
directionality is invalid.  I believe this is the intended response to<br>
the behaviour in test.cc.  When I correct the file by calling<br>
hb_buffer_guess_segment_properties() before hb_shape(), I get<br>
intelligible glyph indices on Linux.  However, on Solaris the glyph<br>
indices are returned as 0, even for such simple strings as "abcde".<br>
I suspect misaligned data in the font file.  If this is the problem,<br>
would the problem be fixed, or is it now considered now worth<br>
supporting systems that don't handle this automatically?<br>
<br>
Richard.<br>
_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz" target="_blank">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
</blockquote></div><br></div>