Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Karl Krach <mailinglists@blueSpirit.la>
To: buildroot@busybox.net
Subject: [Buildroot] undefined reference to `qBadAlloc()'
Date: Fri, 18 Jun 2010 09:57:17 +0200	[thread overview]
Message-ID: <l47a3h.k9uzd@webmail.variomedia.de> (raw)

Hello,

I have a solved problem and report this, just for documentation. I found this
bug, because I have to evaluate the impact of exceptions on the qt performance
(we made bad experience with ARM some time ago).

If you compile qt WITHOUT exceptions (e.g. because you ve not enabled the
xml-pattern module) and don't remove your whole output/ directory, you will
get on a future compilation WITH exception strange linker errors.

Reason: Qt is linking against the installed libQtCore.so (which has no
exceptions) first, and only afterwards against your fresh compiled
libQtCore.so.


I would add a

	touch $@
+	rm -rf $(STAGING_DIR)/usr/lib/libQt*

$(QT_TARGET_DIR)/.compiled: $(QT_TARGET_DIR)/.configured

to packages/qt/qt.mk to solve this problem. Calling "make uninstall" would
solve this problem too.

Thx,

Charly

                 reply	other threads:[~2010-06-18  7:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=l47a3h.k9uzd@webmail.variomedia.de \
    --to=mailinglists@bluespirit.la \
    --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