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

[Sun C++/Linux/x86] assembler error on xchg in i86/atomic.s

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.1.2, 4.1.3, 4.1.4
    • Fix Version/s: 4.2.0
    • Component/s: Build and Installation
    • Labels:
      None
    • Environment:

      Sun C++ 5.9/Linux/x86

    • Severity:
      Compiler Error

      Description

      All Sun C++ 5.9 builds on Linux/x86 are failing with the error below:

      ...
      gmake: Entering directory `$(BUILDDIR)/lib'
      CC -c -D_RWSTDDEBUG -I$(TOPDIR)/include -I$(BUILDDIR)/include -library=%none -g -m32 +w -errtags -erroff=hidef -KPIC $(TOPDIR)/src/assert.cpp
      CC -c -D_RWSTDDEBUG -I$(TOPDIR)/include -I$(BUILDDIR)/include -library=%none -g -m32 +w -errtags -erroff=hidef -KPIC $(TOPDIR)/src/atomic-cxx.S
      Assembler:
      "$(TOPDIR)/src/i86/atomic.s", line 60 : Syntax error
      Near line: " xchg %al, (%ecx)"
      gmake: *** [atomic-cxx.o] Error 127
      gmake: Leaving directory `$(BUILDDIR)/lib'
      Command exited with non-zero status 2

        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: