Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 8786] gdb fails to build with xz and expat support at the same
Date: Thu, 10 Mar 2016 16:44:57 +0000	[thread overview]
Message-ID: <bug-8786-163-mY1u9Z7p63@https.bugs.busybox.net/> (raw)
In-Reply-To: <bug-8786-163@https.bugs.busybox.net/>

https://bugs.busybox.net/show_bug.cgi?id=8786

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
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 at 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 ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  reply	other threads:[~2016-03-10 16:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10 14:56 [Buildroot] [Bug 8786] New: gdb fails to build with xz and expat support at the same bugzilla at busybox.net
2016-03-10 16:44 ` bugzilla at busybox.net [this message]
2016-03-10 17:23 ` [Buildroot] [Bug 8786] " bugzilla at busybox.net
2016-04-19 21:28 ` bugzilla at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-8786-163-mY1u9Z7p63@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox