OpenBSD 3.9 MySQL 5.0.18 ports compile issues

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenBSD 3.9 MySQL 5.0.18 ports compile issues

Kevin-58
Hello all,

Just reloaded two of our Alpha servers to upgrade them to 3.9, and I'm
having issues with MySQL not compiling from ports.


Before I go filing bug reports and such I did the requisite searching
to no avail. Am I the only one seeing the following behavior?

as root:
# cd  /usr/ports/databases/mysql
# make install

It chugs along for a bit like normal then bails with an apparent gmake error.


###############
...
gmake[2]: Entering directory
`/usr/ports/databases/mysql/w-mysql-5.0.18/mysql-5.0.18/sql'
gmake  all-recursive
gmake[3]: Entering directory
`/usr/ports/databases/mysql/w-mysql-5.0.18/mysql-5.0.18/sql'
Making all in share
gmake[4]: Entering directory
`/usr/ports/databases/mysql/w-mysql-5.0.18/mysql-5.0.18/sql/share'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/usr/ports/databases/mysql/w-mysql-5.0.18/mysql-5.0.18/sql/share'
gmake[4]: Entering directory
`/usr/ports/databases/mysql/w-mysql-5.0.18/mysql-5.0.18/sql'
source='sql_table.cc' object='sql_table.o' libtool=no \
depfile='.deps/sql_table.Po' tmpdepfile='.deps/sql_table.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\""
-DDATADIR="\"/var/mysql\"" -DSHAREDIR="\"/usr/local/share/mysql\""
-DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../include
-I../include -I../regex -I.      -DDBUG_OFF -O2 -pipe
-felide-constructors -fno-exceptions -fno-rtti  
-fno-implicit-templates -fno-exceptions -fno-rtti
-DUSE_PRAGMA_IMPLEMENTATION -c -o sql_table.o sql_table.cc
sql_table.cc: In function `bool mysql_admin_table(THD *, TABLE_LIST *,
HA_CHECK_OPT *, const char *, thr_lock_type, bool, bool, unsigned int,
int (*)(THD *, TABLE_LIST *, HA_CHECK_OPT *), int (handler::*)(THD *,
HA_CHECK_OPT *), int (*)(THD *, TABLE_LIST *))':
sql_table.cc:2507: Internal compiler error in `gen_reload_inhi', at
insn-emit.c:5550
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
cpp0: output pipe has been closed
gmake[4]: *** [sql_table.o] Error 1
gmake[4]: Leaving directory
`/usr/ports/databases/mysql/w-mysql-5.0.18/mysql-5.0.18/sql'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/ports/databases/mysql/w-mysql-5.0.18/mysql-5.0.18/sql'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/databases/mysql/w-mysql-5.0.18/mysql-5.0.18/sql'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/databases/mysql/w-mysql-5.0.18/mysql-5.0.18'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/databases/mysql (line 1924 of
/usr/ports/infrastructure/mk/bsd.port.mk).
#######################

Here's the dmesg from one of the machines, an 833, though our 433 has
the same error, too.

[ using 507032 bytes of bsd ELF symbol table ]
consinit: not using prom console
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 3.9 (GENERIC) #753: Wed Mar  1 00:10:35 MST 2006
    [hidden email]:/usr/src/sys/arch/alpha/compile/GENERIC
hp AlphaServer DS20L 833 MHz
8192 byte page size, 2 processors.
total memory = 1073741824 (1048576K)
(2842624 reserved for PROM, 1070899200 used by OpenBSD)
avail memory = 932167680 (910320K)
using 13072 buffers containing 107085824 bytes (104576K) of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264B-4 (unknown minor type 4)
cpu0: Architecture extensions: 307<PAT,MVI,CIX,FIX,BWX>
cpu1 at mainbus0: ID 1, 21264B-4 (unknown minor type 4)
tsc0 at mainbus0: 21272 Chipset, Cchip rev 0
tsc0: 4 Dchips, 1 memory bus of 32 bytes
tsc0: arrays present: 1024MB, 0MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0
pci0 at tsp0 bus 0
ahc0 at pci0 dev 3 function 0 "Adaptec AHA-29160 U160" rev 0x02: dec 6600 irq 16
scsibus0 at ahc0: 16 targets
sd0 at scsibus0 targ 0 lun 0: <COMPAQ, BD0366459B, B010> SCSI2 0/direct fixed
sd0: 34732MB, 14002 cyl, 20 head, 254 sec, 512 bytes/sec, 71132000 sec total
fxp0 at pci0 dev 4 function 0 "Intel 8255x" rev 0x0c, i82550: dec 6600
irq 20, address 00:02:56:00:1a:28
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
sio0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0xc3
pciide0 at pci0 dev 16 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc2:
DMA, channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 ignored (disabled)
pciide0: channel 1 ignored (disabled)
alipm0 at pci0 dev 17 function 0 "Acer Labs M7101 Power" rev 0x00: 74KHz clock
iic0 at alipm0
lmenv0 at iic0 addr 0x2c: adm9240 rev 2
lmenv1 at iic0 addr 0x2d: adm9240 rev 2
lmenv2 at iic0 addr 0x2e: adm9240 rev 2
lmenv3 at iic0 addr 0x2f: adm9240 rev 2
"unknown" at iic0 addr 0x4e not configured
isa0 at sio0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x3bc/4 irq 7
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
tsp1 at tsc0
pci1 at tsp1 bus 0
fxp1 at pci1 dev 3 function 0 "Intel 8255x" rev 0x08, i82559: dec 6600
irq 32, address 00:02:56:00:1a:29
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
stray isa irq 3
root on sd0a swap on sd0b
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x7f
rootdev=0x800 rrootdev=0x800 rawdev=0x802
stray isa irq 3




As always, thanks all,
Kevin






--
http://www.ebiinc.com :
Background Screening from EBI
pre-employment background checks for employers -- anywhere.

Reply | Threaded
Open this post in threaded view
|

Re: OpenBSD 3.9 MySQL 5.0.18 ports compile issues

Jolan Luff
On Tue, May 02, 2006 at 03:17:15PM -0700, Kevin wrote:

> Hello all,
>
> Just reloaded two of our Alpha servers to upgrade them to 3.9, and I'm
> having issues with MySQL not compiling from ports.
>
> Before I go filing bug reports and such I did the requisite searching
> to no avail. Am I the only one seeing the following behavior?
>
> as root:
> # cd  /usr/ports/databases/mysql
> # make install
>
> It chugs along for a bit like normal then bails with an apparent gmake
> error.

Actually, it's an ICE:

sql_table.cc:2507: Internal compiler error in `gen_reload_inhi', at insn-emit.c:5550

