Are there known issues among the -pg and -O3 and -mcu=arm9020t options ? I am using Gcc 3.3.5 on Debian 1:3.3.5-13, running on a Technologic systems TS-7200 board with an Arm920T processor. Compiling a medium size program (~ 1.5mb source code) with flags -O3 -mcu=arm920t -Wall I get no errors/warnings, and the program runs to completion w/o error Yet compiling with the flags -O3 -pg -mcu=arm920t -Wall produces no errors/warnings, butproduces Segment errors at runtime -- the location of the error varies; which is unusual as the program is deterministic. And compiling with the flags -O3 -g -mcu=arm920t -Wall produces no errors/warnings, and runs to completion (either at command line or inside gdb) w/o error. fiy ... compiling the program with these sets of flags -mcu-arm920t -Wall and -03 -mcu=arm920t -Wall compile with no errors/warnings, run to completion w/o error, and and produces identical large (~2gB) regression test output. If there are no known issues among these flags, I'll work to get a smaller code base which will reproduce the bug. thanks...
First 3.3.5 is so old that it is hard to reproduce the issue. Also the ARM back-end has been improved and there has been a big ABI change (over to a standard ABI). We also need the preprocessed source where the issue is.
Need more information on this bug as specified in comment #2
No response in more than 6 months. This is now marked as INVALID because we don't have enough information to go by.
Invalid