[ https://issues.apache.org/jira/browse/STDCXX-905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595342#action_12595342 ] Eric Lemings commented on STDCXX-905: ------------------------------------- http://svn.apache.org/viewvc?view=rev&revision=654588 > [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 > Time Spent: 1.5h > Remaining Estimate: 0.5h > > 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::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::do_transform(const int*, const int*) const. > "/stdcxx/trunk/include/loc/_locale.h", line 347: Warning, notemsource: Could not find source for std::collate::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::do_hash(const int*,const int*)const 22.locale.synopsis.o > std::basic_stringstd::collate::do_transform(const int*,const int*)const 22.locale.synopsis.o > int std::collate::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.