[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-20 Thread Michael Hope
Split the performance into LP: #767986 ** Changed in: gcc-linaro Milestone: None = 4.5-2011.04-0 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to augeas in Ubuntu. https://bugs.launchpad.net/bugs/758082 Title: [armel] segfaults

[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-20 Thread Michael Hope
** Changed in: gcc-linaro Status: Triaged = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to augeas in Ubuntu. https://bugs.launchpad.net/bugs/758082 Title: [armel] segfaults in make check pass when built with

[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-20 Thread Michael Hope
** Changed in: gcc-linaro Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to augeas in Ubuntu. https://bugs.launchpad.net/bugs/758082 Title: [armel] segfaults in make check pass when built

[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-17 Thread Michael Hope
lp:~rsandifo/gcc-linaro/lp-758082 fixes this but the code generated is poor: foo: push{r1, r2, r3} ldr r3, [r0, #0] push{lr} sub sp, sp, #8 ldr r3, [r3, #8] subsr2, r3, #6 it ne movne r2, #1 cmp

[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-14 Thread Launchpad Bug Tracker
** Branch linked: lp:~ams-codesourcery/gcc-linaro/lp758082 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to augeas in Ubuntu. https://bugs.launchpad.net/bugs/758082 Title: [armel] segfaults in make check pass when built with

[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-12 Thread Launchpad Bug Tracker
This bug was fixed in the package augeas - 0.8.0-0ubuntu4 --- augeas (0.8.0-0ubuntu4) natty; urgency=low * debian/rules: Work around segfault in make check by building with -O0 on armel. Fixes armel FTBFS (LP: #758082) -- Jani Monoses j...@ubuntu.com Tue, 12 Apr 2011

[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-12 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/augeas -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to augeas in Ubuntu. https://bugs.launchpad.net/bugs/758082 Title: [armel] segfaults in make check pass when built with optimization --

[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-12 Thread Dr. David Alan Gilbert
Just poking about, it looks like just recompiling syntax.c with -O0 gets it working. (indeed compiling it with -O1 makes it fail more tests that -O2). It's a whole chain of passing va_args down throuhg about 5 different levels of printf type thing. Dave -- You received this bug notification

[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-12 Thread Dr. David Alan Gilbert
This is from a -O1 of syntax.c - note how it stamps on r2 as a temp which is the 1st variadic argument before it gets to stack the original. .global syntax_errorvoid syntax_error(struct info *info, const char *format, ...) { .thumb .thumb_func .type

[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-12 Thread Jani Monoses
the effect look similar to the one affecting telepathy-glib https://bugs.launchpad.net/ubuntu/+source/telepathy-glib/+bug/736081 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to augeas in Ubuntu. https://bugs.launchpad.net/bugs/758082

[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-12 Thread Dr. David Alan Gilbert
Thanks to Ramana for suggesting -fno-shrink-wrap which does indeed fix it. (L153 is an early exit). Dave -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to augeas in Ubuntu. https://bugs.launchpad.net/bugs/758082 Title: [armel]

[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-12 Thread Dr. David Alan Gilbert
This test case fails with -O1 but works with -fno-shrink-wrap and seems to be the same failure pattern. ** Attachment added: shrink wrap error case https://bugs.launchpad.net/ubuntu/+source/augeas/+bug/758082/+attachment/2024821/+files/shrinkwraperr.c -- You received this bug notification

[Bug 758082] Re: [armel] segfaults in make check pass when built with optimization

2011-04-12 Thread Michael Hope
** Tags added: shrinkwrap ** Changed in: gcc-linaro Status: New = Triaged ** Changed in: gcc-linaro Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to augeas in Ubuntu.