GCC for SPARC Systems problems
I've got gccfss version 4.0.4 installed. The problem I am seeing is gccfss makes some symbols in a shared library to be local, so they can't be seen by other libraries that depend on those symbols, where a normal gcc makes those symbols global.
The library below was compiled with normal gcc:
[root@ultra10] nm /opt/pkg/lib/libiconv.so | grep locale
[963]|96608|992|FUNC |GLOB |0|11|locale_charset
This library was compiled with gccfss:
[root@ultra10] nm /opt/sandbox2/opt/pkg/lib/libiconv.so | grep locale_charset
[942]|958456|0|OBJT |GLOB |0|12|$XB_sgccXYjZGxOU.locale_charset..LLC0
[943]|958464|0|OBJT |GLOB |0|12|$XB_sgccXYjZGxOU.locale_charset..LLC1
[944]|958480|0|OBJT |GLOB |0|12|$XB_sgccXYjZGxOU.locale_charset..LLC2
[945]|958496|0|OBJT |GLOB |0|12|$XB_sgccXYjZGxOU.locale_charset..LLC3
[948]|958512|0|OBJT |GLOB |0|12|$XB_sgccXYjZGxOU.locale_charset..LLC4
[949]|958520|0|OBJT |GLOB |0|12|$XB_sgccXYjZGxOU.locale_charset..LLC5
[950]|958536|0|OBJT |GLOB |0|12|$XB_sgccXYjZGxOU.locale_charset..LLC6
[709]|140600|1068|FUNC |LOCL |2|11|locale_charset
My questions are: why gccfss makes some symbols local when they should be global? Is it overoptimising too much?

