On Tue, 19 Sep 2006, Anton Vayvod wrote:> Program received signal SIGSEGV, Segmentation fault. > 0x00634572 in (anonymous namespace)::X86DAGToDAGISel::DeleteNode ( > this=0x4c3b710, N=0x4c3e5c0) > at /llvm/obj/lib/Target/X86/X86GenDAGISel.inc:77 > 77 SDNode *Operand = I->Val; > > SEGFAULT seems to come before register allocation pass is being run.Are you using LLVM CVS? If not, please update. If so, please run 'make bugpoint-llc' in that directory and file a bug. This is an instruction selector bug, not yours. We'll be happy to fix it if it's not already fixed in LLVM CVS. -Chris -- http://nondot.org/sabre/ http://llvm.org/
> Are you using LLVM CVS? If not, please update.Yes, I'm using LLVM CVS. Updated a couple of hours ago. If so, please run 'make> bugpoint-llc' in that directory and file a bug. This is an instruction > selector bug, not yours. We'll be happy to fix it if it's not already > fixed in LLVM CVS.The test is running and I already have Segmentation Fault errors in Regression/C++ tests and UnitTests. But make bugpoint-llc doesn't find any targets in tests' obj directories. I'll wait until error in some Application test occurs and will file a bug then. Interesting that these errors don't occur under Linux with the same CVS version of LLVM (but using gcc 4.1.1 if this matters). BTW, what's the difference between llc and llc-beta? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060920/da42da94/attachment.html>
I didn't find how to attach the bugpoint output with bugzilla so I'll attach it (and stackdump, too) here. The test bugpoint was run on is /MultiSource/Applications/sgefa Though the same error appears almost for every test (UnitTests, Regression, etc). See if this worth to be submitted as a bug. I've updated from CVS about two hours ago. I use cygwin with gcc 3.4.4 (cygming special), binutils 2.17. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060920/8b5ae170/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: llc.exe.zip Type: application/zip Size: 3706 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060920/8b5ae170/attachment.zip>
Hello Anton Wed, 20 Sep 2006 15:17:16 +0400 you wrote:> See if this worth to be submitted as a bug. > I've updated from CVS about two hours ago. > I use cygwin with gcc 3.4.4 (cygming special), binutils 2.17.I'll check it here. I have gcc 3.4.4 (mingw) cross-compiler installed, so, I'll try to build LLVM with mingw and check, whether it'll fail. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
On Wed, 20 Sep 2006, Anton Vayvod wrote:> Yes, I'm using LLVM CVS. Updated a couple of hours ago. > If so, please run 'make >> bugpoint-llc' in that directory and file a bug. This is an instruction >> selector bug, not yours. We'll be happy to fix it if it's not already >> fixed in LLVM CVS. > > > The test is running and I already have Segmentation Fault errors in > Regression/C++ tests and UnitTests. But make bugpoint-llc doesn't find any > targets in tests' obj directories.Ah, in singlesource, try 'make Output/program.bugpoint-llc'.> I'll wait until error in some Application test occurs and will file a bug > then. > > Interesting that these errors don't occur under Linux with the same CVS > version of LLVM (but using gcc 4.1.1 if this matters).There are a lot of things that could trigger it. System header files vary widely across OS's (even across versions of one OS), and can sometimes trigger issues.> BTW, what's the difference between llc and llc-beta?llc-beta is a "test platform" for new stuff, and is also used for performance comparisons between different sets of LLC options. On X86 right now, llc-beta uses the local (intra-basic-block) register allocator, which is used with llvm-gcc -O0. -Chris -- http://nondot.org/sabre/ http://llvm.org/
Hello Anton Wed, 20 Sep 2006 15:17:16 +0400 you wrote:> I've updated from CVS about two hours ago. > I use cygwin with gcc 3.4.4 (cygming special), binutils 2.17.Everything is ok here (llc.exe compiled with mingw edition of gcc). If you want, I can send you compiled llc.exe. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.