incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Closed: (STDCXX-57) [gcc 4.0.2] explicit instantiation/extern template unsats on symbols defined later
Date Fri, 09 Dec 2005 01:33:08 GMT
     [ http://issues.apache.org/jira/browse/STDCXX-57?page=all ]
     
Martin Sebor closed STDCXX-57:
------------------------------

    Resolution: Fixed

Fixed with the referenced changes.

> [gcc 4.0.2] explicit instantiation/extern template unsats on symbols defined later
> ----------------------------------------------------------------------------------
>
>          Key: STDCXX-57
>          URL: http://issues.apache.org/jira/browse/STDCXX-57
>      Project: STDCXX
>         Type: Bug
>   Components: Build
>     Versions: 4.1.2
>  Environment: gcc 4.0.2
>     Reporter: Martin Sebor
>     Assignee: Martin Sebor
>     Priority: Critical
>      Fix For: 4.1.3

>
> Linking with gcc 4.0.2 gives many unsats for member functions of class templates explicitly
instantiated in the library. For example:
> gcc -c -I/build/sebor/dev/stdlib/include/ansi -D_RWSTDDEBUG   -pthreads -D_RWSTD_USE_CONFIG
-I/build/sebor/gcc-4.0.2-15s/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/examples/include
 -pedantic -nostdinc++ -g  -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long
 /build/sebor/dev/stdlib/examples/tutorial/alg7.cpp
> gcc alg7.o -o alg7 -pthreads -L/build/sebor/gcc-4.0.2-15s/lib -lstd15s  -lsupc++ -lm
> Undefined                       first referenced
>  symbol                             in file
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >::substr(unsigned
int, unsigned int) constalg2.o
> ld: fatal: Symbol referencing errors. No output written to alg2
> collect2: ld returned 1 exit status
> make: *** [alg2] Error 1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message