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

[SGI MIPSpro] test linker errors due to library unsats

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.3
    • 4.2.0
    • Tests
    • None
    • SGI MIPSpro, IRIX

    Description

      All tests (but strangely not examples) are failing to link with MIPSpro on IRIX because of unsats for library (and other) symbols. For example:

      gmake: Entering directory `/build2/batman/5.0.0/builds/33202281/source-buildspace/build/tests'
      CC -c -I/build2/batman/5.0.0/builds/33202281/source-buildspace/include/ansi -D_REENTRANT -D_RWSTD_USE_CONFIG -I/build2/batman/5.0.0/builds/33202281/source-buildspace/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/build/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/../rwtest -I/build2/batman/5.0.0/builds/33202281/source-buildspace/../rwtest/include -I/build2/batman/5.0.0/builds/33202281/source-buildspace/tests/include -O -OPT:Olimit=0 -64 -ansiW -woff1429,1460,1521,3150,3333 /build2/batman/5.0.0/builds/33202281/source-buildspace/tests/self/0.alloc.cpp
      CC 0.alloc.o -o 0.alloc -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest -lrwtest -Wl,-woff,84 -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/lib -LANG:std=off -lpthread -64 -L/build2/batman/5.0.0/builds/33202281/source-buildspace/build/lib -lstd -lm
      ld64: ERROR 33 : Unresolved text symbol "_rw::_rw_assert_fail(const char*,const char*,int,const char*)" – 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(driver.o).
      Use linker option -v to see when and which objects, archives and dsos are loaded.
      ld64: ERROR 33 : Unresolved text symbol "_rw::_rw_memattr(const void*,unsigned long,int)" – 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
      Use linker option -v to see when and which objects, archives and dsos are loaded.
      ld64: ERROR 33 : Unresolved text symbol "std::ios_base::Init::Init(void)" – 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
      Use linker option -v to see when and which objects, archives and dsos are loaded.
      ld64: ERROR 33 : Unresolved text symbol "std::ios_base::Init::~Init(void)" – 1st referenced by /build2/batman/5.0.0/builds/33202281/source-buildspace/build/rwtest/librwtest.a(printf.o).
      Use linker option -v to see when and which objects, archives and dsos are loaded.
      ld64: INFO 152: Output file removed because of error.
      gmake: *** [0.alloc] Error 2

      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:
                Resolved: