Issue Details (XML | Word | Printable)

Key: STDCXX-569
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[Sun C++ 5.3] unsats on symbol 'exceptions' in string tests

Created: 21/Sep/07 09:59 PM   Updated: 14/May/08 06:10 PM
Return to search
Component/s: Tests
Affects Version/s: 4.2.0, 4.2.1
Fix Version/s: 4.2.2

Time Tracking:
Original Estimate: 2h
Original Estimate - 2h
Remaining Estimate: 2h
Remaining Estimate - 2h
Time Spent: Not Specified
Remaining Estimate - 2h

Environment: Sun Forte 6 Update 2 aka C++ 5.3 (111685-24), Solaris 8

Severity: Linker Error


 Description  « Hide
When compiled with Sun C++ 5.3.24, all string tests are failing with the linker error below:

CC -c -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/tests/include -library=%none -O -xarch=v9 +w $(TOPDIR)/tests/strings/21.string.access.cpp
"$(TOPDIR)/tests/strings/21.string.access.cpp", line 222: Warning: "std::basic_string<char, std::char_traits<char>, std::allocator<char>>::basic_string(const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&)" is too large and will not be expanded inline.
"$(TOPDIR)/tests/strings/21.string.access.cpp", line 317: Where: While instantiating "test_access<char, std::char_traits<char>, std::allocator<char>>(char, std::char_traits<char>, std::allocator<char>, const StringFunc&, const StringTestCase&)".
"$(TOPDIR)/tests/strings/21.string.access.cpp", line 317: Where: Instantiated from non-template code.
"$(TOPDIR)/include/string", line 960: Warning: "std::basic_string<char, std::char_traits<char>, std::allocator<char>>::_C_clone(unsigned long)" is too large and will not be expanded inline.
"$(TOPDIR)/tests/strings/21.string.access.cpp", line 317: Where: While instantiating "test_access<char, std::char_traits<char>, std::allocator<char>>(char, std::char_traits<char>, std::allocator<char>, const StringFunc&, const StringTestCase&)".
"$(TOPDIR)/tests/strings/21.string.access.cpp", line 317: Where: Instantiated from non-template code.
"$(TOPDIR)/include/string", line 1036: Warning: "std::basic_string<char, std::char_traits<char>, std::allocator<char>>::begin()" is too large and will not be expanded inline.
"$(TOPDIR)/tests/strings/21.string.access.cpp", line 317: Where: While instantiating "test_access<char, std::char_traits<char>, std::allocator<char>>(char, std::char_traits<char>, std::allocator<char>, const StringFunc&, const StringTestCase&)".
"$(TOPDIR)/tests/strings/21.string.access.cpp", line 317: Where: Instantiated from non-template code.
"$(TOPDIR)/include/string", line 199: Warning: "std::basic_string<char, std::char_traits<char>, std::allocator<char>>::_C_unlink(char*)" is too large and will not be expanded inline.
"$(TOPDIR)/tests/strings/21.string.access.cpp", line 317: Where: While instantiating "test_access<char, std::char_traits<char>, std::allocator<char>>(char, std::char_traits<char>, std::allocator<char>, const StringFunc&, const StringTestCase&)".
"$(TOPDIR)/tests/strings/21.string.access.cpp", line 317: Where: Instantiated from non-template code.
4 Warning(s) detected.
CC 21.string.access.o -o 21.string.access -L$(BUILDDIR)/rwtest -lrwtest -library=%none -xarch=v9 -L$(BUILDDIR)/lib -R$(BUILDDIR)/lib:$(BUILDDIR)/rwtest -lstd -lm
Undefined first referenced
symbol in file
exceptions $(BUILDDIR)/tests/SunWS_cache/CC_obj_c/cNB5eKUq54K-97keqHlt.o
ld: fatal: Symbol referencing errors. No output written to 21.string.access
gmake: *** [21.string.access] Error 1



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor added a comment - 14/May/08 06:10 PM
Since Sun C++ 5.3 is an ancient compiler and a Best Effort platform, lowered Priority to Minor.
Scheduled for 4.2.2 – we need to decide if this is worth fixing or not and close the issue.