FS#24231 - [kernel26] - remove CONFIG_FRAME_POINTER=Y from config/config.x86_64

Attached to Project: Arch Linux
Opened by John (graysky) - Wednesday, 11 May 2011, 21:40 GMT
Last edited by Thomas Bächler (brain0) - Friday, 13 May 2011, 08:46 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Since gcc 4.6.0 adds -fomit-frame-pointer to the default set of -O2 flags for both i686 and x86_64, isn't enabling this option in the kernel's config redundant?

CONFIG_FRAME_POINTER:
If you say Y here the resulting kernel image will be slightly larger and slower, but it gives very useful debugging information in case of kernel bugs. (precise oopses/stacktraces/warnings)

This is more of a question. Thanks for the feedback.

cd /var/abs/core/kernel26
sed -i s/CONFIG_FRAME_POINTER=y/"# CONFIG_FRAME_POINTER is not set"/ config*
This task depends upon

Closed by  Thomas Bächler (brain0)
Friday, 13 May 2011, 08:46 GMT
Reason for closing:  Not a bug
Additional comments about closing:  It's not a bug, and this is a bugtracker.

The kernel devs know how to use a compiler, so we can assume they know the right options to provide.

Loading...