Skip to content

Inconsistent mix of build_env = host / external #687

@nyh

Description

@nyh

In usr.manifest.skel we have:

/usr/lib/libgcc_s.so.1: %(gccbase)s/lib64/libgcc_s.so.1
/usr/lib/&/libboost_filesystem.so.1.55.0: %(miscbase)s/usr/lib64/&
/usr/lib/&/libboost_regex.so.1.55.0: %(miscbase)s/usr/lib64/&

However,

  1. Taking libgcc_s.so.1 from %(gccbase), i.e, external/, is only the right thing to do for build_env=external. For build_env=host (the default), we should take the system's libgcc_s.so.1. See the code that sets the "libgcc.a" variable, and we should find libgcc_s.so.1 similarly.
  2. If boost_env=host, we take boost libraries and header files from the build system, so we shouldn't take these two boost libraries from external...By the way, I don't know why we're adding them at all - perhaps they are use in one of our tools like cpiod.so and friends?

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