[LLVMbugs] [Bug 3147] New: Can no longer compile clang with gcc-4.2 on OpenBSD 4. 4 after r59835

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Nov 30 13:26:52 PST 2008


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

           Summary: Can no longer compile clang with gcc-4.2 on OpenBSD 4.4
                    after r59835
           Product: clang
           Version: unspecified
          Platform: All
               URL: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-
                    Mon-20081117/009618.html
        OS/Version: OpenBSD
            Status: NEW
          Keywords: build-problem, regression
          Severity: blocker
          Priority: P2
         Component: AST
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: cnst+llvm at bugmail.mojo.ru
                CC: llvmbugs at cs.uiuc.edu, sebastian.redl at getdesigned.at


A week or two ago, the compilation of clang got broken on OpenBSD.  After I
backed out r59835 last week, I could again compile clang without a problem. 
(Today, after updating the tree, a clean backout of r59835 is no longer
possible due to conflicts.)

Below is the error messages that I get after ensuring that no part of r59835 is
backed out (e.g. the tree is totally as per svn, except for some small changes
in lib/{Lex/Lexer.cpp,Driver/InitHeaderSearch.cpp}):

phen:clang {4532} env CC=egcc CPP=ecpp CXX=eg++ gmake
gmake[1]: Entering directory `/home/constant/llvm/tools/clang/lib'
gmake[2]: Entering directory `/home/constant/llvm/tools/clang/lib/Headers'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/constant/llvm/tools/clang/lib/Headers'
gmake[2]: Entering directory `/home/constant/llvm/tools/clang/lib/Basic'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/constant/llvm/tools/clang/lib/Basic'
gmake[2]: Entering directory `/home/constant/llvm/tools/clang/lib/Lex'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/constant/llvm/tools/clang/lib/Lex'
gmake[2]: Entering directory `/home/constant/llvm/tools/clang/lib/Parse'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/constant/llvm/tools/clang/lib/Parse'
gmake[2]: Entering directory `/home/constant/llvm/tools/clang/lib/AST'
llvm[2]: Compiling StmtSerialization.cpp for Release build
/home/constant/llvm/include/llvm/Bitcode/Serialization.h: In static member
function 'static void llvm::SerializeTrait<T>::Emit(llvm::Serializer&, const
T&) [with T = short unsigned int:14]':
/home/constant/llvm/include/llvm/Bitcode/Serialize.h:42:   instantiated from
'void llvm::Serializer::Emit(const T&) [with T = short unsigned int:14]'
StmtSerialization.cpp:1448:   instantiated from here
/home/constant/llvm/include/llvm/Bitcode/Serialization.h:38: error: request for
member 'Emit' in 'X', which is of non-class type 'const short unsigned int:14'
/home/constant/llvm/include/llvm/Bitcode/Serialization.h: In static member
function 'static void llvm::SerializeTrait<T>::Emit(llvm::Serializer&, const
T&) [with T = short unsigned int:15]':
/home/constant/llvm/include/llvm/Bitcode/Serialize.h:42:   instantiated from
'void llvm::Serializer::Emit(const T&) [with T = short unsigned int:15]'
StmtSerialization.cpp:1449:   instantiated from here
/home/constant/llvm/include/llvm/Bitcode/Serialization.h:38: error: request for
member 'Emit' in 'X', which is of non-class type 'const short unsigned int:15'
gmake[2]: ***
[/home/constant/llvm/tools/clang/lib/AST/Release/StmtSerialization.o] Error 1
gmake[2]: Leaving directory `/home/constant/llvm/tools/clang/lib/AST'
gmake[1]: *** [AST/.makeall] Error 2
gmake[1]: Leaving directory `/home/constant/llvm/tools/clang/lib'
gmake: *** [all] Error 1
1.030u 0.200s 0:01.23 100.0%    0+0k 0+51io 0pf+0w
phen:clang {4533} uname -rms
OpenBSD 4.4 amd64
phen:clang {4534} egcc --version
egcc (GCC) 4.2.0 20070307 (prerelease)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

phen:clang {4535}


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