Summary: | if using gcov, should rebuild everything on gcc upgrade | ||
---|---|---|---|
Product: | dbus | Reporter: | Simon McVittie <smcv> |
Component: | GLib | Assignee: | Simon McVittie <smcv> |
Status: | RESOLVED FIXED | QA Contact: | John (J5) Palmieri <johnp> |
Severity: | enhancement | ||
Priority: | medium | CC: | rob.taylor |
Version: | unspecified | Keywords: | patch |
Hardware: | All | ||
OS: | All | ||
URL: | http://cgit.freedesktop.org/~smcv/dbus-glib/log/?h=config-h-37060 | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
[PATCH 1/3] Consistently include config.h in all non-generated .c files
[PATCH 2/3] Include config.h in generated C files, and regenerate dbus-gmarshal.c [PATCH 3/3] Force a full rebuild for new gcc versions if gcov is enabled |
Description
Simon McVittie
2011-05-10 03:31:18 UTC
Created attachment 46529 [details] [review] [PATCH 1/3] Consistently include config.h in all non-generated .c files Created attachment 46530 [details] [review] [PATCH 2/3] Include config.h in generated C files, and regenerate dbus-gmarshal.c Created attachment 46531 [details] [review] [PATCH 3/3] Force a full rebuild for new gcc versions if gcov is enabled This avoids a lot of "Version mismatch - expected 406p got 405*". Because we're changing the content of each file after preprocessing, it even defeats ccache, which is desirable here - otherwise we'd get old versions of the profiling code being resurrected from the cache. Review of attachment 46529 [details] [review]: ++ Review of attachment 46530 [details] [review]: ++ Review of attachment 46531 [details] [review]: ++ Review of attachment 46531 [details] [review]: ++ Thanks; fixed in git for 0.94 based on Guillaume's review + no objections from the reviewer group |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.