> Even though the upstream bug report only mentions gcc -O3 as generating the > error, we > saw similar issues in 2.3.6 compiled with Sun Studio 11, as delivered in > Solaris - given > the fix was in the code delivered as 2.3.7, I'd say it was likely a code bug > exposed by certain > optimizations that gcc -O3 & Sun cc -xO4 have in common.
I used -xO3 -m32 -xarch=native with Studio 12 and, after editing include/freetype/config/ftoption.h, compiled a library without any issues. Note that the header file requires an additional line to be commented in addition to uncommenting the line indicated in docs/TRUETYPE. SXCE b97 also has a problematic libfreetype.so.6. Running nm against it should show: [302] | 155664| 244|FUNC |LOCL |0 |11 |tt_size_done_bytecode [303] | 155920| 582|FUNC |LOCL |0 |11 |tt_size_init_bytecode [290] | 156512| 404|FUNC |LOCL |0 |11 |tt_size_ready_bytecode -- This message posted from opensolaris.org
