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

[EDG eccp/Linux] unsats on errno

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: Examples, Tests, Utilities
    • Labels:
      None
    • Environment:

      EDG eccp 3.10 with gcc 3.3.3 on SUSE LINUX Enterprise Server 9 (x86_64)

    • Severity:
      Linker Error

      Description

      Many examples, tests, and utilitiy programs fail to link with errors similar to those below:

      $ make calc
      generating dependencies for $(TOPDIR)/examples/tutorial/calc.cpp
      eccp -M -I/amd/devco/sebor/stdcxx/include/ansi -D_RWSTDDEBUG -I/amd/devco/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.10-11s/include -I/amd/devco/sebor/stdcxx/examples/include -A -x --template_directory=/build/sebor/stdcxx-eccp-3.10-11s/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 /amd/devco/sebor/stdcxx/examples/tutorial/calc.cpp
      eccp -c -I/amd/devco/sebor/stdcxx/include/ansi -D_RWSTDDEBUG -I/amd/devco/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.10-11s/include -I/amd/devco/sebor/stdcxx/examples/include -A -x --template_directory=/build/sebor/stdcxx-eccp-3.10-11s/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 /amd/devco/sebor/stdcxx/examples/tutorial/calc.cpp
      eccp calc.o -o calc --template_directory=/build/sebor/stdcxx-eccp-3.10-11s/lib -L/build/sebor/stdcxx-eccp-3.10-11s/lib -lstd11s -lm
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0x6f9): In function `_rw::_rw_get_num(void *, const char *, int, int, const char *, unsigned int, const char *, unsigned int)':
      /amd/devco/sebor/stdcxx/src/num_get.cpp:510: undefined reference to `errno'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0x70e):/amd/devco/sebor/stdcxx/src/num_get.cpp:513: undefined reference to `errno'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0x7a7):/amd/devco/sebor/stdcxx/src/num_get.cpp:526: undefined reference to `errno'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0x857):/amd/devco/sebor/stdcxx/src/num_get.cpp:536: undefined reference to `errno'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0x883):/amd/devco/sebor/stdcxx/src/num_get.cpp:541: undefined reference to `errno'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0x8d2):/amd/devco/sebor/stdcxx/src/num_get.cpp:546: undefined reference to `__rw_flt_infinity'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0x9ce):/amd/devco/sebor/stdcxx/src/num_get.cpp:630: undefined reference to `errno'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0xa7e):/amd/devco/sebor/stdcxx/src/num_get.cpp:640: undefined reference to `errno'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0xaaf):/amd/devco/sebor/stdcxx/src/num_get.cpp:645: undefined reference to `errno'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0xafb):/amd/devco/sebor/stdcxx/src/num_get.cpp:650: undefined reference to `__rw_dbl_infinity'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0xbf4):/amd/devco/sebor/stdcxx/src/num_get.cpp:709: undefined reference to `errno'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0xca4):/amd/devco/sebor/stdcxx/src/num_get.cpp:725: undefined reference to `errno'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0xcd5):/amd/devco/sebor/stdcxx/src/num_get.cpp:730: undefined reference to `errno'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0xd38):/amd/devco/sebor/stdcxx/src/num_get.cpp:760: undefined reference to `__rw_ldbl_infinity'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0xd3e):/amd/devco/sebor/stdcxx/src/num_get.cpp:760: undefined reference to `__rw_ldbl_infinity'
      /build/sebor/stdcxx-eccp-3.10-11s/lib/libstd11s.a(num_get.o)(.text+0xd44):/amd/devco/sebor/stdcxx/src/num_get.cpp:760: undefined reference to `__rw_ldbl_infinity'
      collect2: ld returned 1 exit status
      make: *** [calc] Error 1

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: