Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332537 - x11-libs/qt-webkit ebuild generates wrong warning if -g0 is in C{,XX}FLAGS
Summary: x11-libs/qt-webkit ebuild generates wrong warning if -g0 is in C{,XX}FLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 21:13 UTC by Bartosz Brachaczek
Modified: 2010-08-13 16:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to qt-build.eclass (g-filtering.patch,502 bytes, patch)
2010-08-12 21:13 UTC, Bartosz Brachaczek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Brachaczek 2010-08-12 21:13:29 UTC
* You have enabled debug info (probably have -g or -ggdb in your $C{,XX}FLAGS).
 * You may experience really long compilation times and/or increased memory usage.
 * If compilation fails, please try removing -g{,gdb} before reporting a bug.
 * For more info check out bug #307861

My C{,XX}FLAGS: "-march=native -O2 -fomit-frame-pointer -g0 -pipe".

The problem is in qt-build.eclass. It shouldn't ewarn when it finds -g0 in C{,XX}FLAGS since this flag actually disables generating debugging information.
Comment 1 Bartosz Brachaczek 2010-08-12 21:13:59 UTC
Created attachment 242677 [details, diff]
patch to qt-build.eclass
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2010-08-13 15:58:03 UTC
The patch looks good, please apply.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-08-13 16:36:21 UTC
Patch applied

Thanks Bartosz