I wanted to give ChibiOS/RT 3.x a try and therefore I checked out the kernel_3_dev branch. I tried to compile the RT-STM32F407-DISCOVERY demo but I ended up with a kind of error that I've never seen before:
Code: Select all
main.c: In function 'Thread1':
main.c:36:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Linking build/ch.elf
main.c: In function 'main':
main.c:41:5: internal compiler error: Segmentation fault
int main(void) {
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: arm-none-eabi-gcc returned 1 exit status
c:/program files (x86)/gnu tools arm embedded/4.8 2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
make: *** [build/ch.elf] Error 1
Any ideas? I'm compiling on Windows 8.1 using cygwin and the GNU ARM GCC compiler. However, I don't expect this to be the problem as all the 2.6.3 demos compile without any problems. Can you compile the demo?
~ Tectu