HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

HP-UX ld B.12.42 vs B.12.53 on Itanium(R)

 
SOLVED
Go to solution
ashokd
Occasional Contributor

HP-UX ld B.12.42 vs B.12.53 on Itanium(R)

Hi,

I have compiled my dynamic libs by aCC on ld version B.12.42 and after minor modification on code i compiled on B.12.53. I noticed that libs size diff is very big.
on B.12.42 size was arount 53 MB
on B.12.53 size was around 34 MB

1) What are the feature difference between these two version of ld.

2) Even i want to know that whether my admistrator has upgraded ld version or not?
I came to knowd ld version difference by using elfdump on two libs.

3) Upgradation of aCC will results upgradion of ld?

4) From libs how to know aCC version?

5) Is there any system log that i can check whether aCC/ld has been upgraded or not.

Rgds,
Ashok
4 REPLIES
Solution

Re: HP-UX ld B.12.42 vs B.12.53 on Itanium(R)

>ld version B.12.42

You link with ld, not compile.

>I noticed that libs size diff is very big.

Yes. Unless one is compiled with -g.

>1) What are the feature difference between these two version of ld?

Take a look at the bug fixes in each patch.
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_39821
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_34860

>2) I want to know that whether my administrator has upgraded ld version or not? I came to know ld version difference by using elfdump on two libs.

>4) From libs how to know aC++ version?

You can use "elfdump -dl" for the linker version, "elfdump -dc" for compiler version and options.

You can also use footprints(1) to print a nice summary of your shlibs..

>3) Upgrade of aCC will results upgrade of ld?

Yes, if you take the recommendation to upgrade both.

>5) Is there any system log that I can check whether aCC/ld has been upgraded or not.

/var/adm/sw/swinstall.log
ashokd
Occasional Contributor

Re: HP-UX ld B.12.42 vs B.12.53 on Itanium(R)

Thanks Dennis.

I found that patch PHSS_39821 entry present in swinstall.log and linker has changed in my system.

Patch has linker also.How do i know the linker version for this patch?
ashokd
Occasional Contributor

Re: HP-UX ld B.12.42 vs B.12.53 on Itanium(R)

Thanks again.
I got it from the same link you have posted.

Re: HP-UX ld B.12.42 vs B.12.53 on Itanium(R)

>Thanks again.

If you are happy with the answers you were given, please read the follow on how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33

Also, did you get a chance to look at footprints(1) to see what compiler options were used?