List:General Discussion« Previous MessageNext Message »
From:Thimble Smith Date:August 13 1999 9:29pm
Subject:Re: mysql fails compile with gcc-2.95
View as plain text  
Could you adding -fno-strict-aliasing to your CFLAGS and CXXFLAGS?
If that works, then Monty & co. should look at:


At 17:18, 19990813, jgauthier@stripped wrote:
>	mysql fails compile with gcc 2.95, but not egcs 1.1.2
>	it seems to me, that gcc 2.95 C++ syntax (or something)
>	is more strict, and now aborts instead of continuing on.
>	the problem occurs with
>   -DDEFAULT_MYSQL_HOME="\"/opt/mysql\""  -DDATADIR="\"/opt/mysql/var\""
>   -DSHAREDIR="\"/opt/mysql/share/mysql\""
>   -DHAVE_CONFIG_H -I./../include                 -I./../regex -I. -I../include
>   -I.. -I.    -fno-implicit-templates -O3 -DDBUG_OFF -D_FILE_OFFSET_BITS=64 -c
> In function int rea_create_table(char *, HA_CREATE_INFO *,
>   List<create_field> &, unsigned int, KEY *)':
> passing unsigned char *' as argument 1 of strlen(const char
>   *)' changes signedness
>	(apologies for the formatting)
>	compile with gcc 2.95
>	? 
>>Submitter-Id:	<submitter ID>
>>MySQL support: none 
>>Synopsis:	mysql fails compile with gcc-2.95
>>Severity:	serious
>>Priority:	medium 
>>Category:	mysql
>>Class:		sw-bug 
>>Release:	mysql-3.23.1-alpha (Source distribution) (also with .2)
>>Server: /opt/mysql/bin/mysqladmin  Ver 7.11 Distrib 3.23.1-alpha, for pc-linux-gnu
> on i586
>TCX Datakonsult AB, by Monty
>Server version		3.23.1-alpha
>Protocol version	10
>Connection		Localhost via UNIX socket
>UNIX socket		/tmp/mysql.sock
>Uptime:			11 days 3 hours 45 min 29 sec
>Threads: 1  Questions: 244  Slow queries: 0  Opens: 9  Flush tables: 1  Open tables:
> 5
>System: Linux 2.2.10 #2 Tue Jun 29 07:59:53 EDT 1999 i586
> unknown
>Architecture: i586
>Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
>GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
>gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>Compilation info: CC='gcc'  CFLAGS=''  CXX='c++'  CXXFLAGS=''  LDFLAGS=''
>Configure command: ./configure  --prefix=/opt/mysql
>Perl: This is perl, version 5.005_03 built for i386-linux
>^ the above isn't correct, as i'm not compiling on the same host
>I subscribe from.
>Please check "" before
>posting. To request this thread, e-mail mysql-thread10176@stripped
>To unsubscribe, send a message to the address shown in the
>List-Unsubscribe header of this message. If you cannot see it,
>e-mail mysql-unsubscribe@stripped instead.
mysql fails compile with gcc-2.95jgauthier13 Aug
  • Re: mysql fails compile with gcc-2.95Thimble Smith13 Aug
    • Re: mysql fails compile with gcc-2.95Thimble Smith14 Aug
    • Re: mysql fails compile with gcc-2.95jgauthier14 Aug
    • Re: mysql fails compile with gcc-2.95jgauthier14 Aug
    • Re: mysql fails compile with gcc-2.95jgauthier14 Aug