Comment 2 for bug 87075

Revision history for this message
AndrĂ¡s Korn (kornandras) wrote :

For what it's worth, binary packages from Debian work fine.

Just rebuilding the source on Ubuntu results in a broken package.

And yes, it is due to the stack-protector issue, we checked using gdb:

0x080485ca <processFile+4>: push %ebx
0x080485cb <processFile+5>: sub $0x64,%esp
0x080485ce <processFile+8>: mov %gs:0x14,%eax

It segfaults at the last line. I'm told this code is only generated with stack-protector enabled.

Compiling with gcc-4.0 also works, like this:

debian/rules binary CC='diet -Os gcc-4.0'

Andras