Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-2116

Compiling with ASAN at -O0 causes compiler errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.2
    • Impala 2.5.0
    • None

    Description

      When I change CXX_FLAGS_ADDRESS_SANITIZER in be/CMakeLists.txt to include -O0 instead of -O1 and run make_asan.sh, I get the following compiler errors:

      /home/skye/code/impala/be/src/util/sse-util.h:102:11: error: invalid operand for inline asm constraint 'K'
        __asm__("pcmpestri %5, %2, %1"
                ^
      /home/skye/code/impala/be/src/util/sse-util.h:102:11: error: invalid operand for instruction
      <inline asm>:1:2: note: instantiated into assembly here
              pcmpestri %flags, 624(%rsp), %xmm1
              ^
      

      Attachments

        Activity

          People

            mgrund_impala_bb91 Martin Grund
            skye Skye Wanderman-Milne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: