This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bug-Report


Hi folks, whomever you are :-)


I was just compiling mySQL 3.22.11-alpha on my SMP machine running kernel
version 2.3.48 (developer tree); the machine is plain SuSE 6.3 distribution
on the other hand, just the kernel was upgraded. The system was booted
without the "noapic" option, so APIC is enabled. The board uses Intel
chipset and has two 133 MHz Pentium CPUs on it - okay, okay, old system,
but the only with two CPUs two play around for me at home right now.

The version of egcs running is:

alfalfa:/usr/src/mysql-3.23.11-alpha # gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

The configure line for mySQL was (unpacked from a fresh tarball):

./configure --prefix=/usr/lib/mysql/mysql-3.23.11 --with-mandir=/usr/man
--with-libwrap
--with-unix-socket-path=/usr/lib/mysql/mysql-3.23.11/var/socket
--with-tcp-port=3310 --with-mysqld-user=db --without-debug --without-docs
--without-readline

After running a "make -j 2" (for the two CPUs) egcs threw the following
error (some lines before included):

------------------ snip -----------------------
I./../regex                     -I. -I../include -I.. -I.
-D_LARGEFILE_SOURCE
 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DDBUG_OFF
-fno-implicit-tem
plates -D_FILE_OFFSET_BITS=64 -c time.cc
c++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/usr/lib/mysql/m
ysql-3.23.10\""
-DDATADIR="\"/usr/lib/mysql/mysql-3.23.1
0/var\""
-DSHAREDIR="\"/usr/lib/mysql/mysql-3.23.10/share
/mysql\""                       -DHAVE_CONFIG_H -I./../include
-
I./../regex                     -I. -I../include -I.. -I.
-D_LARGEFILE_SOURCE
 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DDBUG_OFF
-fno-implicit-tem
plates -D_FILE_OFFSET_BITS=64 -c opt_range.cc
item_cmpfunc.h: In method `Item_func_gt::Item_func_gt(class Item *, class
Item *
)':
In file included from item.h:339,
                 from mysql_priv.h:182,
                 from opt_range.cc:19:
item_cmpfunc.h:94: Internal compiler error.
item_cmpfunc.h:94: Please submit a full bug report to
`egcs-bugs@egcs.cygnus.com
'.
item_cmpfunc.h:94: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for
detai
ls.
make[3]: *** [opt_range.o] Error 1
make[3]: Leaving directory `/usr/src/mysql-3.23.11-alpha/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mysql-3.23.11-alpha/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mysql-3.23.11-alpha'
make: *** [all-recursive-am] Error 2
------------------ snip -----------------------

The machine gave me back (look at the load please)

 12:04am  up 2 days,  1:26,  4 users,  load average: 58.86, 9.35, 2.84
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
graulich pts/4    shauny.ih-grauli Sun 2am  2days  2:07m  2:07m
/usr/X11R6/bin/
graulich pts/5    shauny.ih-grauli Sun 3am 47:14m  0.61s  0.18s  ftp shauny
graulich pts/1    shauny.ih-grauli Mon12am  0.00s  0.76s  0.14s  w
graulich pts/6    shauny.ih-grauli Tue12am  7.00s  0.51s  0.31s  -bash

Back to further investigation about what might cause the error. A normal
"make" produces the same error, as does issuing a "make -j". So I don't
count on SMP being the cause for error.

Used gcc 2.8.1 on the same machine to compile mySQL (same version, same
tarball, same configureline) and it worked without any problems.

If you need any further information feel free to ask anytime. I'll be glad
to be of assistance.


With my best regards
... Ralph ...




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]