Bug 13226

Summary: external toolchain helper deletes libs if link doesn't exist
Product: buildroot Reporter: protectivedad
Component: OtherAssignee: unassigned
Status: RESOLVED MOVED    
Severity: normal CC: buildroot, yann.morin.1998
Priority: P5    
Version: 2020.08   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

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!