[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#344503: Icon build failure on arm due to gcc-4.0 regression



Package: gcc-4.0
Version: 4.0.2-5
Severity: important

Hi,

The latest upload of icon (9.4.2-2.4) has failed to build on arm with the current gcc-4.0 in sid (4.0.2-5). After some investigation I've found that this is gcc-4.0 fault, and the build failures start with the version 4.0.1-7 (4.0.1-6 builds the same source fine). Also, 4.0.1-7 works fine if I change the optimization level from -O2 to -O0.

Since the failure is happening when the tests are run, it is pretty tricky to tell what's wrong by looking at it with gdb (and the fact that the .c source files for icon are generated from some kind of the pseudocode in .r files does not help too much either). AFAICT it segfaults when trying to dereference a pointer which has been defined and has a valid value in the function, but at some point gdb starts reporting it as <value optimized away> and the code gets a NULL when trying to dereference it.

Please let me know if you need more details and I'll try to dig into it.

[0] http://buildd.debian.org/fetch.php?&pkg=icon&ver=9.4.2-2.4&arch=arm&stamp=1135056762&file=log&as=raw

Best regards,

Jurij Smakov                                        jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC



Reply to: