I am experiencing an error while trying to build the maple bootloader. I have the latest checked out from git.
My env:
+Ubuntu 9.10
+gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202)
The error occurs in the linking phase. It seems like it has compiled and assembled:
.....
.....Linking: build/maple_boot.elf
arm-none-linux-gnueabi-gcc -mthumb -mcpu=cortex-m3 -mthumb-interwork -I. -g -O0 -ffunction-sections -fdata-sections -Wall -Wimplicit -Wcast-align -Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow -Wunused -Wa,-adhlns=build/build/usb.lst -I./stm32_lib -I./usb_lib -MD -MP -MF .dep/maple_boot.elf.d build/stm32_lib/c_only_startup.o build/stm32_lib/cortexm3_macro.o build/usb.o build/usb_callbacks.o build/usb_descriptor.o build/main.o build/hardware.o build/dfu.o build/usb_lib/usb_regs.o build/usb_lib/usb_int.o build/usb_lib/usb_init.o build/usb_lib/usb_core.o build/usb_lib/usb_mem.o --output build/maple_boot.elf -nostartfiles -Wl,-Map=build/maple_boot.map,--cref,--gc-sections -lc -lgcc -Tstm32_lib/c_only_md.ld
/home/ubuntu/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: error: /home/ubuntu/CodeSourcery/Sourcery_G++_Lite/bin/../arm-none-linux-gnueabi/libc/thumb2/lib/libc.so.6: Conflicting architecture profiles A/M
/home/ubuntu/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: failed to merge target specific data of file /home/ubuntu/CodeSourcery/Sourcery_G++_Lite/bin/../arm-none-linux-gnueabi/libc/thumb2/lib/libc.so.6
collect2: ld returned 1 exit status
make: *** [build/maple_boot.elf] Error 1
this is after just running a simple 'make'. Any ideas on what this could be?