> I am having the same problem. It was "introduced" by revision 54811, > so it looks like a memory corruption problem. Investigating.Interesting. Bootstrapping with gcac works! Some tests with valgrind also work. My next try is to add some debug code to do bounds checking in SmallVector. Cheers, -- Rafael Avila de Espindola Google | Gordon House | Barrow Street | Dublin 4 | Ireland Registered in Dublin, Ireland | Registration Number: 368047
I get the error below (and have for a couple weeks now) when trying to build llvm-gcc on Ubuntu Feisty. In the meantime, on Ubuntu Gutsy, everything has been building fine. Both are release builds for x86. John cc1: StringMap.cpp:177: void llvm::StringMapImpl::RemoveKey(llvm::StringMapEntryBase*): Assertion `V == V2 && "Didn't find key?"' failed.
Doh-- not that it likely matters but I meant to say that things have been building fine on Hardy (8.04) not Gutsy. John On Tue, 2 Sep 2008, John Regehr wrote:> I get the error below (and have for a couple weeks now) when trying to > build llvm-gcc on Ubuntu Feisty. In the meantime, on Ubuntu Gutsy, > everything has been building fine. Both are release builds for x86. > > John > > > cc1: StringMap.cpp:177: void > llvm::StringMapImpl::RemoveKey(llvm::StringMapEntryBase*): Assertion `V => V2 && "Didn't find key?"' failed. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
2008/9/2 John Regehr <regehr at cs.utah.edu>:> I get the error below (and have for a couple weeks now) when trying to > build llvm-gcc on Ubuntu Feisty. In the meantime, on Ubuntu Gutsy, > everything has been building fine. Both are release builds for x86.Can you try to reduce the problem? Copy and past the command line that fails, and add -save-temps -v. Having the cc1 line that fails and the .i file should help.> JohnCheers, -- Rafael Avila de Espindola Google | Gordon House | Barrow Street | Dublin 4 | Ireland Registered in Dublin, Ireland | Registration Number: 368047
On Tue, Sep 2, 2008 at 12:08 PM, John Regehr <regehr at cs.utah.edu> wrote:> I get the error below (and have for a couple weeks now) when trying to > build llvm-gcc on Ubuntu Feisty. In the meantime, on Ubuntu Gutsy, > everything has been building fine. Both are release builds for x86.I've seen this error too with gcc version 4.1.2 20070626 (Red Hat 4.1.2-14). I do not see it with gcc version 3.4.6 20060404 (Red Hat 3.4.6-9). Also, if you use the Debug build (--enable-checking does not currently select the LLVM debug build to link into llvm-gcc, so you have to set this manually), I do not see the error, only the Release build. valgrind seems clean on the Release build. Andrew> > John > > > cc1: StringMap.cpp:177: void > llvm::StringMapImpl::RemoveKey(llvm::StringMapEntryBase*): Assertion `V => V2 && "Didn't find key?"' failed. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >