[LLVMbugs] [Bug 14640] New: clang-3.3 high cpu usage and freeze when compiling

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 18 17:54:47 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=14640

             Bug #: 14640
           Summary: clang-3.3 high cpu usage and freeze when compiling
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: viniciustinti at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9728
  --> http://llvm.org/bugs/attachment.cgi?id=9728
preprocessor output for the command described

Clang-3.3 seems to freeze when compiling a specific file. It uses a lot of CPU
but no high memory usage.

Within a related issue on bug 14034, the following flags worked as a workaround
but they do not work on this case -mllvm -use-new-sroa=false.

The command is this one:

/mnt/w1/tinti/mine/llvmlinux/toolchain/clang/install/bin/clang-3.3 -cc1 -triple
armv6-none-linux-gnueabi -S -disable-free -disable-llvm-verifier
-main-file-name lbalance.c -mrelocation-model static -mdisable-fp-elim
-relaxed-aliasing -mdisable-tail-calls -fmath-errno -mconstructor-aliases
-target-abi aapcs-linux -target-cpu arm1176jzf-s -msoft-float -mfloat-abi soft
-target-feature +soft-float -target-feature +soft-float-abi -target-feature
+vfp2 -target-feature -neon -target-feature -neon -momit-leaf-frame-pointer -g
-coverage-file /tmp/lbalance-wzE78E.s -nostdsysteminc -nobuiltininc
-resource-dir
/mnt/w1/tinti/mine/llvmlinux/toolchain/clang/install/bin/../lib/clang/3.3
-dependency-file fs/reiserfs/.lbalance.o.d -MT fs/reiserfs/.tmp_lbalance.o
-sys-header-deps -isystem
/mnt/w1/tinti/mine/llvmlinux/toolchain/clang/install/bin/../lib/clang/3.3/include
-include
/mnt/w1/tinti/mine/llvmlinux/targets/rpi/src/rpi/include/linux/kconfig.h -D
__KERNEL__ -D __LINUX_ARM_ARCH__=6 -D MODULE -D KBUILD_STR(s)=#s -D
KBUILD_BASENAME=KBUILD_STR(lbalance) -D KBUILD_MODNAME=KBUILD_STR(reiserfs) -I
/mnt/w1/tinti/mine/llvmlinux/targets/rpi/src/rpi/arch/arm/include -I
arch/arm/include/generated -I include -I arch/arm/mach-bcm2708/include
-fmodule-cache-path /var/tmp/clang-module-cache -c-isystem . -c-isystem
/home/tinti/Local/include -O2 -Wno-asm-operand-widths -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration
-Wno-format-security -Wdeclaration-after-statement -Wno-pointer-sign
-fno-dwarf2-cfi-asm -fno-dwarf-directory-asm -fdebug-compilation-dir
/mnt/w1/tinti/mine/llvmlinux/targets/rpi/src/rpi -ferror-limit 19
-fmessage-length 206 -fwrapv -mstackrealign -fno-builtin -fno-signed-char
-fobjc-runtime=gcc -fno-common -fdiagnostics-show-option -fcolor-diagnostics
-backend-option -vectorize-loops -o /tmp/lbalance-wzE78E.s -x c
fs/reiserfs/lbalance.c

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list