AIX 5.3 64-bit program crashes with AIX 5.1


 
Thread Tools Search this Thread
Top Forums Programming AIX 5.3 64-bit program crashes with AIX 5.1
# 1  
Old 08-23-2007
AIX 5.3 64-bit program crashes with AIX 5.1

I have an AIX 64-bit program which uses following from AIX5.3


/usr/lib/libc.a(shr_64.o)
/usr/lib/libpthread.a(shr_xpg5_64.o)
/home/jeet_xp/export/power/usr/lib/libsarpc.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr_64.o)
/usr/lib/libc_r.a(shr_64.o)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
/usr/lib/libiconv.a(shr4_64.o)

when I use a different login I get ldd output as this, which basically takes
libraries of AIX5.1.


/home/jeet_xp/current/export/power/usr/lib/libc.a(shr_64.o)
/home/jeet_xp/current/export/power/usr/lib/libpthread.a(shr_xpg5_64.o)
/home/jeet_xp//export/power/usr/lib/libsarpc.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr_64.o)
/home/jeet_xp/current/export/power/usr/lib/libc_r.a(shr_64.o)
/home/jeet_xp/current/export/power/usr/lib/libpthreads.a(shr_xpg5_64.o)
/home/jeet_xp/current/export/power/usr/lib/libiconv.a(shr4_64.o)



In the first case my program works fine but when in second case with any user using the libraries of older versions the program either traps in pthread or kills my telnet session.
Are there any issues known like this? please help me on this.
# 2  
Old 08-23-2007
The simple answer is you are trying to use the Tardis.

The general rule is that operating systems are backward compatible, not forward compatible.

So a 5.1 program should run on 5.3, but all bets are off for a program compiled on 5.3 to run on 5.1.
# 3  
Old 08-24-2007
Thanks porter for your reply, I understood what you wanted to say. Can you please tell me where can I find what all got changed from one release to other?
# 4  
Old 08-24-2007
Quote:
Originally Posted by jeet_xp
Thanks porter for your reply, I understood what you wanted to say. Can you please tell me where can I find what all got changed from one release to other?
Releases, and sub releases!!!!!!! IBM United States, I'm not sure what you are looking for though.

If you have the source, recompile it on a 5.1 box, if not use a 5.3 version machine.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Java 32 bit installation fails on an AIX platform

Hello. It is my first to deal with Java installation on an AIX platform. I am now trying to install Java 32bit using installp command. However, it throws back the message that the installation media cannot be found. I need to install Java 32bit to proceed with an installation of Oracle JD... (0 Replies)
Discussion started by: EJ2019
0 Replies

2. AIX

32 bit app on aix 6.1

We have our in house developed software running on AIX 6.1 (6100-06-06-1140). The application is a 32 bit application and the operating system is 64 bit. We are running this application without any issue on AIX 5.3 32-bit on P5. We are facing issue with this application after moving on P7 with aix... (4 Replies)
Discussion started by: vjm
4 Replies

3. Programming

C++ program crashes

Hi, Can anyone tell me why the below program is crashing? and where exactly it is crashing. What is the corrective measure to be taken to make it work fine? #include <iostream> #include <cstring> using namespace std; class CString { char* m_data; public: CString() :... (6 Replies)
Discussion started by: royalibrahim
6 Replies

4. AIX

Unix 64-bit AIX V6.1 Standard Edition

Unix 64bit AIX v6.1 standard edition what do you mean ? function ? pls, help me... (1 Reply)
Discussion started by: khanhphv
1 Replies

5. Programming

C++ program crashes

Hi, Could anyone tell me the reason why the following program crashes? class A { int x; public: A() { cout << "from A()" << endl; } ~A() { cout << "from ~A()" << endl; } }; class B : public A { public: B() { cout << "from B()"... (2 Replies)
Discussion started by: royalibrahim
2 Replies

6. AIX

AIX OS bit info

Hi All, How do i find a bit info whether 32 bit or 64 bit of AIX operating system? Please help R (6 Replies)
Discussion started by: tenderfoot
6 Replies

7. AIX

Segmentation fault in nsgetcinfo in aix 64-bit c code

Hello, I am running on a AIX5.2 server with Oracle 10g and 9i. My code compiles and works fine in 32-bit mode. The same code compiles in 64-bit and runs good. The program catches CNTRL-C signal to terminate. Only on 64-bit code when i hit CNTRL-C, the program exits with segmentation... (0 Replies)
Discussion started by: sumesh0710
0 Replies

8. AIX

porting an application on 64-bit AIX version 5

Hi all, I am facing problem in porting to 64 bit AIX especially with compiling options to compile and run under 64 bit kernel.Can any one put some light on the issue thanks in advance vishal (14 Replies)
Discussion started by: vishalzone2002
14 Replies

9. AIX

pthread library on AIX 5.3 64 bit

Hi, I am running my application on two AIX 5.3 64 bit boxes. In one of the boxes it is running fine without any problems. But on the other box it fails as soon as it is started and it core dumps. When I was analysing the core I was able to find the below two lines in addition to other... (4 Replies)
Discussion started by: allthanksquery
4 Replies

10. AIX

AIX 5.3 , gensyms command, translate 32 bit addr to 64 bit addr

I am trying to map the information from the gensyms command, Its gives information about the various symbols info like symbol type, addr offset, and the main libraries addr starting point. My problem is , how do I map this 32 bit addr to a 64 bit addr, I am trying to extract Segment # information... (0 Replies)
Discussion started by: mrmeswani
0 Replies
Login or Register to Ask a Question