I have had problems sending this to bugzilla and so am posting it here.

SYSTEM: Solaris 2.6, gcc 2.95.2, binutils-2.11

(1) Mathed: Native assembler fails
-----------------------------------------

Making all in mathed
gmake[3]: Entering directory `/home1/pub/lyx-1.2.3/src/mathed'
source='math_support.C' object='math_support.lo' libtool=yes \
depfile='.deps/math_support.Plo' tmpdepfile='.deps/math_support.TPlo' \
depmode=gcc /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../src
-I./../ -I../.. -I../../boost  -isystem /usr/openwin/include  -O
-fno-rtti
-fno-exceptions -c -o math_support.lo `test -f math_support.C || echo
'./'`math_support.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../../boost
-isystem
/usr/openwin/include -O -fno-rtti -fno-exceptions -c math_support.C
-Wp,-MD,.deps/math_support.TPlo
/usr/ccs/bin/as: "/var/tmp/ccWacuZe.s", line 3460: error: can't compute
value of
an expression involving an external symbol
gmake[3]: *** [math_support.lo] Error 1
gmake[3]: Leaving directory `/home1/pub/lyx-1.2.3/src/mathed'

- there is advice on the web stating that gas should not be used on
SPARCs because of a failure to handle postion independent code
correctly.
- I reinstalled binutils-2.11 reconfigured and rebuilt and got further.
(I had removed binutils a few years ago because of problems/conflicts
with native tools)

(2) Insets: Native ar core dumps
------------------------------------------

mns% gmake
/bin/sh ../../libtool --mode=link g++  -O -fno-rtti -fno-exceptions   -o
libinsets.la   ExternalTemplate.lo inset.lo insetbib.lo insetbutton.lo
insetcaption.lo insetcite.lo insetcollapsable.lo insetcommand.lo
inseterror.lo insetert.lo insetexternal.lo insetfloat.lo
insetfloatlist.lo insetfoot.lo insetfootlike.lo insetgraphicsParams.lo
insetgraphics.lo insetinclude.lo insetindex.lo insetlabel.lo
insetlatexaccent.lo insetmarginal.lo insetminipage.lo insetnote.lo
insetparent.lo insetquotes.lo insetref.lo insetspecialchar.lo
insettabular.lo insettext.lo insettoc.lo inseturl.lo  
rm -fr .libs/libinsets.la .libs/libinsets.* .libs/libinsets.*
ar cru .libs/libinsets.a  ExternalTemplate.o inset.o insetbib.o
insetbutton.o insetcaption.o insetcite.o insetcollapsable.o
insetcommand.o inseterror.o insetert.o insetexternal.o insetfloat.o
insetfloatlist.o insetfoot.o insetfootlike.o insetgraphicsParams.o
insetgraphics.o insetinclude.o insetindex.o insetlabel.o
insetlatexaccent.o insetmarginal.o insetminipage.o insetnote.o
insetparent.o insetquotes.o insetref.o insetspecialchar.o insettabular.o
insettext.o insettoc.o inseturl.o 
Segmentation Fault - core dumped
gmake: *** [libinsets.la] Error 139
mns%

- this was odd.
- archiving with the gnu ar from binutils worked.
- I could not see how to set ar in the configuration system and edited
the libtool script directly. Possible minor issue here? 
- lyx then built and seemed to work (I have loaded an old report).

(3) Gnu tools only?

Reply via email to