ELF errors with SUNW0sgcc and GNU aspell
Hello, under advisement, I've switched the new SUNW0sgcc 4.0.2 downloaded
from cooltools.I've come across a few minor issues compiling some packages,
but nothing major.Until I got to GNU aspell.
Now it is giving me nothing but grief.
I am passing the following configure options to aspell:
CC=/opt/gcc/bin/gcc
CXX=/opt/gcc/bin/g++
# ./configure --prefix=/opt/app/cwis/support/aspell -enable-shared
Very simple with no CFLAGS to just try and get it to link.The package seems to compile OK, until it gets to the link stage.I have used both SUN /usr/ccs/bin/ld
and SFW GNU ld as provided on Solaris 9 companion disk.
The liner always bombs the same way, with a million relocation errors and an
ELF error I have never seen before - I won't post all the errors here, but here's the
last one - the rest are all pretty much the same....:
ld: fatal: file modules/filter/.libs/url.o: section .group%cpp_00000000_DFC38E3F9UrlFilterE: SHF_GROUP flag set, but no corresponding SHT_GROUP section found
ld: fatal: File processing errors. No output written to .libs/libaspell.so.15.1.4
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libaspell.la'
Current working directory /opt/src/aspell-0.60.4
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Can anyone please cast some light on this for me?
Thanks.......
rachel

