[Mono-devel-list] SPARC build 0.31 ld option complaint re -v (guessing -version-scr ipt)

Belbin, Peter PBelbin at McLeodUSA.com
Mon Mar 22 15:22:51 EST 2004


Also, I noticed there is a missing install-sh script in the libg/include,
or, some other mistake that makes it think there should be one there.....

Bernie, have you managed to get xsp to work for SPARC?

Perhaps I've done something wrong, but I'm getting the following message
sequence:

GC Warning: Insufficient space for /proc read
Listening on port: 8081
Listening on address: 0.0.0.0
Root directory: /home/pbelbin/projects/mono0.31/xsp-0.9/test
Hit Return to stop the server.

(../server/xsp.exe:20612): GLib-WARNING **: Invalid file descriptor.


(../server/xsp.exe:20612): GLib-CRITICAL **: file gmain.c: line 1560
(g_source_remove): assertion `tag > 0' failed

** (../server/xsp.exe:20610): CRITICAL **: : The handle daemon vanished!






-----Original Message-----
From: Bernie Solomon [mailto:bernard at ugsolutions.com] 
Sent: Monday, March 22, 2004 1:38 PM
To: Varga Zoltan; Belbin, Peter
Subject: Re: [Mono-devel-list] SPARC build 0.31 ld option complaint re -v
(guessing -version-scr ipt)

I actually have a minor tweak in my configure.in to avoid this for what
I use (Sun sompiler & Sun linker). This is below.

However this wouldn't work for Peter's setup as I just assumed no-gcc
then no version script which wouldn't cover the gcc + Sun ld mixture.
Not sure what the autoconf magic is for that.

Bernie

--- configure.in        21 Mar 2004 06:43:13 -0000      1.211
+++ configure.in        22 Mar 2004 18:46:07 -0000
@@ -114,9 +114,9 @@ case "$host" in
 esac
 AC_MSG_RESULT(ok)
 AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
-AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)

 AC_CHECK_TOOL(CC, gcc, gcc)
+
 AC_PROG_CC
 AM_PROG_CC_STDC
 AC_PROG_INSTALL
@@ -127,6 +127,12 @@ dnl We should use AM_PROG_AS, but it's n
 AC_SUBST(CCAS)
 AC_SUBST(CCASFLAGS)

+if test x"$GCC" != xyes; then
+       no_version_script=yes
+fi
+AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
+
+
 AC_CHECK_PROG(BISON, bison,yes,no)
 if test "x$BISON" = "xno";
 then
----- Original Message ----- 
From: "Belbin, Peter" <PBelbin at McLeodUSA.com>
To: <mono-devel-list at lists.ximian.com>
Cc: "'Varga Zoltan'" <vargaz at freemail.hu>
Sent: Monday, March 22, 2004 9:38 AM
Subject: [Mono-devel-list] SPARC build 0.31 ld option complaint re -v
(guessing -version-scr ipt)


> Hi Zoltan,
>
> I'm eagerly looking forward to being able to try the JIT support for
> SPARC, and am running into a problem with the build.
>
> I'm using gcc 3.3.2 with the standard Sun supplied ld.
>
> I'm seeing the following message, which is curious, because libtool is
> being called with --mode=link gcc, but it's using /usr/ccs/bin/ld.  I'm
> not overly familiar with libtool, so this may be a red herring.
>
> Please advise
>
> Regards,
> Peter.
>
>
>
>
>
>
> make[4]: Entering directory
> `/home/pbelbin/projects/mono0.31/mono-0.31/mono/mini'
> /bin/bash ../../libtool --mode=link gcc  -g -O2 -fno-strict-aliasing -g
> -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
> -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs
> -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings
> -Wno-char-subscripts  -R/usr/local/lib:/usr/lib -o libmono.la -rpath
> /usr/local/lib -Wl,-version-script=./ldscript mini.lo trace.lo
> dominators.lo cfold.lo regalloc.lo inssel.lo helpers.lo liveness.lo
> ssa.lo driver.lo debug-mini.lo linear-scan.lo aot.lo graph.lo
> mini-sparc.lo exceptions-sparc.lo tramp-sparc.lo
> ../../mono/metadata/libmonoruntime.la ../../mono/metadata/libmetadata.la
> ../../mono/io-layer/libwapi.la ../../mono/utils/libmonoutils.la
> ../../libgc/libmonogc.la -lpthread -lm -L/usr/local/lib -licui18n
> -licuuc -licudata -lpthread -lm -lrt  -lsocket -lnsl -lxnet -lpthread
> -lm -lrt
>
> rm -fr .libs/libmono.la .libs/libmono.* .libs/libmono.*
> /usr/ccs/bin/ld -G -h libmono.so.0 -o .libs/libmono.so.0.0.0  mini.lo
> trace.lo dominators.lo cfold.lo regalloc.lo inssel.lo helpers.lo
> liveness.lo ssa.lo driver.lo debug-mini.lo linear-scan.lo aot.lo
> graph.lo mini-sparc.lo exceptions-sparc.lo tramp-sparc.lo -z allextract
> ../../mono/metadata/.libs/libmonoruntime.al
> ../../mono/metadata/.libs/libmetadata.al
> ../../mono/io-layer/.libs/libwapi.al
> ../../mono/utils/.libs/libmonoutils.al ../../libgc/.libs/libmonogc.al -z
> defaultextract  -R/usr/local/lib:/usr/lib -R/usr/local/lib:/usr/lib
> -L/usr/local/lib -licui18n -licuuc -licudata -lsocket -lnsl -lxnet
> -lpthread -lm -lrt -lc  -version-script=./ldscript
>
> /usr/ccs/bin/ld: illegal option -- v
> usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?]
> file(s)
>         [-64]           enforce a 64-bit link-edit
>         [-a]            create an absolute file
>         [-b]            do not do special PIC relocations in a.out
>         [-B direct]     specify `direct' bindings for executable when
> run
>         [-B dynamic | static]
>                         search for shared libraries|archives
>         [-B eliminate]  eliminate unqualified global symbols from the
>                         symbol table
>         [-B group]      relocate object from within group
>         [-B local]      reduce unqualified global symbols to local
>         [-B reduce]     process symbol reductions
>         [-B symbolic]   bind external references to definitions when
> creating
>                         shared objects
>         [-c name]       record configuration file `name'
>         [-C]            demangle C++ symbol name diagnostics
>         [-d y | n]      operate in dynamic|static mode
>         [-D token,...]  print diagnostic messages
>         [-e epsym]      use `epsym' as entry point address
>         [-f name]       specify library for which this file is an
> auxiliary
>                         filter
>         [-F name]       specify library for which this file is a filter
>         [-G]            create a shared object
>         [-h name]       use `name' as internal shared object identifier
>         [-i]            ignore LD_LIBRARY_PATH setting
>         [-I name]       use `name' as path of interpreter
>         [-l x]          search for libx.so or libx.a
>         [-L path]       search for libraries in directory `path'
>         [-m]            print memory map
>         [-M mapfile]    use processing directives contained in `mapfile'
>
>         [-N string]     create a dynamic dependency for `string'
>         [-o outfile]    name the output file `outfile'
>         [-p auditlib]   identify audit library to accompany this object
>         [-P auditlib]   identify audit library for processing the
> dependencies
>                         of this object
>         [-Q y | n]      do|do not place version information in output
> file
>         [-r]            create a relocatable object
>         [-R path]       specify a library search path to be used at run
> time
>         [-s]            strip any symbol and debugging information
>         [-S supportlib]
>                         specify a link-edit support library
>         [-t]            do not warn of multiply-defined symbols that
> have
>                         different sizes or alignments
>         [-u symname]    create an undefined symbol `symname'
>         [-V]            print version information
>         [-Y P,dirlist]  use `dirlist' as a default path when searching
> for
>                         libraries
>         [-z absexec]    when building an executable absolute symbols
>                         referenced in dynamic objects are promoted to
>                         the executable
>         [-z allextract | defaultextract | weakextract]
>                         extract all member files, only members that
> resolve
>                         undefined tor tentative symbols, or allow
> extraction of
>                         archive members to resolvetweak references from
>                         archive files
>         [-z combreloc]  combine multiple relocation sections
>         [-z nocompstrtab]       disable compression of string tables
>         [-z defs]       disallow undefined symbol references
>         [-z endfiltee]  marks a filtee such that it will terminate a
> filters
>                         search
>         [-z finiarray=function]
>                         name of function to be appended to the
> .finiarray
>         [-z groupperm | nogroupperm]
>                         enable|disable setting of group permissions
>                         on dynamic dependencies
>         [-z ignore | record]
>                         ignore|record unused dynamic dependencies
>         [-z initarray=function]
>                         name of function to be appended to the
> .initarray
>         [-z initfirst]  mark object to indicate that its .init section
> should
>                         be executed before the .init section of any
> other
>                         objects
>         [-z interpose]  dynamic object is to be an `interposer' on
> direct
>                         bindings
>         [-z lazyload | nolazyload]
>                         enable|disable delayed loading of shared objects
>
>         [-z ld32=arg1,arg2,...]
>                         define arguments applicable to the 32-bit class
> of ld(1)
>         [-z ld64=arg1,arg2,...]
>                         define arguments applicable to the 64-bit class
> of ld(1)
>         [-z loadfltr]   mark filter as requiring immediate loading of
> its
>                         filtees at runtime
>         [-z muldefs]    allow multiply-defined symbols
>         [-z nodefs]     allow undefined symbol references
>         [-z nodefaultlib]
>                         mark object to ignore any default library search
> path
>         [-z nodelete]   mark object as non-deletable
>         [-z nodlopen]   mark object as non-dlopen()'able
>         [-z nodump]     mark object as non-dldump()'able
>         [-z nopartial]  expand any partially initialized symbols
>         [-z noversion]  don't record any version sections
>         [-z now]        mark object as requiring non-lazy binding
>         [-z origin]     mark object as requiring $ORIGIN processing
>         [-z preinitarray=function]
>                         name of function to be appended to the
> .preinitarray
>         [-z redlocsym]  reduce local syms in .symtab to a minimum
>         [-z rescan]     rescan archive list until no further member
>                         extraction occurs
>         [-z text]       disallow output relocations against text
>         [-z textoff]    allow output relocations against text
>         [-z textwarn]   warn if there are relocations against text
>         [-z verbose]    generate warnings for suspicious processings
> make[4]: *** [libmono.la] Error 1
> make[4]: Leaving directory
> `/home/pbelbin/projects/mono0.31/mono-0.31/mono/mini'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/home/pbelbin/projects/mono0.31/mono-0.31/mono/mini'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/pbelbin/projects/mono0.31/mono-0.31/mono'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/pbelbin/projects/mono0.31/mono-0.31'
> make: *** [all] Error 2
>
>
>
> NOTICE: This electronic mail transmission may contain confidential
> information and is intended only for the person(s) named.  Any use,
> copying or disclosure by any other person is strictly prohibited. If you
> have received this transmission in error, please notify the sender via
> e-mail.
>
>
>
>



NOTICE: This electronic mail transmission may contain confidential
information and is intended only for the person(s) named.  Any use, copying
or disclosure by any other person is strictly prohibited. If you have
received this transmission in error, please notify the sender via e-mail.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040322/1eb896b4/attachment.html 


More information about the Mono-devel-list mailing list