This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gnu on solaris


Hi,
Unless I'm building things stupidly, current gnu tools seem awkward &|
unusable on sparc-solaris. This is a convergence of binutils/gcc/gdb
issues, and I'd like to check that it's not just me,
I tested this on sparc-sun-solaris2.8

1) binutils 2.13 can't build shared objects - well, it builds them
but they segfault. This manifested as an immediate segfault in c++
programs compiled by a subsequently built g++. binutils tests
passed (IIRC). This took a little tracking, and of course the obvious
suspect (the new compiler) was innocent.

2) config & building required
	CONFIG_SHELL=/bin/bash SHELL=/bin/bash ../gcc/configure ...
	make CONFIG_SHELL=/bin/bash SHELL=/bin/bash bootstrap
without telling make, the build forgets partway through that I said use
bash, not sh, and went back to using /bin/sh in a place where it fails.

3) gdb 5.2 & 5.2.1 couldn't read some 3.3pre core files. this seemed a
bit flakey, but on a 3.2 generated core, gdb went into some kind of
infinite loop requiring a kill -9. gdb 5.0 was ok, but has problems
with C++ structures (it thinks many of them are incomplete)

the current install.texi file does not document these issues.

nathan

--
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]