Bug 20790
Summary: | undefined reference to `___cxa_guard_release' (and __cxa_pure_virtual) | ||
---|---|---|---|
Product: | WebKit | Reporter: | Luke Kenneth Casson Leighton <lkcl> |
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | andersca, ap |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Luke Kenneth Casson Leighton
you would not believe how many of these there are. thousands.
i'm cross-compiling using mingw32-4.4.0.
host:amd64-debian-linux
target:win32
compiler: gcc 4.4.0 out of svn repository as of 08sep2008 (don't ask!!)
references to fixing the problems:
http://lists.apple.com/archives/Darwin-drivers/2005/May/msg00066.html
http://developer.apple.com/releasenotes/DeveloperTools/GCC40PortingReleaseNotes/Articles/PortingToGCC.html
the notes say things like, "we realised in gcc 4 that in function static constructors don't work"....
no, i can't switch back to gcc (mingw32) 3.4 - that would mean that
i couldn't compile in with -lgcc_s.
looong story.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
I'm not sure what this bug report is about. Can we do anything to avoid these?
We cannot move static constructors to global scope, because that would increase WebKit framework load time a lot, negatively affecting all applications that link to WebKit on Mac OS X and other platforms.