From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30375 invoked by alias); 31 Dec 2004 05:52:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 30356 invoked by uid 48); 31 Dec 2004 05:52:44 -0000 Date: Fri, 31 Dec 2004 05:52:00 -0000 Message-ID: <20041231055244.30355.qmail@sourceware.org> From: "danglin at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041231024632.19212.danglin@gcc.gnu.org> References: <20041231024632.19212.danglin@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug debug/19212] /tmp/ccbY7YyA.s:6435: Error: attempt to get value of unresolved symbol `__s:V151' X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg03990.txt.bz2 List-Id: ------- Additional Comments From danglin at gcc dot gnu dot org 2004-12-31 05:52 ------- It seems that the assembler message is somewhat misleading. The problem would seem to be due to the fact that the symbol "_ZNSt6locale13_S_categoriesE" is not output in the .s but the 'V' apparently indicates static storage and local scope. This problem doesn't occur at -O0. (gdb) p debug_tree (decl) unit size align 8 symtab 152 alias set -1 precision 8 min max pointer_to_this reference_to_this < reference_type 0x401fe690>> unsigned SI size unit size align 32 symtab 151 alias set -1 pointer_to_this reference_to_this < reference_type 0x40998310>> unsigned used SI file /home/dave/gnu/gcc-3.3/objdir/vax-ultrix/libstdc++-v3/ include/bits/basic_string.h line 468 size unit size < integer_cst 0x4001abe0 4> align 32 context abstract_origin initial (mem/s:SI (symbol_ref:SI ("_ZNSt6locale13_S_categoriesE")) [19 _S_categories+ 0 S4 A32])> (gdb) p debug_rtx (home) (mem/s:SI (symbol_ref:SI ("_ZNSt6locale13_S_categoriesE")) [19 _S_categories+0 S4 A32]) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19212