Opened 19 years ago

Closed 19 years ago

#3074 closed defect (fixed)

UPDATE: mysql 4.1.10a (to build on 10.4 with gcc-4.0.0)

Reported by: patrick@… Owned by: michaelm@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: simon@…, avsmith@…
Port:

Description

opt_range.h: In member function `bool SQL_SELECT::check_quick(THD*, bool, ha_rows)': opt_range.h:146: warning: passing negative value '-0x00000000000000001' for converting 1 of 'Bitmap<64u>::Bitmap(uint)' mysqld.cc: In function `int bootstrap(FILE*)': mysqld.cc:3305: warning: converting of negative value '-0x00000000000000001' to 'ulong' mysqld.cc: In function `void* handle_connections_sockets(void*)': mysqld.cc:3544: error: invalid conversion from 'size_socket*' to 'socklen_t*' mysqld.cc:3544: error: initializing argument 3 of 'int accept(int, sockaddr*, socklen_t*)' mysqld.cc:3617: error: invalid conversion from 'size_socket*' to 'socklen_t*' mysqld.cc:3617: error: initializing argument 3 of 'int getsockname(int, sockaddr*, socklen_t*)' sql_list.h: At global scope: sql_list.h:401: warning: inline function `base_ilist::~base_ilist()' used but never defined make[4]: * [mysqld.o] Error 1 make[3]: * [all-recursive] Error 1

Attachments (1)

mysql-4.1.10a-osx10.4-gcc4.0.0.patch.bz2 (381 bytes) - added by patrick@… 19 years ago.
mysql builds successfully with the patch

Download all attachments as: .zip

Change History (10)

Changed 19 years ago by patrick@…

mysql builds successfully with the patch

comment:1 Changed 19 years ago by jmpp@…

Owner: changed from darwinports-bugs@… to michaelm@…

comment:2 Changed 19 years ago by snu@…

Summary: Mysql 4.1.10a fails to build on 10.4 with gcc-4.0.0UPDATE: mysql 4.1.10a (to build on 10.4 with gcc-4.0.0)

comment:3 Changed 19 years ago by avsmith@…

When I try to look at the patch, I just see garbarge characters. What is the format of the patch?

-albert

(In reply to comment #1)

Created an attachment (id=2018) [edit] mysql builds successfully with the patch

comment:4 Changed 19 years ago by patrick@…

The patch is BZIP compressed.

comment:5 Changed 19 years ago by michaelm@…

Status: newassigned

I can't get mysql 4.10a or the current version 4.12, to build with gcc4. The patch attached still gives an error:

opt_range.h:146: warning: passing negative value '-0x00000000000000001' for converting 1 of 'Bitmap<64u>::Bitmap(uint)' item_strfunc.cc: In member function `virtual String* Item_func_encrypt::val_str(String*)': item_strfunc.cc:1460: error: 'crypt' was not declared in this scope make[4]: * [item_strfunc.o] Error 1 make[3]: * [all-recursive] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

comment:6 Changed 19 years ago by michaelm@…

Cc: simon@… added

* Bug 3050 has been marked as a duplicate of this bug. *

comment:7 Changed 19 years ago by michaelm@…

Cc: avsmith@… added

comment:8 Changed 19 years ago by michaelm@…

* Bug 3155 has been marked as a duplicate of this bug. *

comment:9 Changed 19 years ago by michaelm@…

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.