Hi Guo, Guo Ren wrote,
Follow the steps to build c-sky uclibc linux system:
- git clone https://github.com/c-sky/buildroot.git
- cd buildroot
- make qemu_csky_ck810_uclibc_defconfig
- make
Follow the buildroot/board/qemu/csky/readme.txt to run.
This buildroot toolchain is pre-build, But you can rebuild the c-sky uclibc-ng alone and install it to the buildroot sysroot manually.
We'll try our best to improve the uclibc-ng continuously.
Thanks for the submission. Looks very good to me. To finally test and push the patch I really need to create a uClibc-ng toolchain on my own and I want to run the test-suite on qemu or hardware.
I regulary run my testing shell script before releases to minimize any regressions in common code.
I get following error when trying to create a toolchain with the provided github sources for binutils, gcc and Linux kernel, targeting ck610f CPU: .. /pthread -I./libpthread/nptl/sysdeps/pthread/bits -I./libpthread/nptl/sysdeps/generic -I./libc/sysdeps/linux/common -isystem /home/wbx/csky/toolchain_qemu-csky_uclibc-ng/usr/lib/gcc/csky-unknown-linux/6.3.0/include-fixed -isystem /home/wbx/csky/toolchain_qemu-csky_uclibc-ng/usr/lib/gcc/csky-unknown-linux/6.3.0/include -I/home/wbx/csky/target_qemu-csky_uclibc-ng/usr/include/ -DNDEBUG -DIN_LIB=libc -fPIC -MT libc/sysdeps/linux/csky/__syscall_error.os -MD -MP -MF libc/sysdeps/linux/csky/.__syscall_error.os.dep {standard input}: Assembler messages: {standard input}: Error: value of 93939307125736 too large for field of 4 bytes at 56 Makerules:369: die Regel für Ziel „libc/sysdeps/linux/csky/__syscall_error.os“ scheiterte
Anything missing in the github sources required to actually build a uClibc-ng toolchain from scratch?
Thanks in advance, Waldemar