| Summary: | gdb fails to build with xz and expat support at the same | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Vicente Olivert Riera <vincent.riera> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Vicente Olivert Riera
2016-03-10 14:56:47 UTC
The problem seems related to the fact that you have lzma installed on your build machine, including the development files. I've tested your last defconfig (on ARM), and I'm not able to reproduce, either with lzma development files installed or not installed. The failure: /lib64/liblzma.so.5: undefined reference to `clock_gettime@GLIBC_2.17' is related to the fact that it finds your host lzma, tries to link with it, but fails because it lacks -lrt. Can you try --with-lzma-prefix=$(HOST_DIR)/usr in GDB_CONF_OPTS ? That fixes the problem. I've sent a patch: http://patchwork.ozlabs.org/patch/595861/ Fixed in e6a29a4f3c48b13fde2214365067e34fbb92cfd6. |