[ 
https://issues.apache.org/jira/browse/STDCXX-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485672
 ] 

Martin Sebor commented on STDCXX-379:
-------------------------------------

As suggested by STDCXX-381, disabling the extern template extension (via 
-D_RWSTD_NO_EXTERN_TEMPLATE) while building the library resolves the unsats.

> [XLC++ 7.0, 8.0] unsats on 
> std::__vttQ2_3std13basic_istreamXTcTQ2_3std11char_traitsXTc__ et al
> ----------------------------------------------------------------------------------------------
>
>                 Key: STDCXX-379
>                 URL: https://issues.apache.org/jira/browse/STDCXX-379
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2
>         Environment: XLC++ 7.0, 8.0 /AIX
>            Reporter: Martin Sebor
>         Assigned To: Martin Sebor
>            Priority: Blocker
>             Fix For: 4.2
>
>
> All programs (examples, tests, utilities) fail to link with the errors below. 
> The symbols don't seem to correspond to any actual class members (i.e., they 
> look like some virtual table entries or something like that).
> gmake: Entering directory `$(BUILDDIR)/examples'
> xlCcore -c -I$(TOPDIR)/include/ansi    -I$(TOPDIR)/include 
> -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include  -O -qinline  -q64    
> -qtemplateregistry=accumulate.ti $(TOPDIR)/examples/manual/accumulate.cpp
> xlCcore accumulate.o -o accumulate -I$(TOPDIR)/include/ansi    -liconv 
> -Wl,-bh:5   -q64 -L$(BUILDDIR)/lib  -lstd  -lm 
> -qtemplateregistry=accumulate.ti
> ld: 0711-317 ERROR: Undefined symbol: 
> std::__vttQ2_3std13basic_istreamXTcTQ2_3std11char_traitsXTc__
> ld: 0711-317 ERROR: Undefined symbol: 
> std::__vttQ2_3std13basic_ostreamXTcTQ2_3std11char_traitsXTc__
> ld: 0711-317 ERROR: Undefined symbol: 
> std::__vttQ2_3std13basic_istreamXTwTQ2_3std11char_traitsXTw__
> ld: 0711-317 ERROR: Undefined symbol: 
> std::__vttQ2_3std13basic_ostreamXTwTQ2_3std11char_traitsXTw__
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> gmake: *** [accumulate] Error 8

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to