[LLVMbugs] [Bug 5804] New: building with STL in parallel mode gets tblgen stuck

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Dec 16 04:27:35 PST 2009


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

           Summary: building with STL in parallel mode gets tblgen stuck
           Product: new-bugs
           Version: trunk
          Platform: PC
               URL: https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1779
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


export CXXFLAGS="-O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings
-Wuninitialized -Wall -pipe -mtune=core2 -march=core2 -fomit-frame-pointer
-ffast-math -msse2 -msse -mmmx -mfpmath=sse -D_FORTIFY_SOURCE=2 -Wpointer-arith
-fstack-protector -Wstack-protector -Wextra -Wcast-align -Wcast-qual
-Wdisabled-optimization -Wendif-labels -Wfloat-equal -Wformat-nonliteral
-Winline -Wpointer-arith -Wundef -D_GLIBCXX_PARALLEL -fopenmp"
export LDFLAGS=-lgomp

./llvm/configure
make ENABLE_OPTIMIZED=1 -j4

when generating the X86 .inc files, tblgen gets stuck for minutes here:
llvm[0]: Building X86.td register names with tblgen
llvm[0]: Building X86.td register information header with tblgen
llvm[0]: Building X86.td register info implementation with tblgen
llvm[0]: Building X86.td instruction names with tblge

If I run 'make' instead of 'make -j4' then it does make some progress, however
it is very very slow.

This bug was originally reported by Nigel Horne for ClamAV (which includes LLVM
in the git version now).


-- 
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