On Sun, Jun 06, 2010 at 10:24:00PM +0100, Adam D. Barratt wrote: > On Wed, 2010-05-05 at 19:54 +0100, Adam D. Barratt wrote: > > On Tue, 2010-05-04 at 18:57 -0700, Daniel Burrows wrote: > > > Is there an s390 machine I could run a debugger on? If not, I'll > > > probably have to do an upload that annotates this code with obnoxious > > > amounts of logging :( > > > > There's a porter-box - zelenka.debian.org > > Did you have any luck in debugging this?
I've been having a poke at this issue on zelenka. My hunch from Daniel's simplified code was it was likely to be either an optimisation bug or invalid code which happens to work on other platforms, so I tried with DEB_BUILD_OPTIONS=noopt, which worked, and then with CXXFLAGS=-g -O1 which also worked. Then I took the list of differences between -O1 and -O2 and tried different combinations until I eventually found that it works with: CXXFLAGS=-g -O2 -fno-gcse So I think we a pretty reasonable workaround now, and it would be good to solve the FTBFS issue as it's blocking various transitions, so I suggest adding -fno-gcse to CXXFLAGS for s390. I'm happy to NMU an upload with this change if you're too busy. Cheers, Olly
signature.asc
Description: Digital signature