Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - gmonparam: (7 Items)
   
gmonparam  
I have an executable that works fine on a development machine. It is build with support for profiling. When I move it on
 my target system it complains that it cannot resolve _gmonparam.

I'm assuming it's a shared object that hold that symbol but I can't find it.

- Mario
RE: gmonparam  
I would guess you have a mismatch host/target setup, If you build an app on
6.3.2 with profiling and try to run it on a 6.3.0 target you will get his
error.

> -----Original Message-----
> From: Mario Charest [mailto:mcharest@zinformatic.com]
> Sent: January 22, 2008 2:52 PM
> To: general-toolchain
> Subject: gmonparam
> 
> 
> I have an executable that works fine on a development machine. It is build
> with support for profiling. When I move it on my target system it
> complains that it cannot resolve _gmonparam.
> 
> I'm assuming it's a shared object that hold that symbol but I can't find
> it.
> 
> - Mario
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post4513
Re: RE: gmonparam  
I am seeing the same message and I am certain both target and host are 6.3.2 from 09-2007.  Can we get a hint as to 
which .so _gmonparam is in?
Re: RE: gmonparam  
It's in libc.so. 

Regards,

Ryan Mansfield
Re: RE: gmonparam  
> It's in libc.so. 
> 
Actually I did some digging and it's not there in 6.3.2, so for now you will need to pull it from the program via the 
export all symbols option on the linker (qcc option -Wl,-E) or use this linker script on the program (not the library)

{
	global:
	_gmonparam;
};


For the next release it will be in libc (its already there if you build it from the core os Foundry project)
Re: RE: gmonparam  
> > It's in libc.so. 
> > 
> Actually I did some digging and it's not there in 6.3.2, so for now you will 
> need to pull it from the program via the export all symbols option on the 
> linker (qcc option -Wl,-E) or use this linker script on the program (not the 
> library)

Was it missing from the IDE 4.0.1 libc patch as well or did the M632 not contain the IDE 4.0.1 libc patch?

Regards,

Ryan Mansfield


RE: RE: gmonparam  
I believe it was missing from there as well.

> -----Original Message-----
> From: Ryan Mansfield
> Sent: February 27, 2008 2:21 PM
> To: general-toolchain
> Subject: Re: RE: gmonparam
> 
> > > It's in libc.so.
> > >
> > Actually I did some digging and it's not there in 6.3.2, so for now you
> will
> > need to pull it from the program via the export all symbols option on
> the
> > linker (qcc option -Wl,-E) or use this linker script on the program (not
> the
> > library)
> 
> Was it missing from the IDE 4.0.1 libc patch as well or did the M632 not
> contain the IDE 4.0.1 libc patch?
> 
> Regards,
> 
> Ryan Mansfield
> 
> 
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post5338