Skip to content

musllinux_1_1: C++ toolchain broken? #1242

@ax3l

Description

@ax3l

Hi,

I am trying out the new quay.io/pypa/musllinux_1_1_x86_64 image from #1135 but the C++ compiler does not yet seem to work: #1135 (comment)

I tried compiling a simple c++/g++ hello world with this image.

It looks like g++ is not fully set up yet:

$ c++ main.cpp
ld: cannot find -lm
collect2: error: ld returned 1 exit status

I searched for a libm in the / dir and cannot find one. Adding -static also does not solve the problem.

Is something still missing for C++ builds in this base image? :)
cc @lkollar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions