Skip to content

Duplicated c++ library in sysroot #655

Description

@arnetheduck

I'm looking through the sysroot in v34:

/wasi-sysroot/include$ ls
c++  wasm32-wasip1  wasm32-wasip1-threads  wasm32-wasip2  wasm32-wasip3
/wasi-sysroot/include$ du -shc c++ wasm32-wasip*/eh/c++ wasm32-wasip*/noeh/c++
0	c++
16M	wasm32-wasip1/eh/c++
16M	wasm32-wasip1-threads/eh/c++
16M	wasm32-wasip2/eh/c++
16M	wasm32-wasip3/eh/c++
16M	wasm32-wasip1/noeh/c++
16M	wasm32-wasip1-threads/noeh/c++
16M	wasm32-wasip2/noeh/c++
16M	wasm32-wasip3/noeh/c++
126M	total
/wasi-sysroot/include$ diff -r wasm32-wasip1/eh/c++ wasm32-wasip1/noeh/c++
/wasi-sysroot/include$ diff -r wasm32-wasip1/eh/c++ wasm32-wasip2/eh/c++

There are 6 seemingly identical copies of the C++ library that significantly contribute to its size - were they intended for the empty top-level c++ folder?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions