Bug 10341 - gdb install of py files when using buildroot toolchain includes build path
Summary: gdb install of py files when using buildroot toolchain includes build path
Status: RESOLVED NEEDINFO
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2017.08
Hardware: All Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-25 21:03 UTC by Matt Weber
Modified: 2018-06-06 14:21 UTC (History)
1 user (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 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.