Solaris 7 build fails for current cvs resolved, but static/dyn. lib problems

Benjamin Kosnik bkoz@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


> (2) Obtain and install the GNU binutils and rebuild gcc with --with-gnu-ld. 
> Make sure the GNU ld is in your path when you link.  It seems the static
> constructors are instantiated in the correct dependency order when I build with
> the GNU linker instead of the native Solaris one.

Yeah. All my testing on solaris2.x was with gcc-2.95.2 and --with-gnu-as 
--with-gnu-ld --with-gcc. 

I also had hella problems with static linkage, which caused me to rework 
the ctype code. If you use current CVS, you should be cool. Here's the 
orig bug report, FYI:

http://gcc.gnu.org/ml/gcc-bugs/2000-03/msg00274.html

This issue appears to have not been resolved in g++-land (the bits of v-3 
causing the original problem have been re-coded, in the name of expediency)

All of this should be put in the FAQ or on the status page. I'm in the 
process of updating status, and will put both status and detailed tool 
requirements on the new status page.

-benjamin


More information about the Libstdc++ mailing list