If you run pstack or dbx on the hanging binary, can you see
where it's hanging? I haven't had any problems with older
binaries here.
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
Jeff V wrote:
> Hi all,
>
> I just installed my first incarnation of OpenSolaris (community release b63)
> and seem to have an issue with running binaries that were compiled on S8 long
> ago.
>
> e.g., I have gnu's ls compiled under S8 with gcc and when I run it, it just
> hangs. There's a many other binaries that do the same. Here's some
> comparisons to /bin/ls:
>
> # file /var/tmp/ls /bin/ls
> /var/tmp/ls: ELF 32-bit MSB executable SPARC Version 1, dynamically
> linked, stripped
> /bin/ls: ELF 32-bit MSB executable SPARC Version 1, dynamically
> linked, not stripped, no debugging information available
>
> # ldd /var/tmp/ls
> librt.so.1 => /usr/lib/librt.so.1
> libgen.so.1 => /usr/lib/libgen.so.1
> libnsl.so.1 => /usr/lib/libnsl.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libmp.so.2 => /usr/lib/libmp.so.2
> libmd.so.1 => /usr/lib/libmd.so.1
> libscf.so.1 => /usr/lib/libscf.so.1
> libuutil.so.1 => /usr/lib/libuutil.so.1
> libm.so.2 => /usr/lib/libm.so.2
> /platform/SUNW,Ultra-80/lib/libc_psr.so.1
> /platform/SUNW,Ultra-80/lib/libmd_psr.so.1
>
> # ldd /bin/ls
> libsec.so.1 => /usr/lib/libsec.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libavl.so.1 => /usr/lib/libavl.so.1
> libm.so.2 => /usr/lib/libm.so.2
> /platform/SUNW,Ultra-80/lib/libc_psr.so.1
>
> I also ran appcert and it said the binary was ok:
>
> # appcert /var/tmp/ls
>
> finding executables and shared libraries to check ...
>
> profiling: /var/tmp/ls
>
> determining list of Solaris libraries ...
>
> checking binary objects for unstable practices ...
>
> checking: /var/tmp/ls
>
> performing miscellaneous checks ...
>
>
> ------------------------------------------------------------------------
> Summary: No binary stability problems detected.
>
> A total of 1 binary objects were examined.
>
>
> The following (1 of 1) components had no problems detected:
>
> /var/tmp/ls
>
>
>
> Additional output regarding private symbols usage and other
> data is in the directory:
>
> /tmp/appcert.29947
>
> see the appcert documentation for more information.
>
>
> I can submit the output directory somewhere if requested. Any thoughts on if
> I'm missing something like configuration option or something else?
>
> Thanks!
>
> Jeff V.
> Sun Microsystems
>
>
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-help mailing list
> opensolaris-help at opensolaris.org