Skip to content

[TASK] <title> Running "make images" command using the docker container doesn't work. #101

Description

@walrider3

Is there an existing CVA6-SDK task for this?

  • I have searched the existing task issues

Task Description

uclibc 1.0.49 Building
/usr/bin/make -C /repo/buildroot/output/build/uclibc-1.0.49 ARCH="riscv64" CROSS_COMPILE="/repo/buildroot/output/host/bin/riscv64-buildroot-linux-uclibc-" UCLIBC_EXTRA_CFLAGS=" -g0 -fno-lto" HOSTCC="/usr/bin/gcc" headers
make[2]: Entering directory '/repo/buildroot/output/build/uclibc-1.0.49'
make[2]: 'headers' is up to date.
make[2]: Leaving directory '/repo/buildroot/output/build/uclibc-1.0.49'
/usr/bin/make -C /repo/buildroot/output/build/uclibc-1.0.49 ARCH="riscv64" CROSS_COMPILE="/repo/buildroot/output/host/bin/riscv64-buildroot-linux-uclibc-" UCLIBC_EXTRA_CFLAGS=" -g0 -fno-lto" HOSTCC="/usr/bin/gcc"
make[2]: Entering directory '/repo/buildroot/output/build/uclibc-1.0.49'
make[3]: 'lib/ld-uClibc.so' is up to date.
LD libuClibc-1.0.49.so
/repo/buildroot/output/host/lib/gcc/riscv64-buildroot-linux-uclibc/13.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: libc/libc_so.a(err.os): in function .L0 ': err.c:(.text+0xa0): undefined reference to __atomic_compare_exchange_4'
/repo/buildroot/output/host/lib/gcc/riscv64-buildroot-linux-uclibc/13.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: libc/libc_so.a(err.os): in function .L6': err.c:(.text+0x138): undefined reference to __atomic_exchange_4'
/repo/buildroot/output/host/lib/gcc/riscv64-buildroot-linux-uclibc/13.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: libc/libc_so.a(__cxa_finalize.os): in function .L3': __cxa_finalize.c:(.text+0xac): undefined reference to __atomic_compare_exchange_8'
/repo/buildroot/output/host/lib/gcc/riscv64-buildroot-linux-uclibc/13.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: libc/libc_so.a(fork.oS): in function .L23': fork.c:(.text+0x130): undefined reference to __atomic_fetch_add_4'
/repo/buildroot/output/host/lib/gcc/riscv64-buildroot-linux-uclibc/13.3.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: libc/libc_so.a(sem_timedwait.oS): in function .L5': sem_timedwait.c:(.text+0xd8): undefined reference to __atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
libc/Makefile.in:77: recipe for target 'lib/libc.so' failed
make[2]: *** [lib/libc.so] Error 1
make[2]: Leaving directory '/repo/buildroot/output/build/uclibc-1.0.49'
package/pkg-generic.mk:286: recipe for target '/repo/buildroot/output/build/uclibc-1.0.49/.stamp_built' failed
make[1]: *** [/repo/buildroot/output/build/uclibc-1.0.49/.stamp_built] Error 2
make[1]: Leaving directory '/repo/buildroot'
Makefile:76: recipe for target '/repo/buildroot/output/host/bin/riscv64-buildroot-linux-gnu-gcc' failed
make: *** [/repo/buildroot/output/host/bin/riscv64-buildroot-linux-gnu-gcc] Error 2
I have no name!@0fd45013006f:/repo$

Description of Done

I need to get the files for to flash the sd card with so I can boot linux on the cva6 core on the genesys 2 board. But the command gives the following errror.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    taskA project task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions