Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] undefined reference to `qBadAlloc()'
@ 2010-06-18  7:57 Karl Krach
  0 siblings, 0 replies; only message in thread
From: Karl Krach @ 2010-06-18  7:57 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-18  7:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-18  7:57 [Buildroot] undefined reference to `qBadAlloc()' Karl Krach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox