[Webkit-unassigned] [Bug 29244] undefined reference errors when linking due to gperf and inlining

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 11 15:21:54 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=29244


Stephan Aßmus <superstippi at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |superstippi at gmx.de




--- Comment #10 from Stephan Aßmus <superstippi at gmx.de>  2010-02-11 15:21:53 PST ---
We experience exactly the same problem when building on Haiku, with GCC 4.3.3
and  with NDEBUG not being defined. The Haiku build system (not currently in
SVN) is setup such that it uses -g for CC and C++ flags when NDEBUG is not
defined. Our solution has been to simply patch the affected generated source
code after generation, such that the whole #define block which tries to force
inlining is wrapped in #ifdef NDEBUG ... #endif. Since this works, I believe
the problem is not the linkage being used, since then it would also show up in
release builds. The problem is more likely that GCC simply refuses to inline
those functions in debug (-g) builds.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list