This issue is resolved. It was my mistake.

The shared object was not getting loaded into memory and hence all the stack pointer, etc (dXSARGS) etc were 0. Hence the core dump.

I rebuilt the library and linked it properly with the –bM:SRE flags.

Then all was good.

 

Cheers

Aps

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aparna Vasanth
Sent: Wednesday, August 30, 2006 3:33 PM
To: [email protected]
Subject: Issue with libperl.a on AIX

 

Hi.

 

I have build a shared object (scripting.so) on AIX 5 using the native xLc compiler. This object links with libperl.a.

Now when I run a perl script and try to load this .so, I get a core dump.

 

I debugged the code and found the failure is at a statement dXSARGS during bootstraping.

I heard that this leads to code in libperl.a where it is dumping core.

 

This happens only on AIX.

I have not had such trouble on windows where I was able to successfully load the dll.

 

Is there any fix for this in libperl.a?

 

Or Can someone tell me if this is a compiler flags issue.

What compiler flags and linker flags were used in building libperl.a

 

All help appreciated.

Thanks

Aps

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to