[llvm-bugs] [Bug 32908] New: head -r317729 FreeBSD's clang 4 targeting powerpc (32-bit) crashed processing buildworld's mpt_cam.c

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 3 07:21:29 PDT 2017


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

            Bug ID: 32908
           Summary: head -r317729 FreeBSD's clang 4 targeting powerpc
                    (32-bit) crashed processing buildworld's mpt_cam.c
           Product: clang
           Version: 4.0
          Hardware: Other
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: markmi at dsl-only.net
                CC: llvm-bugs at lists.llvm.org

Created attachment 18402
  --> https://bugs.llvm.org/attachment.cgi?id=18402&action=edit
Diagnostic .c file clang 4 left behind

The /tmp/mpt_cam-56fad4.sh content of clang's self-saved
report was:

# Crash reproducer for FreeBSD clang version 4.0.0 (tags/RELEASE_400/final
297347) (based on LLVM 4.0.0)
# Driver args: "--target=powerpc-unknown-freebsd12.0"
"--sysroot=/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp" "-B"
"/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/usr/bin" "-O2" "-pipe"
"-fno-strict-aliasing" "-D" "_KERNEL" "-D" "KLD_MODULE" "-nostdinc" "-D"
"HAVE_KERNEL_OPTION_HEADERS" "-include"
"/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/opt_global.h"
"-I" "." "-I" "/usr/src/sys" "-fno-common" "-g" "-fno-omit-frame-pointer" "-I"
"/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG"
"-fno-altivec" "-msoft-float" "-ffreestanding" "-fwrapv" "-fstack-protector"
"-gdwarf-2" "-Wall" "-Wredundant-decls" "-Wnested-externs"
"-Wstrict-prototypes" "-Wmissing-prototypes" "-Wpointer-arith" "-Winline"
"-Wcast-qual" "-Wundef" "-Wno-pointer-sign" "-D"
"__printf__=__freebsd_kprintf__" "-Wmissing-include-dirs"
"-fdiagnostics-show-option" "-Wno-unknown-pragmas"
"-Wno-error-tautological-compare" "-Wno-error-empty-body"
"-Wno-error-parentheses-equality" "-Wno-error-unused-function"
"-Wno-error-pointer-sign" "-Wno-error-shift-negative-value"
"-Wno-error-address-of-packed-member" "-std=iso9899:1999" "-c"
"/usr/src/sys/dev/mpt/mpt_cam.c" "-o" "mpt_cam.o"
# Original command: 
"/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/usr/bin/cc" "-cc1"
"-triple" "powerpc-unknown-freebsd12.0" "-emit-obj" "-disable-free"
"-main-file-name" "mpt_cam.c" "-mrelocation-model" "static" "-mthread-model"
"posix" "-mdisable-fp-elim" "-relaxed-aliasing" "-masm-verbose"
"-mconstructor-aliases" "-target-cpu" "ppc" "-target-feature" "-hard-float"
"-target-feature" "-altivec" "-msoft-float" "-mfloat-abi" "soft"
"-dwarf-column-info" "-debug-info-kind=standalone" "-dwarf-version=2"
"-debugger-tuning=gdb" "-coverage-notes-file"
"/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/modules/usr/src/sys/modules/mpt/mpt_cam.gcno"
"-nostdsysteminc" "-nobuiltininc" "-resource-dir"
"/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/usr/bin/../lib/clang/4.0.0"
"-include"
"/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/opt_global.h"
"-D" "_KERNEL" "-D" "KLD_MODULE" "-D" "HAVE_KERNEL_OPTION_HEADERS" "-I" "."
"-I" "/usr/src/sys" "-I"
"/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG" "-D"
"__printf__=__freebsd_kprintf__" "-isysroot"
"/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp" "-O2" "-Wall"
"-Wredundant-decls" "-Wnested-externs" "-Wstrict-prototypes"
"-Wmissing-prototypes" "-Wpointer-arith" "-Winline" "-Wcast-qual" "-Wundef"
"-Wno-pointer-sign" "-Wmissing-include-dirs" "-Wno-unknown-pragmas"
"-Wno-error-tautological-compare" "-Wno-error-empty-body"
"-Wno-error-parentheses-equality" "-Wno-error-unused-function"
"-Wno-error-pointer-sign" "-Wno-error-shift-negative-value"
"-Wno-error-address-of-packed-member" "-std=iso9899:1999"
"-fdebug-compilation-dir"
"/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/modules/usr/src/sys/modules/mpt"
"-ferror-limit" "19" "-fmessage-length" "0" "-ffreestanding" "-fwrapv"
"-stack-protector" "1" "-fno-signed-char" "-fobjc-runtime=gnustep"
"-fno-common" "-fdiagnostics-show-option" "-vectorize-loops" "-vectorize-slp"
"-o" "mpt_cam.o" "-x" "c" "/usr/src/sys/dev/mpt/mpt_cam.c"
 "/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/usr/bin/cc" "-cc1"
"-triple" "powerpc-unknown-freebsd12.0" "-emit-obj" "-disable-free"
"-main-file-name" "mpt_cam.c" "-mrelocation-model" "static" "-mthread-model"
"posix" "-mdisable-fp-elim" "-relaxed-aliasing" "-masm-verbose"
"-mconstructor-aliases" "-target-cpu" "ppc" "-target-feature" "-hard-float"
"-target-feature" "-altivec" "-msoft-float" "-mfloat-abi" "soft"
"-dwarf-column-info" "-debug-info-kind=standalone" "-dwarf-version=2"
"-debugger-tuning=gdb" "-coverage-notes-file"
"/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/modules/usr/src/sys/modules/mpt/mpt_cam.gcno"
"-nostdsysteminc" "-nobuiltininc" "-D" "_KERNEL" "-D" "KLD_MODULE" "-D"
"HAVE_KERNEL_OPTION_HEADERS" "-D" "__printf__=__freebsd_kprintf__" "-O2"
"-Wall" "-Wredundant-decls" "-Wnested-externs" "-Wstrict-prototypes"
"-Wmissing-prototypes" "-Wpointer-arith" "-Winline" "-Wcast-qual" "-Wundef"
"-Wno-pointer-sign" "-Wmissing-include-dirs" "-Wno-unknown-pragmas"
"-Wno-error-tautological-compare" "-Wno-error-empty-body"
"-Wno-error-parentheses-equality" "-Wno-error-unused-function"
"-Wno-error-pointer-sign" "-Wno-error-shift-negative-value"
"-Wno-error-address-of-packed-member" "-std=iso9899:1999" "-ferror-limit" "19"
"-fmessage-length" "0" "-ffreestanding" "-fwrapv" "-stack-protector" "1"
"-fno-signed-char" "-fobjc-runtime=gnustep" "-fno-common"
"-fdiagnostics-show-option" "-vectorize-loops" "-vectorize-slp" "-x" "c"
"mpt_cam-56fad4.c"

-- 
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/20170503/ca0f167c/attachment-0001.html>


More information about the llvm-bugs mailing list