[LLVMbugs] [Bug 9436] New: Build from trunk fails in lib/Analysis on cygwin

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 9 04:05:17 PST 2011


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

           Summary: Build from trunk fails in lib/Analysis on cygwin
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Global Analyses
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: magnus.reftel at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Builds fail for Cygwin since at least r127241 with the following error:

$ make
make[1]: Entering directory `/tmp/llvm/llvm-127327/lib/Support'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/llvm/llvm-127327/lib/Support'
make[1]: Entering directory `/tmp/llvm/llvm-127327/utils'
make[2]: Entering directory `/tmp/llvm/llvm-127327/utils/FileCheck'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/llvm/llvm-127327/utils/FileCheck'
make[2]: Entering directory `/tmp/llvm/llvm-127327/utils/FileUpdate'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/llvm/llvm-127327/utils/FileUpdate'
make[2]: Entering directory `/tmp/llvm/llvm-127327/utils/TableGen'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/llvm/llvm-127327/utils/TableGen'
make[2]: Entering directory `/tmp/llvm/llvm-127327/utils/PerfectShuffle'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/llvm/llvm-127327/utils/PerfectShuffle'
make[2]: Entering directory `/tmp/llvm/llvm-127327/utils/count'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/llvm/llvm-127327/utils/count'
make[2]: Entering directory `/tmp/llvm/llvm-127327/utils/fpcmp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/llvm/llvm-127327/utils/fpcmp'
make[2]: Entering directory `/tmp/llvm/llvm-127327/utils/llvm-lit'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/llvm/llvm-127327/utils/llvm-lit'
make[2]: Entering directory `/tmp/llvm/llvm-127327/utils/not'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/llvm/llvm-127327/utils/not'
make[2]: Entering directory `/tmp/llvm/llvm-127327/utils/unittest'
make[3]: Entering directory `/tmp/llvm/llvm-127327/utils/unittest/googletest'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/llvm/llvm-127327/utils/unittest/googletest'
make[3]: Entering directory `/tmp/llvm/llvm-127327/utils/unittest/UnitTestMain'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/llvm/llvm-127327/utils/unittest/UnitTestMain'
make[2]: Leaving directory `/tmp/llvm/llvm-127327/utils/unittest'
make[1]: Leaving directory `/tmp/llvm/llvm-127327/utils'
make[1]: Entering directory `/tmp/llvm/llvm-127327/lib/VMCore'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/llvm/llvm-127327/lib/VMCore'
make[1]: Entering directory `/tmp/llvm/llvm-127327/lib'
make[2]: Entering directory `/tmp/llvm/llvm-127327/lib/VMCore'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/llvm/llvm-127327/lib/VMCore'
make[2]: Entering directory `/tmp/llvm/llvm-127327/lib/AsmParser'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/llvm/llvm-127327/lib/AsmParser'
make[2]: Entering directory `/tmp/llvm/llvm-127327/lib/Bitcode'
make[3]: Entering directory `/tmp/llvm/llvm-127327/lib/Bitcode/Reader'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/llvm/llvm-127327/lib/Bitcode/Reader'
make[3]: Entering directory `/tmp/llvm/llvm-127327/lib/Bitcode/Writer'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/llvm/llvm-127327/lib/Bitcode/Writer'
make[2]: Leaving directory `/tmp/llvm/llvm-127327/lib/Bitcode'
make[2]: Entering directory `/tmp/llvm/llvm-127327/lib/Archive'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/llvm/llvm-127327/lib/Archive'
make[2]: Entering directory `/tmp/llvm/llvm-127327/lib/Analysis'
llvm[2]: Compiling ConstantFolding.cpp for Release+Asserts build
In file included from ConstantFolding.cpp:33:
/tmp/llvm/llvm-127327/include/llvm/Support/FEnv.h: In function ‘void
llvm::sys::llvm_fenv_clearexcept()’:
/tmp/llvm/llvm-127327/include/llvm/Support/FEnv.h:36: error: ‘FE_ALL_EXCEPT’
was not declared in this scope
/tmp/llvm/llvm-127327/include/llvm/Support/FEnv.h:36: error: ‘feclearexcept’
was not declared in this scope
/tmp/llvm/llvm-127327/include/llvm/Support/FEnv.h: In function ‘bool
llvm::sys::llvm_fenv_testexcept()’:
/tmp/llvm/llvm-127327/include/llvm/Support/FEnv.h:47: error: ‘FE_ALL_EXCEPT’
was not declared in this scope
/tmp/llvm/llvm-127327/include/llvm/Support/FEnv.h:47: error: ‘FE_INEXACT’ was
not declared in this scope
/tmp/llvm/llvm-127327/include/llvm/Support/FEnv.h:47: error: ‘fetestexcept’ was
not declared in this scope
make[2]: ***
[/tmp/llvm/llvm-127327/lib/Analysis/Release+Asserts/ConstantFolding.o] Error 1
make[2]: Leaving directory `/tmp/llvm/llvm-127327/lib/Analysis'
make[1]: *** [Analysis/.makeall] Error 2
make[1]: Leaving directory `/tmp/llvm/llvm-127327/lib'
make: *** [all] Error 1

The failing command is

g++ -I/tmp/llvm/llvm-127327/include -I/tmp/llvm/llvm-127327/lib/Analysis 
-D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3
-fomit-frame-pointer -fno-exceptions -fno-rtti -Woverloaded-virtual -Wcast-qual
   -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings  -c
-MMD -MP -MF
"/tmp/llvm/llvm-127327/lib/Analysis/Release+Asserts/ConstantFolding.d.tmp" -MT
"/tmp/llvm/llvm-127327/lib/Analysis/Release+Asserts/ConstantFolding.o" -MT
"/tmp/llvm/llvm-127327/lib/Analysis/Release+Asserts/ConstantFolding.d"
ConstantFolding.cpp -o
/tmp/llvm/llvm-127327/lib/Analysis/Release+Asserts/ConstantFolding.o

I'm attaching the results of this command with -E specified instead of -c .

This is on a clean checkout. I'm using Cygwin 1.7.8 on Windows XP SP3.

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