[
https://issues.apache.org/jira/browse/STDCXX-905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Lemings updated STDCXX-905:
--------------------------------
Description:
The tests/localization/22.locale.synopsis test fails to link on Solaris
platforms with the following warnings and errors:
{noformat}
CC -c -mt -I/stdcxx/trunk/include -I/build/lemings/stdcxx-trunk/include
-I/stdcxx/trunk/tests/include -library=%none -O -m64 +w -errtags
-erroff=hidef /stdcxx/trunk/tests/localization/22.locale.synopsis.cpp
"/stdcxx/trunk/tests/localization/22.locale.synopsis.cpp", line 39: Warning,
nokeyworddefine: keyword "protected" is being redefined.
"/stdcxx/trunk/tests/localization/22.locale.synopsis.cpp", line 530: Warning,
truncwarn: Conversion of 64 bit type value to "unsigned" causes truncation.
"/stdcxx/trunk/include/loc/_locale.h", line 347: Warning, notemsource: Could
not find source for std::collate<int>::do_compare(const int*, const int*, const
int*, const int*) const.
"/stdcxx/trunk/include/loc/_locale.h", line 347: Warning, notemsource: Could
not find source for std::collate<int>::do_transform(const int*, const int*)
const.
"/stdcxx/trunk/include/loc/_locale.h", line 347: Warning, notemsource: Could
not find source for std::collate<int>::do_hash(const int*, const int*) const.
5 Warning(s) detected.
CC 22.locale.synopsis.o -o 22.locale.synopsis -L/build/stdcxx-trunk/rwtest
-lrwtest12D -library=%none -mt -m64 -L/build/stdcxx-trunk/lib
-R/build/stdcxx-trunk/lib:/build/stdcxx-trunk/rwtest -lstd12D -lm
Undefined first referenced
symbol in file
long std::collate<int>::do_hash(const int*,const int*)const 22.locale.synopsis.o
std::basic_string<int>std::collate<int>::do_transform(const int*,const
int*)const 22.locale.synopsis.o
int std::collate<int>::do_compare(const int*,const int*,const int*,const
int*)const 22.locale.synopsis.o
ld: fatal: Symbol referencing errors. No output written to 22.locale.synopsis
gmake: *** [22.locale.synopsis] Error 1
{noformat}
This test was added per Jira issue STDCXX-869.
was:
The tests/localization/22.locale.synopsis test fails to link on Solaris
platforms with the following warnings and errors:
{noformat}
CC 22.locale.synopsis.o -o 22.locale.synopsis -L/build/stdcxx-trunk/rwtest
-lrwtest12D -library=%none -mt -m64 -L/build/stdcxx-trunk/lib
-R/build/stdcxx-trunk/lib:/build/stdcxx-trunk/rwtest -lstd12D -lm
Undefined first referenced
symbol in file
long std::collate<int>::do_hash(const int*,const int*)const 22.locale.synopsis.o
std::basic_string<int>std::collate<int>::do_transform(const int*,const
int*)const 22.locale.synopsis.o
int std::collate<int>::do_compare(const int*,const int*,const int*,const
int*)const 22.locale.synopsis.o
ld: fatal: Symbol referencing errors. No output written to 22.locale.synopsis
gmake: *** [22.locale.synopsis] Error 1
{noformat}
This test was added per Jira issue STDCXX-869.
Forgot to include important compiler warnings.
> [Sun C++ 5.9/Solaris 10] 22.locale.synopsis link error on Solaris platforms
> ---------------------------------------------------------------------------
>
> Key: STDCXX-905
> URL: https://issues.apache.org/jira/browse/STDCXX-905
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Tests
> Affects Versions: 4.2.1
> Reporter: Eric Lemings
> Assignee: Eric Lemings
> Fix For: 4.2.2
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> The tests/localization/22.locale.synopsis test fails to link on Solaris
> platforms with the following warnings and errors:
> {noformat}
> CC -c -mt -I/stdcxx/trunk/include -I/build/lemings/stdcxx-trunk/include
> -I/stdcxx/trunk/tests/include -library=%none -O -m64 +w -errtags
> -erroff=hidef /stdcxx/trunk/tests/localization/22.locale.synopsis.cpp
> "/stdcxx/trunk/tests/localization/22.locale.synopsis.cpp", line 39: Warning,
> nokeyworddefine: keyword "protected" is being redefined.
> "/stdcxx/trunk/tests/localization/22.locale.synopsis.cpp", line 530: Warning,
> truncwarn: Conversion of 64 bit type value to "unsigned" causes truncation.
> "/stdcxx/trunk/include/loc/_locale.h", line 347: Warning, notemsource: Could
> not find source for std::collate<int>::do_compare(const int*, const int*,
> const int*, const int*) const.
> "/stdcxx/trunk/include/loc/_locale.h", line 347: Warning, notemsource: Could
> not find source for std::collate<int>::do_transform(const int*, const int*)
> const.
> "/stdcxx/trunk/include/loc/_locale.h", line 347: Warning, notemsource: Could
> not find source for std::collate<int>::do_hash(const int*, const int*) const.
> 5 Warning(s) detected.
> CC 22.locale.synopsis.o -o 22.locale.synopsis -L/build/stdcxx-trunk/rwtest
> -lrwtest12D -library=%none -mt -m64 -L/build/stdcxx-trunk/lib
> -R/build/stdcxx-trunk/lib:/build/stdcxx-trunk/rwtest -lstd12D -lm
> Undefined first referenced
> symbol in file
> long std::collate<int>::do_hash(const int*,const int*)const
> 22.locale.synopsis.o
> std::basic_string<int>std::collate<int>::do_transform(const int*,const
> int*)const 22.locale.synopsis.o
> int std::collate<int>::do_compare(const int*,const int*,const int*,const
> int*)const 22.locale.synopsis.o
> ld: fatal: Symbol referencing errors. No output written to 22.locale.synopsis
> gmake: *** [22.locale.synopsis] Error 1
> {noformat}
> This test was added per Jira issue STDCXX-869.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.