1) Download BR2009.11 2) Customize with menuconfig, target ABI is OABI # BR2_iwmmxt is not set BR2_ARM_TYPE="ARM920T" # BR2_ARM_EABI is not set BR2_ARM_OABI=y BR2_ARCH="arm" BR2_ENDIAN="LITTLE" BR2_GCC_TARGET_TUNE="arm920t" BR2_GCC_TARGET_ARCH="armv4t" BR2_GCC_TARGET_ABI="apcs-gnu" 3) Customize Linux(2.6.27), target is ABI is OABI CONFIG_HZ=128 # CONFIG_AEABI is not set CONFIG_ARCH_FLATMEM_HAS_HOLES=y 4) Customize BusyBox(1.15), build system, everything is OK, target system boot and running 5) If I touch (nothing modify) the uClibc config and try to (re)make a system, I get something: (.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0' uClibc's config: # # Target Architecture Features and Options # TARGET_ARCH="arm" FORCE_OPTIONS_FOR_ARCH=y CONFIG_ARM_OABI=y # CONFIG_ARM_EABI is not set # USE_BX is not set # CONFIG_GENERIC_ARM is not set # CONFIG_ARM610 is not set # CONFIG_ARM710 is not set # CONFIG_ARM7TDMI is not set # CONFIG_ARM720T is not set CONFIG_ARM920T=y 6) Clean, working config (without step 5), I add some options (target toolchain building) in buildroot config (without touching uClibc config), and start make process, I get this: CC libc/unistd/usershell.os CC libc/unistd/usleep.os CC libpthread/linuxthreads.old/forward.oS CC libpthread/linuxthreads.old/libc_pthread_init.oS CC libc/misc/elf/dl-iterate-phdr.oS CC libc/misc/internals/__uClibc_main.oS CC libpthread/linuxthreads.old/libc_pthread_init.os CC libc/misc/elf/dl-support.os CC libc/misc/elf/dl-core.os CC libc/misc/elf/dl-iterate-phdr.os CC libc/misc/internals/__uClibc_main.os CC libc/stdlib/atexit.os AR cr lib/libc.a STRIP -x -R .note -R .comment lib/libc.a AR cr lib/uclibc_nonshared.a STRIP -x -R .note -R .comment lib/uclibc_nonshared.a AR cr libc/libc_so.a STRIP -x -R .note -R .comment libc/libc_so.a LD libuClibc-0.9.30.1.so /srv/buildroot-2009.11/output/staging/usr/bin/../lib/gcc/arm-linux-uclibcgnueabi/4.4.2/libgcc.a(_divdi3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0' collect2: ld returned 1 exit status make[1]: *** [lib/libc.so] Error 1 make[1]: Leaving directory `/srv/buildroot-2009.11/output/toolchain/uClibc-0.9.30.1' make: *** [/srv/buildroot-2009.11/output/target/usr/lib/libc.a] Error 2 Build environment: Ubuntu 9.10 with bash, not dash. Linux xxxxx 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:53:52 UTC 2009 x86_64 GNU/Linux Target environment: AT91RM9200 based custom board
I finally took the time to try to reproduce the issue today. So what I did is : 1) Build an ARM OABI toolchain + Busybox system, was successful 2) Touched uClibc .config file 3) Restarted the build, and it was successful again In other words: I haven't been able to reproduce the issue you're describing. Since the bug has been opened quite a long time ago, it might be possible that we fixed it in the mean time. Or that I didn't managed to reproduce it because I didn't fully understand the reproduction procedure detailed below. As the bug is rather old and since I didn't manage to reproduce it, I'll close it as WORKSFORME. However, Peter, if you can still reproduce it, do not hesitate to reopen the bug, and attach your Buildroot .config file. Thanks !