Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 389862 - Use the --build-id flag in native SWT build
Summary: Use the --build-id flag in native SWT build
Status: RESOLVED DUPLICATE of bug 393834
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Launcher (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Krzysztof Daniel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 03:20 EDT by Krzysztof Daniel CLA
Modified: 2012-11-27 06:33 EST (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 Krzysztof Daniel CLA 2012-09-19 03:20:23 EDT
This affects multiple components, but I put it under equinox product, because I found it there first.

Recently my Fedora builds started failing because of the error:

find-debuginfo.sh *** ERROR: No build ID note found in $path_to_binary

According to the man page http://linux.die.net/man/1/ld, adding the --build-id to the build will generate add to the file a section with unique build id (which is good for debugging purposes). Do you think adding something like this to SWT (and in other native libraries (launcher, filesystem, network) build would be useful?

Note - I have a workaround for that issue in Fedora.
Comment 1 Krzysztof Daniel CLA 2012-09-20 09:05:59 EDT
The build-id flag should be included automatically. The problem must be somewhere else. Investigating.
Comment 2 Krzysztof Daniel CLA 2012-11-27 06:33:11 EST
It's a duplicate of 393834. Debug symbols should not be removed from the build.

*** This bug has been marked as a duplicate of bug 393834 ***