On Mon, 2013-09-16 at 20:52 +0200, Dagobert Michelsen wrote:
> > /opt/SUNWspro/bin/cc -D_REENTRANT -pthreads
> -I/opt/csw/include/guile/2.0 -I/opt/csw/include   -xO3 -m32
> -xarch=sparc  -m32 -xarch=sparc -L/opt/csw/lib -o make ar.o arscan.o
> commands.o default.o dir.o expand.o file.o function.o getopt.o
> getopt1.o implicit.o job.o load.o loadapi.o main.o misc.o output.o
> read.o remake.o rule.o signame.o strcache.o variable.o version.o
> vpath.o hash.o remote-stub.o guile.o glob/libglob.a
> -lkstat  /opt/csw/lib/libintl.so -R/opt/csw/lib -L/opt/csw/lib
> -lguile-2.0 -lgc    -lrt 
> > ld: fatal: soname option (-h, --soname) is incompatible with
> building a dynamic executable
> > ld: fatal: flags processing errors

Hm.  Seems like there's something wrong with the link line here.  The
error is odd because it's suggesting that we're including a soname
option, which we clearly are not doing (at least I don't see one).

It may be some flags or options that we need to add in order to
facilitate the new dynamic loading feature, or to link with Guile.
Unfortunately I wasn't able to find much info using google.

> Please let me know if you need more information.

Unfortunately I don't have a copy of Sun Studio and I don't have any
SPARC hardware.  I'll need someone with access to these to assist.

The first thing to try is re-running configure with the
"--without-guile" option then rebuild, to see if that helps.  If it
does, then I think we'll need to reconvene this discussion on the
guile-users list.

If turning off Guile doesn't help, please re-run configure adding
"--disable-load" and see if that works.  If it doesn't help then that
will be a serious poser.  If it does help, we'll need to find someone
who has deeper knowledge of the Solaris compiler suite and who can
advise us on the magic needed to have it support dlopen() etc. properly.


Thanks for testing!


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to