g++ -g option error

Li, Wesley Wesley.Li@wcg.com
Wed Apr 23 13:45:00 GMT 2003


Hi all,
 I installed the g++ on a DEC Alpha (True64) machine (gcc version 2.95.3) and now I'm struggling with the following problem: When I compile with -g option, including debug information, I get the following Error: > /usr/local/bin/g++ -Wall -g -I/xtra/develop/common/str/export -c sysdecsharedmemory.cpp > mips-tfile, /tmp/ccK0iiTe.s:447 String too big (4281 bytes) > line: #.stabs "_S_key::1810=f1805:t8_Rb_tree5Zt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0Zt4pair2ZCt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0Zt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0Zt10_Select1st1Zt4pair2ZCt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0Zt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0Zt4less1Zt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0Zt9allocator1Zt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0P18_Rb_tree_node_base;1A?;_S_color::1811=f1807:t8_Rb_tree5Zt12basic_string3ZcZt18string_char_traits1ZcZt24__default_al.... 
Compilation without the -g option works fine. Any idea what this problem is about and how I can solve it (on my linux PC I don't have this problem) ? 
Thanks in advance, 
Wesley



More information about the Gcc-help mailing list