Bug #10241 cygwin port: invalid pragma interface directives
Submitted: 28 Apr 2005 20:01 Modified: 19 May 2005 1:46
Reporter: STyx Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version: OS:cygwin
Assigned to: Magnus Blåudd CPU Architecture:Any

[28 Apr 2005 20:01] STyx
Description:

g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -o mysqld.exe ...

returns 

item_strfunc.o(.text+0x68b7):item_strfunc.cc: undefined reference to `__static_initialization_and_destruction_0(int, int)'

same message with following files:
item.o item_strfunc.o log.o mysqld.o opt_range.o set_var.o spatial.o sql_class.o sql_insert.o sql_list.o sql_map.o sql_select.o tztime.o

How to repeat:
cd sql && make

Suggested fix:
Remove #pragma interface defines everywhere

for fixes related to cygwin port see also
http://sourceware.org/ml/cygwin/2004-11/msg00159.html
http://bugs.mysql.com/?id=9954
[29 Apr 2005 23:35] STyx
bk commit into 4.1 tree (Sylvain:1.2215)
bk push fails
[3 May 2005 11:52] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/24534
[4 May 2005 16:59] Magnus Blåudd
A new patch has been comitted
http://lists.mysql.com/internals/24558
[10 May 2005 16:12] Magnus Blåudd
Pushed to 4.1.13 and 5.0.6
[19 May 2005 1:46] Paul DuBois
Noted in 4.1.13, 5.0.6 changelogs.