This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Its a bit difficult to explain this error exactly as I'm using a script to build the toolchain, but I'll try anyway... The error is as follows:
/Network_Processor_Project/SnapGear_cd/tools/arm-elf/linux-2.4.x/include -fno-builtin -nostdinc -D_LIBC -I../../../../include -I. -I/opt/tools-elf/lib/gcc/arm-elf/3.4.4/include -DNDEBUG -c getcwd.c -o getcwd.o getcwd.c: In function `getcwd': getcwd.c:41: error: asm-specifier for variable `_a1' conflicts with asm clobber list make[4]: *** [getcwd.o] Error 1 make[4]: Leaving directory `/stareast/Network_Processor_Project/SnapGear_cd/tools/arm-elf/uClibc/libc/sysdeps/linux/common' make[3]: *** [_dir_common] Error 2 make[3]: Leaving directory `/stareast/Network_Processor_Project/SnapGear_cd/tools/arm-elf/uClibc/libc/sysdeps/linux' make[2]: *** [_dir_linux] Error 2 make[2]: Leaving directory `/stareast/Network_Processor_Project/SnapGear_cd/tools/arm-elf/uClibc/libc/sysdeps' make[1]: *** [_dir_sysdeps] Error 2 make[1]: Leaving directory `/stareast/Network_Processor_Project/SnapGear_cd/tools/arm-elf/uClibc/libc' make: *** [_dir_libc] Error 2
I'm using gcc-3.4.4 and binutils 2.10 for this, and just in case anybody wants to see the relevant script portion:
cd ${UCLIBC}/. make distclean fix_uclibc_config < extra/Configs/Config.${_CPU}.default > .config rm -f ${KERNEL}/include/asm/proc rm -f ${KERNEL}/include/asm/arch rm -f ${KERNEL}/include/asm ln -s ${KERNEL}/include/asm-${_CPU}${NOMMU} ${KERNEL}/include/asm case ${TARGET} in arm*) ln -s ${KERNEL}/include/asm-${_CPU}${NOMMU}/arch-atmel \ ${KERNEL}/include/asm/arch ln -s ${KERNEL}/include/asm-${_CPU}${NOMMU}/proc-armv \ ${KERNEL}/include/asm/proc ;; esac rm -rf include/config mkdir include/config touch include/config/autoconf.h ${MAKE} oldconfig CROSS="${TARGET}-" TARGET_ARCH=${_CPU} ${MAKE} clean CROSS="${TARGET}-" TARGET_ARCH=${_CPU} || true ${MAKE} CROSS="${TARGET}-" TARGET_ARCH=${_CPU} ARCH_CFLAGS="-I${KERNEL}/include" rm -rf include/config
I hope this helps... obviously you'd need to know all the values used here but it gives a rough idea i suppose :) Thank you
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |