Use CFLAGS=-grecord-gcc-switches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Hi!
Tools, like systemtap, need to circumvent some bugs in GCC, notably in the way it reports debugging data for highly-optimized programs. Systemtap includes workarounds but they are only reliable when the kernel is using some options. Therefore, systemtap needs to know with which option GCC was invoked.
For example, LTS kernels for Precise are using GCC 4.6.3 Precise which has a bug related to -mfentry and produce incorrect offsets for debugging symbols (off by 5). Systemtap includes a workaround for this but it can only be reliably detected if it knows that -mfentry flag was requested.
This can be done by using CFLAGS=
Thanks.
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
importance: | Medium → Wishlist |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1233014
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.