[Bug debug/19212] /tmp/ccbY7YyA.s:6435: Error: attempt to get value of unresolved symbol `__s:V151'

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jan 2 19:53:00 GMT 2005


------- Additional Comments From danglin at gcc dot gnu dot org  2005-01-02 19:53 -------
Adding a bit of assembler code to the .s file to define 
_ZNSt6locale13_S_categoriesE eliminates the error:

...
.globl __ZNSt6locale18_S_categories_sizeE
        .text
        .align 2
__ZNSt6locale18_S_categories_sizeE:
        .long   6
;;; start added code
.global __ZNSt6locale13_S_categoriesE
        .text
        .align 2
__ZNSt6locale13_S_categoriesE:
        .long   6
;;; end added code
.globl __ZNSt6locale24_S_extra_categories_sizeE
        .align 2
__ZNSt6locale24_S_extra_categories_sizeE:
        .long   0
.globl __ZNSt6locale2id12_S_highwaterE
...

Thus, we need to determine why _ZNSt6locale13_S_categoriesE wasn't
emitted.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19212



More information about the Gcc-bugs mailing list