Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 285328 - binutils uses org.eclipse.cdt.debug.internal.core.sourcelookup.MapEntrySourceContainer
Summary: binutils uses org.eclipse.cdt.debug.internal.core.sourcelookup.MapEntrySource...
Status: CLOSED WONTFIX
Alias: None
Product: Linux Tools
Classification: Tools
Component: GProf (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Xavier Raynaud CLA
QA Contact: Xavier Raynaud CLA
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-31 16:19 EDT by Andrew Overholt CLA
Modified: 2016-09-14 16:34 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Overholt CLA 2009-07-31 16:19:05 EDT
The GProf plugins produce 18 compiler warnings.  They can be seen here:

https://build.eclipse.org/hudson/job/cbi-linuxtools-Galileo/297/warningsResult/

Prior to adding these plugins to the build we had a warning-free build.  I'd like to get back to that if possible :)
Comment 1 Andrew Overholt CLA 2009-08-04 13:48:00 EDT
Try to fix for 0.4 release.
Comment 2 Andrew Overholt CLA 2009-09-08 14:10:04 EDT
Xavier, I'd like to add the GProf plugins to our nightly builds.  Are you able to track down these compiler warnings?  I can run a new build showing them if you'd like.
Comment 3 Andrew Overholt CLA 2009-10-08 10:15:27 EDT
I'm going to add the tests to the automated build so fixing this will become more time-sensitive :)  Building locally may help reproduce the problem if you can't do it from within Eclipse.  Other project committers have gone through local build test failure diagnosing and may be able to help.  This wiki page may also be of help:

http://wiki.eclipse.org/Linux_Tools_Project/Releng#Building_locally
Comment 4 Xavier Raynaud CLA 2009-10-30 11:20:35 EDT
Hi andrew,

As you probably noticed, only 3 warnings are remaining in gprof.
However, I do not know how to fix them for now.

These warnings occurs, because gprof uses an internal CDT API, required for link-to-source support.

I do not know how to workaround that. I guess I have to open a request on CDT tracker ?
Comment 5 Andrew Overholt CLA 2009-10-30 12:24:46 EDT
(In reply to comment #4)
> 
> As you probably noticed, only 3 warnings are remaining in gprof.

Yes, that's great!  Thanks for fixing the others.

> These warnings occurs, because gprof uses an internal CDT API, required for
> link-to-source support.

Our OProfile, Valgrind, and Callgraph (under systemtap in SVN) functionality also has link-to-source support and doesn't need to use internal APIs AFAIK.  Maybe look at that code?
 
> I do not know how to workaround that. I guess I have to open a request on CDT
> tracker ?

Obviously use of internals is discouraged, but if it can't be avoided, yes, requesting API from the CDT team is best.

Jeff, how did you avoid warnings in cases like this in the past?
Comment 6 Andrew Overholt CLA 2009-11-13 10:50:41 EST
Let's see if we can clean these up for 0.5.
Comment 7 Xavier Raynaud CLA 2009-12-10 06:00:02 EST
Question send to CDT mailing list: http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg16774.html
Comment 9 Andrew Overholt CLA 2010-03-03 13:37:02 EST
Removing target milestone of 0.5 for bugs that won't make it for 0.5.
Comment 10 Andrew Overholt CLA 2011-09-30 15:17:49 EDT
Updating Xavier's email address for existing bugs.
Comment 11 Alexander Kurtakov CLA 2012-02-23 14:01:05 EST
What's the state on this bug?
Comment 12 Xavier Raynaud CLA 2012-03-01 09:04:50 EST
I've just checked on Juno-M5.
No change since Helios.
Comment 13 Andrew Overholt CLA 2012-03-01 09:44:49 EST
(In reply to comment #12)
> I've just checked on Juno-M5.
> No change since Helios.

Can you ask again on cdt-dev, Xavier?
Comment 14 Alexander Kurtakov CLA 2013-02-08 08:54:23 EST
What's the status of this bug?
Comment 15 Eclipse Genie CLA 2015-04-30 15:54:39 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 16 Alexander Kurtakov CLA 2016-09-14 16:34:44 EDT
Let's close the bug. Codebase changed a lot and the original link is no longer there.