Building on Fedora 14 (updated), x86_64. Note that the %sil register is an AMD64 register.
i486-openwrt-linux-gnu-gcc pthread_rwlock_tryrdlock.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fhonour-copts -fmerge-all-constants -fno-align-functions -fno-align-jumps -fno-align-labels -fno-align-loops -march=k6-2 -pipe -Wstrict-prototypes -mpreferred-stack-boundary=2 -I../include -I/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.8/eglibc-2.8-r8587-final/nptl -I/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.8/eglibc-2.8-r8587-final -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i486 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /home/philipp/openwrt2/staging_dir/toolchain-i386_gcc-linaro_eglibc-2.8/lib/gcc/i486-openwrt-linux-gnu/4.5.4/include -isystem /home/philipp/openwrt2/staging_dir/toolchain-i386_gcc-linaro_eglibc-2.8/lib/gcc/i486-openwrt-linux-gnu/4.5.4/include-fixed -isystem /home/philipp/openwrt2/staging_dir/toolchain-i386_gcc-linaro_eglibc-2.8/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1 -DIS_IN_libpthread=1 -o /home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.8/eglibc-2.8-r8587-final/nptl/pthread_rwlock_tryrdlock.o -MD -MP -MF /home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.8/eglibc-2.8-r8587-final/nptl/pthread_rwlock_tryrdlock.o.dt -MT /home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.8/eglibc-2.8-r8587-final/nptl/pthread_rwlock_tryrdlock.o pthread_rwlock_tryrdlock.c: Assembler messages: pthread_rwlock_tryrdlock.c:52: Error: bad register name `%sil' make[6]: *** [/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.8/eglibc-2.8-r8587-final/nptl/pthread_rwlock_tryrdlock.o] Error 1 make[6]: Leaving directory `/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.8/eglibc-2.8-r8587/libc/nptl' make[5]: *** [nptl/subdir_lib] Error 2 make[5]: Leaving directory `/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.8/eglibc-2.8-r8587/libc' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.8/eglibc-2.8-r8587-final' make[3]: *** [/home/philipp/openwrt2/staging_dir/toolchain-i386_gcc-linaro_eglibc-2.8/stamp/.eglibc_built] Error 2 make[3]: Leaving directory `/home/philipp/openwrt2/toolchain/eglibc' make[2]: *** [toolchain/eglibc/compile] Error 2 make[2]: Leaving directory `/home/philipp/openwrt2' make[1]: *** [/home/philipp/openwrt2/staging_dir/toolchain-i386_gcc-linaro_eglibc-2.8/stamp/.toolchain_install] Error 2 make[1]: Leaving directory `/home/philipp/openwrt2' make: *** [world] Error 2 540.059u 146.368s 11:25.19 100.1% 0+0k 0+902104io 0pf+0w Script done, file is openwrt.log _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel