Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-183

[Sun C++ 5.6, 5.7] relocation error in 3 examples

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.1.3
    • None
    • Configuration
    • None
    • Sun C++ 5.6, 5.7 but not 5.5 or 5.8

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              sebor Martin Sebor
              sebor Martin Sebor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: