Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388959 - app-misc/srm-1.2.11-r1 Please drop "-g" from cflags
Summary: app-misc/srm-1.2.11-r1 Please drop "-g" from cflags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Ian Delaney (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-30 12:31 UTC by Agostino Sarubbo
Modified: 2011-11-07 12:28 UTC (History)
1 user (show)

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


Attachments
diff patch (srm.patch,2.90 KB, text/plain)
2011-10-31 15:02 UTC, Ian Delaney (RETIRED)
Details
srm-1.2.11-debug.patch (srm-1.2.11-debug.patch,1.47 KB, patch)
2011-10-31 15:49 UTC, Ian Delaney (RETIRED)
Details | Diff
adjusted patch (srm.patch,3.85 KB, patch)
2011-11-06 16:32 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2011-10-30 12:31:45 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib   -Wall -march=native -O2 -g0 -g -march=native -O2 -g0 -g -c random.c


amd64box ~ # emerge --info | grep CFLAGS
CFLAGS="-march=native -O2 -g0"
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-10-31 15:02:06 UTC
Created attachment 291359 [details]
diff patch

drops -g, fixes
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-10-31 15:49:18 UTC
Created attachment 291363 [details, diff]
srm-1.2.11-debug.patch

the patch
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2011-10-31 16:04:56 UTC
too late at night;  in the ebuild

-        epatch "${FILESDIR}/cflags.patch"
+        epatch "${FILESDIR}/cflags.patch" \
+                "${FILESDIR}/${PN}-1.2.11-debug.patch"
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2011-11-06 16:32:18 UTC
Created attachment 291831 [details, diff]
adjusted patch

Adjusted and cflags patch to include dropping -g
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-11-06 17:30:21 UTC
fix committed
Comment 6 Agostino Sarubbo gentoo-dev 2011-11-06 18:50:57 UTC
not fixed, this patch does not work for me.
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2011-11-07 05:52:09 UTC
Ago, 

fix in 1.2.11-r2, re-test & close