[MDEV-2844] LP:742313 - 5.1-micro will not compile with ./BUILD/compile-pentium[64] Created: 2011-03-25  Updated: 2015-02-02  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Philip Stoev (Inactive) Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug742313.xml     Text File LPexportBug742313_bug742313.config.log    

 Description   

Not repeatable with mysql 5.1.54. 5.1-micro will not compile with ./BUILD/compile-pentium and ./BUILD/compile-pentium64 . The compilation aborts as follows:

ccache gcc --pipe -DDEFAULT_BASEDIR=\"/usr/local/mysql\" -DMYSQL_DATADIR="\"/usr/local/mysql/var\"" -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DDEFAULT_SYSCONFDIR="\"/usr/local/mysql/etc\"" -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I. -Wall -Wextra -Wunused -Wwrite-strings -mtune=native -m64 -O3 -fno-omit-frame-pointer -MT my_thr_init.o -MD -MP -MF .deps/my_thr_init.Tpo -c -o my_thr_init.o my_thr_init.c
mv -f .deps/mf_keycache.Tpo .deps/mf_keycache.Po
mv -f .deps/my_pthread.Tpo .deps/my_pthread.Po
mv -f .deps/thr_lock.Tpo .deps/thr_lock.Po
mv -f .deps/thr_mutex.Tpo .deps/thr_mutex.Po
mv -f .deps/my_thr_init.Tpo .deps/my_thr_init.Po
thr_alarm.c: In function ‘thr_alarm’:
thr_alarm.c:163: error: ‘my_time_t’ undeclared (first use in this function)
thr_alarm.c:163: error: (Each undeclared identifier is reported only once
thr_alarm.c:163: error: for each function it appears in.)
thr_alarm.c: In function ‘process_alarm_part2’:
thr_alarm.c:374: error: ‘my_time_t’ undeclared (first use in this function)
thr_alarm.c: In function ‘thr_alarm_info’:
thr_alarm.c:511: error: ‘my_time_t’ undeclared (first use in this function)
gmake[1]: *** [thr_alarm.o] Error 1
gmake[1]: Leaving directory `/home/philips/bzr/micro/mysql-5.1-micro/mysys'
gmake: *** [all-recursive] Error 1

[philips@fedora13 mysql-5.1-micro]$ uname -a
Linux fedora13 2.6.34.7-63.fc13.x86_64 #1 SMP Fri Dec 3 12:38:46 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

[philips@fedora13 mysql-5.1-micro]$ gcc --version
gcc (GCC) 4.4.4 20100503 (Red Hat 4.4.4-2)



 Comments   
Comment by Philip Stoev (Inactive) [ 2011-03-25 ]

Re: 5.1-micro will not compile with ./BUILD/compile-pentium64

Comment by Philip Stoev (Inactive) [ 2011-03-25 ]

config.log
LPexportBug742313_bug742313.config.log

Comment by Sergei Golubchik [ 2011-03-25 ]

Re: 5.1-micro will not compile with ./BUILD/compile-pentium64
yeah, recent fixes for windows broke the build on linux. I'm fixing that.

Comment by Rasmus Johansson (Inactive) [ 2011-10-28 ]

Launchpad bug id: 742313

Generated at Thu Feb 08 06:44:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.