Skip to content

Fail to compile musl in cross #3

@Marsman1996

Description

@Marsman1996

Hi,

I'm trying to build and run maestro from source code. And I use this Dockerfile build maestro kernel successfully but met some problems with blimp cross building.

When the cross/build.sh built the musl, it failed during the link time:

obj/compat/time32/utimensat_time32.lo obj/compat/time32/utimes_time32.lo obj/compat/time32/wait3_time32.lo obj/compat/time32/wait4_time32.lo obj/ldso/dlstart.lo obj/ldso/dynlink.lo -lgcc -lgcc_eh
ld.lld: error: unable to find library -lgcc
ld.lld: error: unable to find library -lgcc_eh
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:162: lib/libc.so] Error 1
make: *** Waiting for unfinished jobs....
i686-unknown-linux-musl-ranlib lib/libc.a
blimp-builder: error: Package build failed!
root@0c2a48b97ecd:~/maestro/maestro-install/blimp/cross#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions