C++ Standard Library
  1. C++ Standard Library
  2. STDCXX-1008

[HP aCC 6.16] -ipo: Invalid dynamic relocation error in domain_error.o and iostore.o

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.2.1
    • Fix Version/s: 4.2.2
    • Component/s: Build and Installation
    • Labels:
      None
    • Environment:

      HP aCC 6.16 with the -ipo option

    • Severity:
      Linker Error

      Description

      Linking the library with HP aCC 6.16 with the -ipo option produces the following linker errors:

      aCC -AA +nostl -Wl,+s  -mt +DD64 +O2 -ipo  +Z -b +DD64 \
          assert.o atomic.o bitset.o catalog.o codecvt.o collate.o ctype.o ctype_bits.o \
          domain_error.o exception.o export.o facet.o file.o instance.o invalid_argument.o \
          ios.o ios_bits.o iostore.o iostream.o iso2022.o length_error.o limits.o limits_bits.o \
          locale_bits.o locale_body.o locale_classic.o locale_combine.o locale_core.o \
          locale_eq.o locale_global.o locale_name.o logic_error.o memattr.o memory.o \
          messages.o mman.o num_get.o num_put.o once.o out_of_range.o overflow_error.o \
          punct.o random.o range_error.o runtime_error.o setlocale.o string.o strstream.o \
          strtol.o ti_collate.o ti_filebuf.o ti_insert_dbl.o ti_insert_int.o ti_insert_ptr.o ti_ios.o \
          ti_istream.o ti_messages.o ti_money_get.o ti_money_put.o ti_moneypunct.o \
          ti_num_get.o ti_num_put.o ti_numpunct.o ti_ostream.o ti_podarray.o ti_streambuf.o \
          ti_string.o ti_stringbuf.o ti_time_get.o ti_time_put.o ti_wcollate.o ti_wfilebuf.o \
          ti_winsert_dbl.o ti_winsert_int.o ti_winsert_ptr.o ti_wios.o ti_wistream.o \
          ti_wmessages.o ti_wmoney_get.o ti_wmoney_put.o ti_wmoneypunct.o \
          ti_wnum_get.o ti_wnum_put.o ti_wnumpunct.o ti_wostream.o ti_wstreambuf.o \
          ti_wstring.o ti_wstringbuf.o ti_wtime_get.o ti_wtime_put.o time_get.o time_put.o \
          tmpbuf.o typeinfo.o underflow_error.o valarray.o vecbool.o version.o wcodecvt.o \
          wctype.o  -o libstd12D.sl.4.2.2 
      "/amd/devco/sebor/stdcxx-4.2.x/src/collate.cpp", line 471, procedure do_compare:
       warning #20200-D: Potential null pointer dereference through  return of call to
       __rw::__rw_get_facet_data is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/src/collate.cpp, line 974)
      
      "/amd/devco/sebor/stdcxx-4.2.x/src/iso2022.cpp", line 775, procedure __rw::__rw_eucjp_to_iso2022: warning #20200-D: Potential null pointer dereference through esc is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/src/iso2022.cpp, line 677)
      
      "/amd/devco/sebor/stdcxx-4.2.x/src/locale_combine.cpp", line 511, procedure __rw::__rw_init_classic: warning #20200-D: Potential null pointer dereference through sep is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/src/locale_combine.cpp, line 505)
      
      "/amd/devco/sebor/stdcxx-4.2.x/src/locale_combine.cpp", line 533, procedure __rw::__rw_init_classic: warning #20200-D: Potential null pointer dereference through next is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/src/locale_combine.cpp, line 511)
      
      "/amd/devco/sebor/stdcxx-4.2.x/src/iso2022.cpp", line 744, procedure __rw::__rw_iso2022jp_do_out: warning #20200-D: Potential null pointer dereference  is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/src/iso2022.cpp, line 744)
      
      "/amd/devco/sebor/stdcxx-4.2.x/src/file.cpp", line 521, procedure ~basic_filebuf: warning #20200-D: Potential null pointer dereference through __buf is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/include/fstream.cc, line 390)
      
      "/amd/devco/sebor/stdcxx-4.2.x/include/loc/_money_put.cc", line 109, procedure do_put: warning #20200-D: Potential null pointer dereference through __pun1 is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/include/loc/_money_put.cc, line 96)
      
      "/amd/devco/sebor/stdcxx-4.2.x/src/file.cpp", line 521, procedure seekpos: warning #20200-D: Potential null pointer dereference through __buf is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/include/fstream.cc, line 390)
      
      "/amd/devco/sebor/stdcxx-4.2.x/include/loc/_money_put.cc", line 109, procedure do_put: warning #20200-D: Potential null pointer dereference through __pun1 is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/include/loc/_money_put.cc, line 96)
      
      "/amd/devco/sebor/stdcxx-4.2.x/src/time_put.cpp", line 2691, procedure __rw::__rw_fmt_time: warning #20200-D: Potential null pointer dereference through  return of call to _C_get_data is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/include/loc/_facet.h, line 193)
      
      "/amd/devco/sebor/stdcxx-4.2.x/src/time_put.cpp", line 2786, procedure __rw::__rw_fmt_time: warning #20200-D: Potential null pointer dereference through  return of call to _C_get_data is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/include/loc/_facet.h, line 193)
      
      ld: Invalid dynamic relocation needed for read-only section, in input file domain_error.o, for symbol ____rw::__rw_what_buf___exception.cpp__262144_0140__ at offset 52
      ld: Invalid dynamic relocation needed for read-only section, in input file domain_error.o, for symbol ____rw::__rw_what_refcnt___exception.cpp__262144_0141__ at offset 142
      ld: Invalid dynamic relocation needed for read-only section, in input file iostore.o, for symbol ____rw::__rw_buffer___tmpbuf.cpp__2981888_0002__ at offset 242
      ld: Invalid dynamic relocation needed for read-only section, in input file iostore.o, for symbol ____rw::__rw_buffer_busy___tmpbuf.cpp__2981888_0003__ at offset 442
      ld: Invalid dynamic relocation needed for read-only section, in input file iostore.o, for symbol ____rw::__rw_buffer___tmpbuf.cpp__2981888_0002__ at offset 582
      ld: Invalid dynamic relocation needed for read-only section, in input file iostore.o, for symbol ____rw::__rw_buffer_busy___tmpbuf.cpp__2981888_0003__ at offset 622
      ld: Invalid dynamic relocation needed for read-only section, in input file iostore.o, for symbol ____rw::__rw_buffer_busy___tmpbuf.cpp__2981888_0003__ at offset b42
      ld: Invalid dynamic relocation needed for read-only section, in input file iostore.o, for symbol ____rw::__rw_buffer___tmpbuf.cpp__2981888_0002__ at offset 12
      ld: Invalid dynamic relocation needed for read-only section, in input file iostore.o, for symbol ____rw::__rw_buffer_busy___tmpbuf.cpp__2981888_0003__ at offset 112
      9 errors.
      gmake: *** [libstd12D.sl.4.2.2] Error 1
      

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Martin Sebor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development