Sponsored Content
Top Forums UNIX for Advanced & Expert Users Migration of binary file from Sunos 5.8 to Sunos 5.9 Post 77682 by Arvind Maurya on Tuesday 12th of July 2005 05:31:58 AM
Old 07-12-2005
Migration of binary file from Sunos 5.8 to Sunos 5.9

I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core dump file for reference

------------------------------------------------------------------
A loadobject was found with an unexpected checksum value.
See `help core mismatch' for details, and run `proc -map'
to see what checksum values were expected and found.
dbx: warning: Some symbolic information might be incorrect.
dbx: warning: could not initialize thread debugging library -- generic libthread_db.so error
dbx: warning: thread related commands will not be available
dbx: warning: see `help lwp', `help lwps' and `help where'
t@null (l@1) terminated by signal SEGV (Segmentation Fault)
0xfe7e5f8c: _cancelon : save %sp, -96, %sp
Current function is l32_cleanup
1031 fprintf(global_stats.log_fp, "*************************************** \n");(dbx) where
[1] _cancelon(0x4, 0x0, 0x0, 0x0, 0x1, 0x0), at 0xfe7e5f8c
[2] _thr_exit_common(0xfe7f8b84, 0x0, 0xfe5c0590, 0xfe7f8000, 0x0, 0x0), at 0xfe7e1d00
[3] _thr_suspend_allmutators(0xfe5c0590, 0xfe4a0000, 0x0, 0xfe5bc000, 0x0, 0x0), at 0xfe7e2700
[4] extract_format(0x2008, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfe546c98
[5] _wrtchk(0x31fb8, 0x0, 0x0, 0xfe5bc000, 0xfe5bc000, 0x0), at 0xfe58f154
[6] _doprnt(0x20930, 0xffbff96c, 0x31fb8, 0xfe5bc000, 0x0, 0x0), at 0xfe58501c
[7] vprintf(0x31fb8, 0x20930, 0x0, 0x0, 0xfe546cac, 0xfe5a0054), at 0xfe588614
=>[8] l32_cleanup(), line 1031 in "geserve.c"
[9] main(), line 191 in "geserve.c"

----------------------------------------------------------------------
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SunOS 5.8

I am loging into a SunOS 5.8 box for the first time. I do not see a .profile file in the home directory. Also on the command line when I type a backspace to correct my typing I get a ^H character. Where and how can I fix this? Thanks in advance (5 Replies)
Discussion started by: jxh461
5 Replies

2. Solaris

SunOS 5.4

Hi, I Hope you can help me with my problem. I need to have an installation CD of this version. Is there any site you can recommend that I can download an image of this OS? Thanks and God Bless!!! (6 Replies)
Discussion started by: mr_balodoy
6 Replies

3. Solaris

Looking for help with SunOS 5.6

Hey all, I've got my hands on 10 SunOS 5.6 SPARCStation 20 machines and I'm looking to get them up and running. They're all in various states of disrepair but I've got them all to a state where the hardware is working and the machine will at least attempt to boot. I've only used Solaris as a... (1 Reply)
Discussion started by: kevpatts
1 Replies

4. Solaris

gdb for SunOS 5.6

I want to install gdb on SunOS 5.6 machine. Where can i download from ? (1 Reply)
Discussion started by: shafi2all
1 Replies

5. Solaris

Any patches for SunOS 5.11?

I need patch against the I_PEEK Local Kernel memory Leak Exploit But i'm unable to find any patches for Solaris 5.11, and smpatch is no longer supported... So, do you have any suggestions how to patch my system? Thanks. (4 Replies)
Discussion started by: static
4 Replies

6. Solaris

New to SunOS...

...and I'm having an issue with memory usage. I got an alert from our sun management console that the box is at 90% memory usage. I need to know what's eating up the memory as this particular box has 16GB of RAM. (3 Replies)
Discussion started by: bbbngowc
3 Replies

7. Solaris

SunOS 5.8 vs 5.10

Hi, I am bulding a path to open files like this \path\values\file.xxx This path is opened in an IE browser window and opens the file/document I am trying to see. I mean it opens a pdf document or it promps you to "save" or "open" the specific file (if it's a .xml, .doc, .html). I was using... (1 Reply)
Discussion started by: hcibl_javok
1 Replies

8. Solaris

SunOS 5.6

Hi, I called Sun and they said they no longer sell SunOS 5.6. I desperately need a CD-ROM of the install CD to perform maintenance work on a server. Does anyone know where to get one or know someone who can make me a copy? (2 Replies)
Discussion started by: mojoman
2 Replies

9. Solaris

Migration of binaries from SunOS 5.5.1 to 5.11

HI, I have binary files that were generated on SUnOS 5.5.1 some years back. These programs were written in C. I want to run them on SunOS 5.11 (latest version of SunOS). Can I run them directly or will there be any porting challenges? (1 Reply)
Discussion started by: rajujayanthy
1 Replies

10. Solaris

SunOS 5.5.1 usage of Makefile command in make file

I am new to Solaris and compilation using make files. I have a code base which is organized into different folders. At the root folder is a master make file and in the sub directories, there are make files for that particular folder. In the make files present in subdirectories, I am seeing... (2 Replies)
Discussion started by: rajujayanthy
2 Replies
sotruss(1)							   User Commands							sotruss(1)

NAME
sotruss - trace shared library procedure calls SYNOPSIS
/usr/bin/sotruss [-f] [-F bindfromlist] [-T bindtolist] [-o outputfile] executable [ executable arguments...] DESCRIPTION
sotruss executes the specified command and produces a trace of the library calls that it performs. Each line of the trace output reports what bindings are occurring between dynamic objects as each procedure call is executed. sotruss traces all of the procedure calls that occur between dynamic objects via the Procedure Linkage Table, so only those procedure calls which are bound via the Procedure Linkage Ta- ble will be traced. See Linker and Libraries Guide OPTIONS
-F bindfromlist A colon-separated list of libraries that are to be traced. Only calls from these libraries will be traced. The default is to trace calls from the main executable only. -T bindtolist A colon-separated list of libraries that are to be traced. Only calls to these libraries will be traced. The default is to trace all calls. -o outputfile sotruss output will be directed to the outputfile. If this option is combined with the -f option then the pid of the executing program will be placed at the end of the filename. By default sotruss output is placed on stderr. -f Follow all children created by fork() and print truss output on each child process. This option will also cause a pid to be output on each truss output line. EXAMPLES
Example 1: An example of sotruss. A simple example shows the tracing of a simple ls command: % sotruss ls | more ls -> libc.so.1:*atexit(0xef7d7d1c, 0x23c00, 0x0) ls -> libc.so.1:*atexit(0x1392c, 0xef7d7d1c, 0xef621bb0) ls -> libc.so.1:*setlocale(0x6, 0x1396c, 0xef621ba8) ls -> libc.so.1:*textdomain(0x13970, 0x1396c, 0xef621ba8) ls -> libc.so.1:*time(0x0, 0xef61f6fc, 0xef621ba8) ls -> libc.so.1:*isatty(0x1, 0xef61f6fc, 0x0) ls -> libc.so.1:*getopt(0x1, 0xeffff8fc, 0x13980) ls -> libc.so.1:*malloc(0x100, 0x0, 0x0) ls -> libc.so.1:*malloc(0x9000, 0x0, 0x0) ls -> libc.so.1:*lstat64(0x23ee8, 0xeffff7a0, 0x0) ... ls -> libc.so.1:*printf(0x13a64, 0x26208, 0x23ef0) ls -> libc.so.1:*printf(0x13a64, 0x26448, 0x23ef0) ls -> libc.so.1:*exit(0x0, 0x24220, 0x2421c) ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWtoo | +-----------------------------+-----------------------------+ SEE ALSO
ld.so.1(1), truss(1), whocalls(1), fork(2), attributes(5) Linker and Libraries Guide SunOS 5.10 12 May 1997 sotruss(1)
All times are GMT -4. The time now is 07:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy