[llvm-bugs] [Bug 52431] New: Clang 11 crashes when building NSAccessibilityCustomAction.m in GNUstep

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Nov 6 05:19:54 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=52431

            Bug ID: 52431
           Summary: Clang 11 crashes when building
                    NSAccessibilityCustomAction.m in GNUstep
           Product: clang
           Version: 11.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: greg.casamento at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

For some reason the compiler chokes on this file and I am not certain why.  The
class itself is simply a placeholder (for now).

Please see the attachments.

GC

Below is the script to build..
----
# Crash reproducer for Debian clang version 11.0.1-2
# Driver args: "NSAccessibilityCustomAction.m" "-c" "-MMD" "-MP" "-D"
"GNUSTEP_TARGET_DIR=\".\"" "-D" "GNUSTEP_TARGET_CPU=\"x86_64\"" "-D"
"GNUSTEP_TARGET_OS=\"linux-gnu\"" "-D" "LIBRARY_COMBO=\"ng-gnu-gnu\"" "-D"
"GNUSTEP_BASE_HAVE_LIBXML=1" "-D" "BACKEND_BUNDLE=1" "-D" "GNUSTEP" "-D"
"GNUSTEP_BASE_LIBRARY=1" "-D" "GNU_GUI_LIBRARY=1" "-D" "GNUSTEP_RUNTIME=1" "-D"
"_NONFRAGILE_ABI=1" "-D" "GNUSTEP_BASE_LIBRARY=1" "-fno-strict-aliasing"
"-fexceptions" "-fobjc-exceptions" "-D" "_NATIVE_OBJC_EXCEPTIONS" "-pthread"
"-fPIC" "-Wall" "-D" "GSWARN" "-D" "GSDIAGNOSE" "-Wno-import" "-g" "-O2"
"-fobjc-runtime=gnustep-1.8" "-fblocks" "-Wall"
"-fconstant-string-class=NSConstantString" "-I" "../Headers/Additions" "-I"
"../Headers" "-I" "./." "-I" "." "-I" "/root/GNUstep/Library/Headers" "-I"
"/usr/GNUstep/Local/Library/Headers" "-I" "/usr/GNUstep/System/Library/Headers"
"-fopenmp" "-D" "MAGICKCORE_HDRI_ENABLE=0" "-D" "MAGICKCORE_QUANTUM_DEPTH=16"
"-I" "/usr/include/x86_64-linux-gnu//ImageMagick-6" "-I"
"/usr/include/ImageMagick-6" "-I" "/usr/include/libpng16" "-o"
"obj/libgnustep-gui.obj/NSAccessibilityCustomAction.m.o"
# Original command:  "/usr/lib/llvm-11/bin/clang" "-cc1" "-triple"
"x86_64-pc-linux-gnu" "-emit-obj" "-disable-free" "-disable-llvm-verifier"
"-discard-value-names" "-main-file-name" "NSAccessibilityCustomAction.m"
"-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=none"
"-relaxed-aliasing" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases"
"-munwind-tables" "-target-cpu" "x86-64" "-fno-split-dwarf-inlining"
"-debug-info-kind=limited" "-dwarf-version=4" "-debugger-tuning=gdb"
"-resource-dir" "/usr/lib/llvm-11/lib/clang/11.0.1" "-dependency-file"
"obj/libgnustep-gui.obj/NSAccessibilityCustomAction.m.d" "-MT"
"obj/libgnustep-gui.obj/NSAccessibilityCustomAction.m.o" "-MP" "-D"
"GNUSTEP_TARGET_DIR=\".\"" "-D" "GNUSTEP_TARGET_CPU=\"x86_64\"" "-D"
"GNUSTEP_TARGET_OS=\"linux-gnu\"" "-D" "LIBRARY_COMBO=\"ng-gnu-gnu\"" "-D"
"GNUSTEP_BASE_HAVE_LIBXML=1" "-D" "BACKEND_BUNDLE=1" "-D" "GNUSTEP" "-D"
"GNUSTEP_BASE_LIBRARY=1" "-D" "GNU_GUI_LIBRARY=1" "-D" "GNUSTEP_RUNTIME=1" "-D"
"_NONFRAGILE_ABI=1" "-D" "GNUSTEP_BASE_LIBRARY=1" "-D"
"_NATIVE_OBJC_EXCEPTIONS" "-D" "GSWARN" "-D" "GSDIAGNOSE" "-I"
"../Headers/Additions" "-I" "../Headers" "-I" "./." "-I" "." "-I"
"/root/GNUstep/Library/Headers" "-I" "/usr/GNUstep/Local/Library/Headers" "-I"
"/usr/GNUstep/System/Library/Headers" "-D" "MAGICKCORE_HDRI_ENABLE=0" "-D"
"MAGICKCORE_QUANTUM_DEPTH=16" "-I"
"/usr/include/x86_64-linux-gnu//ImageMagick-6" "-I"
"/usr/include/ImageMagick-6" "-I" "/usr/include/libpng16" "-internal-isystem"
"/usr/local/include" "-internal-isystem"
"/usr/lib/llvm-11/lib/clang/11.0.1/include" "-internal-externc-isystem"
"/usr/include/x86_64-linux-gnu" "-internal-externc-isystem" "/include"
"-internal-externc-isystem" "/usr/include" "-O2" "-Wall" "-Wno-import" "-Wall"
"-fdebug-compilation-dir" "/home/heron/Development/gnustep/libs-gui/Source"
"-fconstant-string-class" "NSConstantString" "-ferror-limit" "19" "-fopenmp"
"-fopenmp-cuda-parallel-target-regions" "-pthread" "-fblocks"
"-fgnuc-version=4.2.1" "-fobjc-runtime=gnustep-1.8"
"-fobjc-dispatch-method=non-legacy" "-fobjc-exceptions" "-fexceptions"
"-fcolor-diagnostics" "-vectorize-loops" "-vectorize-slp" "-faddrsig" "-o"
"obj/libgnustep-gui.obj/NSAccessibilityCustomAction.m.o" "-x" "objective-c"
"NSAccessibilityCustomAction.m"
 "/usr/lib/llvm-11/bin/clang" "-cc1" "-triple" "x86_64-pc-linux-gnu"
