[M3devel] m3cc build fails on older MacOS X

Jay jayk123 at hotmail.com
Wed May 7 08:15:24 CEST 2008


I "answered" this, sort of. The mail was truncated but the important point came through.
Someone else reported this circa gcc 4.0 and then fixed in gcc 4.0.1 or such.
 
 > Probably nobody cares anymore for Mac OS X 10.3.9; I'll consider an
I'll add bringing up 10.2 or maybe 10.1 back somewhere on my list..
This should probably handled "upstream" via "configure".
 
Olaf, is what changed my m3makefile-ness or not?
That is, it fails one way with cm3, but differently/later/better with "regular" configure+make?
Could be a flaw in my m3makefile shenanigans. But so far they otherwise work and do cut out unnecessary stuff.
 
I haven't had a chance to look into anything all Tuesday.
 
 - Jay



> Date: Wed, 7 May 2008 07:58:30 +0200> From: wagner at elegosoft.com> To: jayk123 at hotmail.com> CC: m3devel at elegosoft.com> Subject: RE: [M3devel] m3cc build fails on older MacOS X> > Quoting Jay <jayk123 at hotmail.com>:> > > Olaf, can you try without my m3makefile wierdness, that works elsewhere?> >> > cd %CVSROOT%/m3-sys/m3cc mkdir obj1 cd obj1 > > ../gcc/configure --disable-bootstrap --enable-languages=c,cm3cg > > make> > I'm not sure of "cm3cg", it might be "m3cg". And you can just omit > > that anyway, I doubt the error is m3 related.> > (Tony: I don't believe --srcdir is needed. configure figures it out; > > granted, maybe not trivially.)> > ?> > I expect you will get the same error. Which isn't the final > > answer, just some relevant data. And if I'm wrong, well, that > > suggests some fix.> > I already answered this late yesterday evening, but somehow the mail> seems to have got lost. The build now stops with a wrong linker> switch:> > mv tmp-libgcc.map libgcc.map> # @multilib_flags@ is still needed because this may use> # /Users/wagner/work/cm3/m3-sys/m3cc/derived/./gcc/xgcc > -B/Users/wagner/work/cm3/m3-sys/m3cc/derived/./gcc/ > -B/usr/local/powerpc-apple-darwin7.9.0/bin/ > -B/usr/local/powerpc-apple-darwin7.9.0/lib/ -isystem > /usr/local/powerpc-apple-darwin7.9.0/include -isystem > /usr/local/powerpc-apple-darwin7.9.0/sys-include and -O2 -O2 -g -g > -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wold-style-definition -isystem ./include > -Wa,-force_cpusubtype_ALL -pipe -mmacosx-version-min=10.4 -g > -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED directly.> # @multilib_dir@ is not really necessary, but sometimes it has> # more uses than just a directory name.> /bin/sh ../../../gcc/libgcc/../mkinstalldirs .> /Users/wagner/work/cm3/m3-sys/m3cc/derived/./gcc/xgcc > -B/Users/wagner/work/cm3/m3-sys/m3cc/derived/./gcc/ > -B/usr/local/powerpc-apple-darwin7.9.0/bin/ > -B/usr/local/powerpc-apple-darwin7.9.0/lib/ -isystem > /usr/local/powerpc-apple-darwin7.9.0/include -isystem > /usr/local/powerpc-apple-darwin7.9.0/sys-include -O2 -O2 -g -g -O2 > -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wold-style-definition -isystem ./include > -Wa,-force_cpusubtype_ALL -pipe -mmacosx-version-min=10.4 -g > -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -dynamiclib > -nodefaultlibs -install_name /usr/local/lib/libgcc_s`if test . = ppc64 > ; then echo _. ; fi`.1.dylib -single_module -o ./libgcc_s.1.dylib.tmp > -Wl,-exported_symbols_list,libgcc.map -compatibility_version 1 > -current_version 1.0 -O2 -g -g -O2 -B./ _muldi3_s.o _negdi2_s.o > _lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o _ucmpdi2_s.o > _clear_cache_s.o _enable_execute_stack_s.o _trampoline_s.o __main_s.o > _absvsi2_s.o _absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _subvsi3_s.o > _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o > _ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o _clzdi2_s.o > _ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o > _popcountdi2_s.o _paritysi2_s.o _paritydi2_s.o _powisf2_s.o > _powidf2_s.o _powixf2_s.o _powitf2_s.o _mulsc3_s.o _muldc3_s.o > _mulxc3_s.o _multc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o > _divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _fixunssfsi_s.o > _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o > _fixtfdi_s.o _fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o > _fixunstfdi_s.o _floatdisf_s.o _floatdidf_s.o _floatdixf_s.o > _floatditf_s.o _floatundisf_s.o _floatundidf_s.o _floatundixf_s.o > _floatunditf_s.o _divdi3_s.o _moddi3_s.o _udivdi3_s.o _umoddi3_s.o > _udiv_w_sdiv_s.o _udivmoddi4_s.o darwin-tramp_s.o ppc64-fp_s.o > darwin-64_s.o darwin-ldouble_s.o darwin-world_s.o unwind-dw2_s.o > unwind-dw2-fde-darwin_s.o unwind-sjlj_s.o unwind-c_s.o > darwin-fallback_s.o emutls_s.o -lc> /usr/bin/ld: unknown flag: -macosx_version_min> collect2: ld returned 1 exit status> make[2]: *** [libgcc_s.dylib] Error 1> make[1]: *** [all-target-libgcc] Error 2> make: *** [all] Error 2> > Probably nobody cares anymore for Mac OS X 10.3.9; I'll consider an> upgrade again.> > Olaf> -- > Olaf Wagner -- elego Software Solutions GmbH> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080507/c5e987e9/attachment-0002.html>


More information about the M3devel mailing list