Problem on Linking: Symbol too looonnnng, cut !

Jean-Michel Paris Jean-Michel.Paris@pt.nce.sita.int
Wed Sep 9 22:55:00 GMT 1998


I'm using on Solaris-2.6 (Ultra2)
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)

I've made an intensive use of templates and STL maps. The problem is
that generated symbols are too long ! They seems to be cutted.

example
symbol
__t4pair2Zt18__rb_tree_iterator3Zt4pair2ZCcZt3map4Zt12basic_string3ZcZt18

string_char_traits1ZcZt24__default_alloc_template2b0i0ZPMt7FSMable2ZcZt12

basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0FPt7

FSMable2ZcZt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_t

emplate2b0i0Gt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_t

emplate2b0i0_vZt4less1Zt12basic_string3ZcZt18string_char_traits1ZcZt24__defa

ult_alloc_template2b0i0Zt24__default_alloc_template2b0i0ZRt4pair2ZCcZt3map4

Zt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0Z

PMt7FSMable2ZcZt12basic_string3ZcZt18string_char_traits1ZcZt24__default_all

oc_template2b0i0FPt7FSMable2ZcZt12basic_string3ZcZt18string_char_traits1ZcZ

t24__default_alloc_template2b0i0Gt12basic_string3ZcZt18string_char_traits1ZcZt2

4__default_alloc_template2b0i0_vZt4less1Zt12basic_string3ZcZt18string_char_trait

s1ZcZt24__default_alloc_template2b0i0Zt24__default_alloc_template2b0i0ZPt4pai

r2ZCcZt3map4Zt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_t

emplate2b0i0ZPMt7FSMable2ZcZt12basic_string3ZcZt18string_char_traits1ZcZt2

4__default_allo              <--------------- stange ending !!!!

Is there any workaround ?
On linker ?!
On egcs (compress symbol mode ?).


--
Jean-Michel Paris
Software Engineer
http://www.mygale.org/07/jmparis  <13 August 1998>
mailto:Jean-Michel.Paris@pt.nce.sita.int





More information about the Gcc mailing list