Bug 13226 - external toolchain helper deletes libs if link doesn't exist
Summary: external toolchain helper deletes libs if link doesn't exist
Status: RESOLVED MOVED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2020.08
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-23 12:45 UTC by protectivedad
Modified: 2024-06-15 14:55 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description protectivedad 2020-09-23 12:45:47 UTC
The function copy_toolchain_lib_root in helpers.mk never checks to see if LIBPATH actually exists. If it doesn't say due to the readlink -f it processes a blank LIBPATH which deletes items in the library that have been already copied.

A change to the while true to test for LIBPATH != "" will fix this.
Comment 1 Yann E. MORIN 2024-06-15 14:55:23 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!