gcc2 on alpha is known to have problems.  You can try building with
different optimization levels like so:

env CFLAGS="-Os" make install

and then try -O1, -O0, etc.  If that doesn't work then someone will have
to make the mysql port use gcc3 from ports on alpha and see if that
fixes it.

Reply | Threaded
Open this post in threaded view
|

Re: OpenBSD 3.9 MySQL 5.0.18 ports compile issues

Kevin-58
On 5/2/06, Jolan Luff <[hidden email]> wrote:

> On Tue, May 02, 2006 at 03:17:15PM -0700, Kevin wrote:
> > Hello all,
> >
> > Just reloaded two of our Alpha servers to upgrade them to 3.9, and I'm
> > having issues with MySQL not compiling from ports.
> >
> > Before I go filing bug reports and such I did the requisite searching
> > to no avail. Am I the only one seeing the following behavior?
> >
> > as root:
> > # cd  /usr/ports/databases/mysql
> > # make install
> >
> > It chugs along for a bit like normal then bails with an apparent gmake
> > error.
>
> Actually, it's an ICE:
>
> sql_table.cc:2507: Internal compiler error in `gen_reload_inhi', at insn-emit.c:5550
>
> gcc2 on alpha is known to have problems.  You can try building with
> different optimization levels like so:
>
> env CFLAGS="-Os" make install
>
> and then try -O1, -O0, etc.  If that doesn't work then someone will have
> to make the mysql port use gcc3 from ports on alpha and see if that
> fixes it.
>

Hi Jolan et al,

Thanks for the reply--sorry for the delay. I was out of town for a few
days and wanted to give this its due effort.

So.... I've tried a variety of the above combinations to no avail. :-(

Same story.

FWIW: I  just glanced at the ftp mirrors, and there are only two
pre-compiled php5 packages for Alpha on 3.9 (core and pear), so this
seems to be affecting more than just mysql (i.e. no php5-pgsql,
php5-curl, etc...)

If it's of any use, I can make one of my alpha machines available
remotely to any OBSD dev.


Anyone have any other thoughts?


Thanks much,
Kevin








--
http://www.ebiinc.com :
Background Screening, Drug Testing & More
Leaders in background checks, worldwide.

Reply | Threaded
Open this post in threaded view
|

Re: OpenBSD 3.9 MySQL 5.0.18 ports compile issues

Brad Smith-14
On Thu, May 11, 2006 at 09:34:09AM -0700, Kevin wrote:

> On 5/2/06, Jolan Luff <[hidden email]> wrote:
> >On Tue, May 02, 2006 at 03:17:15PM -0700, Kevin wrote:
> >> Hello all,
> >>
> >> Just reloaded two of our Alpha servers to upgrade them to 3.9, and I'm
> >> having issues with MySQL not compiling from ports.
> >>
> >> Before I go filing bug reports and such I did the requisite searching
> >> to no avail. Am I the only one seeing the following behavior?
> >>
> >> as root:
> >> # cd  /usr/ports/databases/mysql
> >> # make install
> >>
> >> It chugs along for a bit like normal then bails with an apparent gmake
> >> error.
> >
> >Actually, it's an ICE:
> >
> >sql_table.cc:2507: Internal compiler error in `gen_reload_inhi', at
> >insn-emit.c:5550
> >
> >gcc2 on alpha is known to have problems.  You can try building with
> >different optimization levels like so:
> >
> >env CFLAGS="-Os" make install
> >
> >and then try -O1, -O0, etc.  If that doesn't work then someone will have
> >to make the mysql port use gcc3 from ports on alpha and see if that
> >fixes it.
> >
>
> Hi Jolan et al,
>
> Thanks for the reply--sorry for the delay. I was out of town for a few
> days and wanted to give this its due effort.
>
> So.... I've tried a variety of the above combinations to no avail. :-(
>
> Same story.
>
> FWIW: I  just glanced at the ftp mirrors, and there are only two
> pre-compiled php5 packages for Alpha on 3.9 (core and pear), so this
> seems to be affecting more than just mysql (i.e. no php5-pgsql,
> php5-curl, etc...)
>
> If it's of any use, I can make one of my alpha machines available
> remotely to any OBSD dev.
>
>
> Anyone have any other thoughts?
>
>
> Thanks much,
> Kevin

I have a somewhat decent alpha now, so I'll take a look into this
issue.