Issue Details (XML | Word | Printable)

Key: STDCXX-183
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Martin Sebor
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.6, 5.7] relocation error in 3 examples

Created: 23/May/06 12:35 AM   Updated: 01/Mar/07 11:21 PM
Return to search
Component/s: Configuration
Affects Version/s: 4.1.3
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Sun C++ 5.6, 5.7 but not 5.5 or 5.8
Issue Links:
Dependants
 


 Description  « Hide
The example programs alg7.cpp, icecream.cpp, and random_shuffle.cpp exit abnormally with the error below:

CC -xarch=v9 -D_RWCONFIG=12d -I../../include -I./../../../../include -I./../../../.. -I./../../../.. -I.. -O -mt -library=%none -c ../random_shuffle.cpp
CC -xarch=v9 -mt -library=%none -L./../../../../lib -o random_shuffle random_shuffle.o -lstd4112d

Example output:

Elements before random_shuffle:
1 2 3 4 5 6 7 8 9 10 ld.so.1: random_shuffle: fatal: relocation error: R_SPARC_JMP_SLOT: unidentifiable procedure reference: link-map 0xffffffff7f5011a0, offset 0x1fc921, called from 0xffffffff7f2485a4



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor added a comment - 23/May/06 12:36 AM
Caused by the linked issue.

Martin Sebor made changes - 23/May/06 12:36 AM
Field Original Value New Value
Link This issue depends on STDCXX-182 [ STDCXX-182 ]
Martin Sebor made changes - 23/May/06 12:43 AM
Summary [Sun C++] relocation error in 3 examples [Sun C++ 5.6, 5.7] relocation error in 3 examples
Environment Sun C++ 5.7 Sun C++ 5.6, 5.7 but not 5.5 or 5.8
Martin Sebor added a comment - 01/Mar/07 11:21 PM
Lowered priority since the problem manifests itself only on two old versions of Solaris.

Martin Sebor made changes - 01/Mar/07 11:21 PM
Priority Major [ 3 ] Minor [ 4 ]