Bug #43494 rt_mbr.c:239: internal error--unrecognizable insn:
Description:
Last weeks I used mysql-3.23.58 to compile. It isn't any problem. Today, I want to use the version of MySQL to MySQL-5.0.77 to compile it, but when I compile it the follow things happened:
/opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:146: warning: `uint' previously declared here
../include/my_global.h:474: warning: redefinition of `ushort'
/opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:145: warning: `ushort' previously declared here
source='ft_nlq_search.c' object='ft_nlq_search.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
armv4l-unknown-linux-gcc -DMAP_TO_USE_RAID -I. -I../include -I../include -I../include -O3 -DDBUG_OFF -c ft_nlq_search.c
In file included from ../include/my_base.h:25,
from ../include/myisam.h:25,
from myisamdef.h:18,
from fulltext.h:20,
from ftdefs.h:20,
from ft_nlq_search.c:19:
../include/my_global.h:473: warning: redefinition of `uint'
/opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:146: warning: `uint' previously declared here
../include/my_global.h:474: warning: redefinition of `ushort'
/opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:145: warning: `ushort' previously declared here
source='sort.c' object='sort.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
armv4l-unknown-linux-gcc -DMAP_TO_USE_RAID -I. -I../include -I../include -I../include -O3 -DDBUG_OFF -c sort.c
In file included from ../include/my_base.h:25,
from ../include/myisam.h:25,
from myisamdef.h:18,
from fulltext.h:20,
from sort.c:21:
../include/my_global.h:473: warning: redefinition of `uint'
/opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:146: warning: `uint' previously declared here
../include/my_global.h:474: warning: redefinition of `ushort'
/opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:145: warning: `ushort' previously declared here
source='rt_index.c' object='rt_index.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
armv4l-unknown-linux-gcc -DMAP_TO_USE_RAID -I. -I../include -I../include -I../include -O3 -DDBUG_OFF -c rt_index.c
In file included from ../include/my_base.h:25,
from ../include/myisam.h:25,
from myisamdef.h:18,
from rt_index.c:16:
../include/my_global.h:473: warning: redefinition of `uint'
/opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:146: warning: `uint' previously declared here
../include/my_global.h:474: warning: redefinition of `ushort'
/opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:145: warning: `ushort' previously declared here
source='rt_key.c' object='rt_key.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
armv4l-unknown-linux-gcc -DMAP_TO_USE_RAID -I. -I../include -I../include -I../include -O3 -DDBUG_OFF -c rt_key.c
In file included from ../include/my_base.h:25,
from ../include/myisam.h:25,
from myisamdef.h:18,
from rt_key.c:16:
../include/my_global.h:473: warning: redefinition of `uint'
/opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:146: warning: `uint' previously declared here
../include/my_global.h:474: warning: redefinition of `ushort'
/opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:145: warning: `ushort' previously declared here
source='rt_mbr.c' object='rt_mbr.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
armv4l-unknown-linux-gcc -DMAP_TO_USE_RAID -I. -I../include -I../include -I../include -O3 -DDBUG_OFF -c rt_mbr.c
In file included from ../include/my_base.h:25,
from ../include/myisam.h:25,
from myisamdef.h:18,
from rt_mbr.c:16:
../include/my_global.h:473: warning: redefinition of `uint'
/opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:146: warning: `uint' previously declared here
../include/my_global.h:474: warning: redefinition of `ushort'
/opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:145: warning: `ushort' previously declared here
rt_mbr.c: In function `rtree_rect_volume':
rt_mbr.c:239: internal error--unrecognizable insn:
(insn 743 742 751 (set (mem/s:QI (plus:SI (reg:SI 334)
(subreg:SI (reg:DI 315) 0)) 0)
(reg:QI 335)) -1 (insn_list 738 (insn_list 742 (nil)))
(expr_list:REG_DEAD (reg:QI 335)
(nil)))
make[2]: *** [rt_mbr.o] 错误 1
make[2]: Leaving directory `/home/haojx/Desktop/s3c2410a道斯/kkk/MySQL-community-5.0.77-0.rhel4.src.rpm_FILES/mysql-5.0.77/myisam'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/haojx/Desktop/s3c2410a道斯/kkk/MySQL-community-5.0.77-0.rhel4.src.rpm_FILES/mysql-5.0.77'
make: *** [all] 错误 2
[root@localhost mysql-5.0.77]# uname -a
Linux localhost.localdomain 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686 i386 GNU/Linux
I used the cross compiler that is arm linux gcc(version is 2.95.2)
But when I used the version of red hat gcc 4.1.0.0
to compile it, that is all OK.
So I don't known how to solve this. Can you teach me how to solve it?
Is it the bug of arm linux gcc's or its version
too low? Thanks!
How to repeat:
MySQL whether gcc version has it?
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.045 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: Last weeks I used mysql-3.23.58 to compile. It isn't any problem. Today, I want to use the version of MySQL to MySQL-5.0.77 to compile it, but when I compile it the follow things happened: /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:146: warning: `uint' previously declared here ../include/my_global.h:474: warning: redefinition of `ushort' /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:145: warning: `ushort' previously declared here source='ft_nlq_search.c' object='ft_nlq_search.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \ armv4l-unknown-linux-gcc -DMAP_TO_USE_RAID -I. -I../include -I../include -I../include -O3 -DDBUG_OFF -c ft_nlq_search.c In file included from ../include/my_base.h:25, from ../include/myisam.h:25, from myisamdef.h:18, from fulltext.h:20, from ftdefs.h:20, from ft_nlq_search.c:19: ../include/my_global.h:473: warning: redefinition of `uint' /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:146: warning: `uint' previously declared here ../include/my_global.h:474: warning: redefinition of `ushort' /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:145: warning: `ushort' previously declared here source='sort.c' object='sort.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \ armv4l-unknown-linux-gcc -DMAP_TO_USE_RAID -I. -I../include -I../include -I../include -O3 -DDBUG_OFF -c sort.c In file included from ../include/my_base.h:25, from ../include/myisam.h:25, from myisamdef.h:18, from fulltext.h:20, from sort.c:21: ../include/my_global.h:473: warning: redefinition of `uint' /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:146: warning: `uint' previously declared here ../include/my_global.h:474: warning: redefinition of `ushort' /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:145: warning: `ushort' previously declared here source='rt_index.c' object='rt_index.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \ armv4l-unknown-linux-gcc -DMAP_TO_USE_RAID -I. -I../include -I../include -I../include -O3 -DDBUG_OFF -c rt_index.c In file included from ../include/my_base.h:25, from ../include/myisam.h:25, from myisamdef.h:18, from rt_index.c:16: ../include/my_global.h:473: warning: redefinition of `uint' /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:146: warning: `uint' previously declared here ../include/my_global.h:474: warning: redefinition of `ushort' /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:145: warning: `ushort' previously declared here source='rt_key.c' object='rt_key.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \ armv4l-unknown-linux-gcc -DMAP_TO_USE_RAID -I. -I../include -I../include -I../include -O3 -DDBUG_OFF -c rt_key.c In file included from ../include/my_base.h:25, from ../include/myisam.h:25, from myisamdef.h:18, from rt_key.c:16: ../include/my_global.h:473: warning: redefinition of `uint' /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:146: warning: `uint' previously declared here ../include/my_global.h:474: warning: redefinition of `ushort' /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:145: warning: `ushort' previously declared here source='rt_mbr.c' object='rt_mbr.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \ armv4l-unknown-linux-gcc -DMAP_TO_USE_RAID -I. -I../include -I../include -I../include -O3 -DDBUG_OFF -c rt_mbr.c In file included from ../include/my_base.h:25, from ../include/myisam.h:25, from myisamdef.h:18, from rt_mbr.c:16: ../include/my_global.h:473: warning: redefinition of `uint' /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:146: warning: `uint' previously declared here ../include/my_global.h:474: warning: redefinition of `ushort' /opt/host/armv4l/lib/gcc-lib/armv4l-unknown-linux/2.95.2/../../../../armv4l-unknown-linux/include/sys/types.h:145: warning: `ushort' previously declared here rt_mbr.c: In function `rtree_rect_volume': rt_mbr.c:239: internal error--unrecognizable insn: (insn 743 742 751 (set (mem/s:QI (plus:SI (reg:SI 334) (subreg:SI (reg:DI 315) 0)) 0) (reg:QI 335)) -1 (insn_list 738 (insn_list 742 (nil))) (expr_list:REG_DEAD (reg:QI 335) (nil))) make[2]: *** [rt_mbr.o] 错误 1 make[2]: Leaving directory `/home/haojx/Desktop/s3c2410a道斯/kkk/MySQL-community-5.0.77-0.rhel4.src.rpm_FILES/mysql-5.0.77/myisam' make[1]: *** [all-recursive] 错误 1 make[1]: Leaving directory `/home/haojx/Desktop/s3c2410a道斯/kkk/MySQL-community-5.0.77-0.rhel4.src.rpm_FILES/mysql-5.0.77' make: *** [all] 错误 2 [root@localhost mysql-5.0.77]# uname -a Linux localhost.localdomain 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686 i386 GNU/Linux I used the cross compiler that is arm linux gcc(version is 2.95.2) But when I used the version of red hat gcc 4.1.0.0 to compile it, that is all OK. So I don't known how to solve this. Can you teach me how to solve it? Is it the bug of arm linux gcc's or its version too low? Thanks! How to repeat: MySQL whether gcc version has it?