Andre,

there is probably a bug in inlining of functions in gcc on HP-UX.
You should edit mysql/innobase/include/univ.i and put

#define INSIDE_HA_INNOBASE_CC

on line 11.

You will probably get another compiler error in mysql/innobase/os/os0thread.c
Edit also that file, on line 81, call of pthread_create(...), replace

NULL

by

&attr

I hope it then goes through the compiler.

Regards,

Heikki
...................

Hi,

I have got problems while compiling 3.23.36 under HP-UX11.
gcc exited with an internal error.
I am using gcc version 2.95.2 19991024 (release)
I 'configured' with the following lines:CXX=gcc
CXXFLAGS="-felide-constructors -fno-exceptions -fno-rtti -O6"
CFLAGS="-fomit-frame-pointer -O6 -fpic"
./configure --with-berkeley-db --with-innobase --prefix=/opt/mysql
--disable-shared...Making all in ut
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../include -I../include    -g -O2
-DDEBUG_OFF -c ut0byte.c
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../include -I../include    -g -O2
-DDEBUG_OFF -c ut0dbg.c
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../include -I../include    -g -O2
-DDEBUG_OFF -c ut0mem.cIn file included from ../include/ut0mem.h:12,
                 from ut0mem.c:9:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:29: warning:
conflicting types for built-in function `memcmp'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:85: warning:
conflicting types for built-in function `memcpy'
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:87: warning:
conflicting types for built-in function `memset'
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../include -I../include    -g -O2
-DDEBUG_OFF -c ut0rnd.c
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../include -I../include    -g -O2
-DDEBUG_OFF -c ut0ut.c        rm -f libut.a
        ar cru libut.a ut0byte.o ut0dbg.o ut0mem.o ut0rnd.o ut0ut.o
        ranlib libut.aMaking all in btr
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../include -I../include    -g -O2
-DDEBUG_OFF -c btr0btr.cbtr0btr.c: In function `btr_page_free':
btr0btr.c:458: Internal compiler error at expr.c:2754*** Error exit code 1Stop.
What's going on?Andre


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to