WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
20790
undefined reference to `___cxa_guard_release' (and __cxa_pure_virtual)
https://bugs.webkit.org/show_bug.cgi?id=20790
Summary
undefined reference to `___cxa_guard_release' (and __cxa_pure_virtual)
Luke Kenneth Casson Leighton
Reported
2008-09-11 15:45:09 PDT
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
Comment 1
2008-09-13 08:19:50 PDT
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug