Bug report for new MacOS X compilation

Sam Bayer mol-devel@lists.maconlinux.org
Fri, 19 Mar 2004 09:35:40 -0500


Hi all -

I've been eagerly awaiting native MacOS X support for MOL, so following 
Samuel's recent success, I pulled down the latest MOL from bk (on 3/18) 
and tried to compile. I'm on a B&W G3 rev 2, 333MHz, running 10.3.3. 
First attempt recapitulates a previously reported bug:

+ Entering lxdialog
     Compiling checklist.o         : ok
     Compiling menubox.o           : ok
     Compiling textbox.o           : ok
     Compiling yesno.o             : ok
     Compiling inputbox.o          : ok
     Compiling util.o              : ok
     Compiling lxdialog.o          : ok
     Compiling msgbox.o            : ok
= Building lxdialog               : ok
+ Entering kconfig
     Compiling zconf-y.o           : cc1: internal compiler error: Bus 
error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[2]: *** [.objs-osx/zconf-y.o] Error 1
make[1]: *** [sub-kconfig-all] Error 2
make: *** [bootstrap] Error 1

Following a recommendation on this list, I commented out 
-traditional-cpp in config/Makefile.osx, and I got a little farther, 
but didn't finish:

+ Entering lxdialog
     Compiling checklist.o         : ok
     Compiling menubox.o           : ok
     Compiling textbox.o           : ok
     Compiling yesno.o             : ok
     Compiling inputbox.o          : ok
     Compiling util.o              : ok
     Compiling lxdialog.o          : ok
     Compiling msgbox.o            : ok
= Building lxdialog               : ok
+ Entering kconfig
     Compiling zconf-y.o           : ok
     Compiling mconf.o             : ok
= Building mconfig                : ok
     Compiling conf.o              : ok
= Building config                 : ok
input in flex scanner failed
make[2]: *** [menuconfig] Error 2
make[1]: *** [menuconfig] Error 2
make: *** [bootstrap] Error 1

Here are some version:

% cc --version
cc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is 
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.

% flex --version
flex version 2.5.4
% bison --version
GNU Bison version 1.28

I wish I could help with more than testing, but my development 
experience is pretty much Solaris/Unix, and the oddities of OSX 
development are a mystery to me.

Cheers,
Sam Bayer