Port-amiga archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mysql compile on Netbsd/m68k
It seems to be going now....
After a bunch of
cc1plus in malloc(): warning: recursive call.
sql_yacc.cc: cc1plus in free(): warning: recursive call.
it seems to be compiling:
-bash-2.05b# ps aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 5948 95.8 56.6 67184 36824 p2 R+ 4:29PM 57:49.68
/usr/libexec/cc1plus /var/tmp/ccYWO9Od.ii -quiet -dumpbase sql_yacc.cc
-O0 -fno-inli
root 5946 0.0 0.0 168 528 p2 SW+ - 0:00.00 c++
-DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="/usr/pkg" -DDATADIR="/var/mysql"
-DSHAREDIR
I let you know how it goes.
Emmanuel
On 2004-12-30 at 14:51, Gunther Nikl wrote:
> On Thu, Dec 30, 2004 at 02:36:50PM +0200, Emm Vasilakis wrote:
> > > Changing -O levels should do the trick I would guess. Try compiling it
> > > manually, maybe without optimization.
> >
> > Tried -O0, -O, nothing...
> >
> > My curent compile line is:
> >
> > c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/pkg\""
> > -DDATADIR="\"/var/mysql\"" -DSHAREDIR="\"/usr/pkg/share/mysql\""
> > -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../include
> > -I../regex -I. -Dunix -I/usr/pkg/include -I/usr/include -O0
> > -DDBUG_OFF -DUSE_OLD_FUNCTIONS -DSIGNALS_DONT_BREAK_READ
> > -I/usr/pkg/include -I/usr/include -DSIGNALS_DONT_BREAK_READ
> > -fno-implicit-templates -fno-exceptions -fno-rtti -Dunix -fno-inline -c
> > sql_yacc.cc
>
> Its C++ ... Well, if it fails when not optimizing, then there is
> nothing you can do. Unfortunately there are cases then G++ requires
> much to much memory :-/ Maybe using another g++ version could help
> but probably it won't.
>
> > Anything else I could change on the above?
>
> Nope.
>
> > > BTW, isn't there a package for 1.6 which you could use?
> >
> > Nope, either not, or I am too blind to see it ;-)
>
> In that case, the only solution I see is to cross-build the package
> if possible. However, I can't help you with that.
>
> Gunther
--
Emm Vasilakis <evas%agn.forthnet.gr@localhost>
Home |
Main Index |
Thread Index |
Old Index