[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Sun Jul 26 05:46:03 CEST 2009


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	09/07/26 05:46:03

Modified files:
	cm3/m3-sys/cminstall/src/config-no-install/: Solaris.common 
	                                             cm3cfg.common 

Log message:
	cross built SOLgnu cm3 crashes a few instructions into RTLinker__InitRuntime
	
	Therefore drastically simplify m3_backflags for bootstrap builds,
	which for now are assumed to only be building cm3, static cm3
	(bootstrap builds could cross build the entire system, including
	shared libraries)
	
	My favorite suspect is -fPIC.
	While at it, until we have to debug anything, remove -gstabs,
	and until we actually use libgcc, remove -funwind-tables.
	Again, only for bootstrap.
	
	Removing all three does the trick.
	Removing each one not tried, but fPIC is the suspect since
	all the first few instructions do is calculate an address in a PIC way.
	
	Anyway, the larger change here, though not large, is to enable
	computing m3back_flags later, by pushing it into a function.
	
	Otherwise the SOLgnu configuration file doesn't have the information
	it needs before it makes the decision.
	
	All other platforms given a default function that uses the existing global
	(well, all Solaris platforms affected, even though only SOLgnu is relevant here/now)




More information about the M3commit mailing list