[
https://issues.apache.org/jira/browse/STDCXX-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Sebor updated STDCXX-302:
--------------------------------
Description:
Many tests are failing to link due to unsats for template specializations
instantiated in them. From the command line below it looks like the link line
is missing the name of the template repository named on the compiler line by
the argument to the {{-ptr}} option:
{noformat}
cxx -c -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/include
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/build/include
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/../rwtest
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/../rwtest/include
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/tests/include -x cxx
-nocxxstd -std strict_ansi_errors -g -ptr 0.valcmp.ti -w1 -msg_disable 450
/build2/batman/5.0.0/builds/33198521/source-buildspace/tests/self/0.valcmp.cpp
cxx 0.valcmp.o -o 0.valcmp
-L/build2/batman/5.0.0/builds/33198521/source-buildspace/build/rwtest -lrwtest
-nocxxstd -liconv -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/include
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/build/include
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/../rwtest
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/../rwtest/include
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/tests/include -ptr
.ti -L/build2/batman/5.0.0/builds/33198521/source-buildspace/build/lib -lstd
-lm
ld:
Unresolved:
run_test(const char*, const char*)
run_test(const signed char*, const char*)
run_test(const unsigned char*, const char*)
run_test(const short*, const char*)
run_test(const unsigned short*, const char*)
run_test(const int*, const char*)
run_test(const unsigned int*, const char*)
run_test(const long*, const char*)
run_test(const unsigned long*, const char*)
run_test(const long long*, const char*)
run_test(const unsigned long long*, const char*)
run_test(const wchar_t*, const char*)
gmake: *** [0.valcmp] Error 1
{noformat}
was:
Many tests are failing to link due to unsats for template specializations
instantiated in them. From the command line below it looks like the link line
is missing the name of the template repository named on the compiler line by
the argument to the -ptr option:
cxx -c -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/include
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/build/include
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/../rwtest
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/../rwtest/include
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/tests/include -x cxx
-nocxxstd -std strict_ansi_errors -g -ptr 0.valcmp.ti -w1 -msg_disable 450
/build2/batman/5.0.0/builds/33198521/source-buildspace/tests/self/0.valcmp.cpp
cxx 0.valcmp.o -o 0.valcmp
-L/build2/batman/5.0.0/builds/33198521/source-buildspace/build/rwtest -lrwtest
-nocxxstd -liconv -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/include
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/build/include
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/../rwtest
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/../rwtest/include
-I/build2/batman/5.0.0/builds/33198521/source-buildspace/tests/include -ptr
.ti -L/build2/batman/5.0.0/builds/33198521/source-buildspace/build/lib -lstd
-lm
ld:
Unresolved:
run_test(const char*, const char*)
run_test(const signed char*, const char*)
run_test(const unsigned char*, const char*)
run_test(const short*, const char*)
run_test(const unsigned short*, const char*)
run_test(const int*, const char*)
run_test(const unsigned int*, const char*)
run_test(const long*, const char*)
run_test(const unsigned long*, const char*)
run_test(const long long*, const char*)
run_test(const unsigned long long*, const char*)
run_test(const wchar_t*, const char*)
gmake: *** [0.valcmp] Error 1
Added the {{\{noformat\}}} Wiki tag to make the Description more readable.
> [Compaq C++] unsats for template specializations in tests
> ---------------------------------------------------------
>
> Key: STDCXX-302
> URL: https://issues.apache.org/jira/browse/STDCXX-302
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Tests
> Affects Versions: 4.2.0
> Environment: Compaq C++, Tru64 UNIX
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.2.1
>
> Original Estimate: 8h
> Remaining Estimate: 8h
>
> Many tests are failing to link due to unsats for template specializations
> instantiated in them. From the command line below it looks like the link line
> is missing the name of the template repository named on the compiler line by
> the argument to the {{-ptr}} option:
> {noformat}
> cxx -c -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG
> -I/build2/batman/5.0.0/builds/33198521/source-buildspace/include
> -I/build2/batman/5.0.0/builds/33198521/source-buildspace/build/include
> -I/build2/batman/5.0.0/builds/33198521/source-buildspace/../rwtest
> -I/build2/batman/5.0.0/builds/33198521/source-buildspace/../rwtest/include
> -I/build2/batman/5.0.0/builds/33198521/source-buildspace/tests/include -x
> cxx -nocxxstd -std strict_ansi_errors -g -ptr 0.valcmp.ti -w1 -msg_disable
> 450
> /build2/batman/5.0.0/builds/33198521/source-buildspace/tests/self/0.valcmp.cpp
> cxx 0.valcmp.o -o 0.valcmp
> -L/build2/batman/5.0.0/builds/33198521/source-buildspace/build/rwtest
> -lrwtest -nocxxstd -liconv -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG
> -I/build2/batman/5.0.0/builds/33198521/source-buildspace/include
> -I/build2/batman/5.0.0/builds/33198521/source-buildspace/build/include
> -I/build2/batman/5.0.0/builds/33198521/source-buildspace/../rwtest
> -I/build2/batman/5.0.0/builds/33198521/source-buildspace/../rwtest/include
> -I/build2/batman/5.0.0/builds/33198521/source-buildspace/tests/include -ptr
> .ti -L/build2/batman/5.0.0/builds/33198521/source-buildspace/build/lib -lstd
> -lm
> ld:
> Unresolved:
> run_test(const char*, const char*)
> run_test(const signed char*, const char*)
> run_test(const unsigned char*, const char*)
> run_test(const short*, const char*)
> run_test(const unsigned short*, const char*)
> run_test(const int*, const char*)
> run_test(const unsigned int*, const char*)
> run_test(const long*, const char*)
> run_test(const unsigned long*, const char*)
> run_test(const long long*, const char*)
> run_test(const unsigned long long*, const char*)
> run_test(const wchar_t*, const char*)
> gmake: *** [0.valcmp] Error 1
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.