Bug 10341

Summary: gdb install of py files when using buildroot toolchain includes build path
Product: buildroot Reporter: Matt Weber <matthew.weber>
Component: OtherAssignee: unassigned
Status: RESOLVED NEEDINFO    
Severity: minor CC: buildroot
Priority: P5    
Version: 2017.08   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Matt Weber 2017-09-25 21:03:36 UTC
We noticed the build always pulls the path in under ./host/share/gdb/auto-load/* when installing some gdb python files.  Haven't dug further at this point.

i.e
./host/share/gdb/auto-load/home/johndoe/build_folder/host/lib/*.py
Comment 1 Thomas Petazzoni 2017-10-31 21:15:30 UTC
Could you provide a defconfig that exhibits the problem?

The following defconfig builds host-gdb with Python support, but I don't have this auto-load folder in host/share/gdb/.

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2017.05-1078-g95b1dae.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_PACKAGE_HOST_GDB=y
BR2_PACKAGE_HOST_GDB_PYTHON=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
# BR2_TARGET_ROOTFS_TAR is not set
Comment 2 Thomas Petazzoni 2018-06-06 14:21:20 UTC
No news from Matt for more than 6 months, closing.