[Webkit-unassigned] [Bug 147816] Enable optimization causes undefined reference error for debug build

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 10 11:24:16 PDT 2015


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

--- Comment #5 from Ting-Wei Lan <lantw44 at gmail.com> ---
I think we still need to fix undefined reference problems because they are all caused by assert. Should I change the commit message to 'Fix undefined reference errors when assertion is enabled'?

I think we can add some warning messages in a cmake file or commonly-used header, so users can see a lot of warnings. They know they are probably doing wrong things because it is hard to ignore all messages.

I think we can add an error message to stop the build in build-webkit script or other scripts that are not used in building distribution packages. It is possible for users of source-based package managers (ports, pkgsrc, portage) to set CXXFLAGS globally for all packages, and causing build failure is very annoying because it stops building of all packages depending on WebKit. Packages usually use release build, but it is still possible for users to set an option to change it to debug build. (This option is called FULLDEBUG in FreeBSD ports although it seldom works)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150810/d1bcb282/attachment.html>


More information about the webkit-unassigned mailing list