"-emit-obj" "-disable-free" "-disable-llvm-verifier" "-discard-value-names"
"-main-file-name" "NSAccessibilityCustomAction.m" "-mrelocation-model" "pic"
"-pic-level" "2" "-mframe-pointer=none" "-relaxed-aliasing" "-fmath-errno"
"-fno-rounding-math" "-mconstructor-aliases" "-munwind-tables" "-target-cpu"
"x86-64" "-fno-split-dwarf-inlining" "-debug-info-kind=limited"
"-dwarf-version=4" "-debugger-tuning=gdb" "-D" "GNUSTEP_TARGET_DIR=\".\"" "-D"
"GNUSTEP_TARGET_CPU=\"x86_64\"" "-D" "GNUSTEP_TARGET_OS=\"linux-gnu\"" "-D"
"LIBRARY_COMBO=\"ng-gnu-gnu\"" "-D" "GNUSTEP_BASE_HAVE_LIBXML=1" "-D"
"BACKEND_BUNDLE=1" "-D" "GNUSTEP" "-D" "GNUSTEP_BASE_LIBRARY=1" "-D"
"GNU_GUI_LIBRARY=1" "-D" "GNUSTEP_RUNTIME=1" "-D" "_NONFRAGILE_ABI=1" "-D"
"GNUSTEP_BASE_LIBRARY=1" "-D" "_NATIVE_OBJC_EXCEPTIONS" "-D" "GSWARN" "-D"
"GSDIAGNOSE" "-D" "MAGICKCORE_HDRI_ENABLE=0" "-D" "MAGICKCORE_QUANTUM_DEPTH=16"
"-O2" "-Wall" "-Wno-import" "-Wall" "-fconstant-string-class"
"NSConstantString" "-ferror-limit" "19" "-fopenmp"
"-fopenmp-cuda-parallel-target-regions" "-pthread" "-fblocks"
"-fgnuc-version=4.2.1" "-fobjc-runtime=gnustep-1.8"
"-fobjc-dispatch-method=non-legacy" "-fobjc-exceptions" "-fexceptions"
"-fcolor-diagnostics" "-vectorize-loops" "-vectorize-slp" "-faddrsig" "-x"
"objective-c" "NSAccessibilityCustomAction-06494b.m"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211106/78b1d3b3/attachment-0001.html>


More information about the llvm-bugs mailing list