Bug #23062 | GCOV build: helper scripts missing in the BUILD directory | ||
---|---|---|---|
Submitted: | 6 Oct 2006 20:19 | Modified: | 7 Sep 2007 9:50 |
Reporter: | Marc ALFF | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S4 (Feature request) |
Version: | 5.0 | OS: | Linux (Gentoo Linux AMD64) |
Assigned to: | Marc ALFF | CPU Architecture: | Any |
[6 Oct 2006 20:19]
Marc ALFF
[7 Oct 2006 12:17]
Valeriy Kravchuk
Thank you for a problem report. Have you tried to use that vi BUILD/compile-pentium-gcov on Linux running on AMD64? Why do you think it does not work properly. I checked other BUILD scripts, like compile-pentium-debug (that works on AMD, AFAIR), and see no difference in compile-pentium-gcov that can make it useless. Do you need any special flags that are not set up properly?
[13 Oct 2006 15:01]
Marc ALFF
Adapting a script based on: - ./BUILD/compile-pentium-gcov - ./BUILD/compile-amd64-debug-max works, but the issue is to avoid doing that for every clone / every user I am assuming that current compile-amd64-* scripts exist for a reason, which is why amd64-gcov (and -gprof by the way) should be present too. Obviously, doing some research and adapting a script can be done, so there is a work around. The main concern is to facilitate tooling to *encourage* everyone to do code coverage analysis during testing.
[16 Oct 2006 8:13]
Valeriy Kravchuk
I think it is just a reasonable feature (new scripts) request then.
[16 Aug 2007 0:10]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/32598 ChangeSet@1.2513, 2007-08-15 18:10:16-06:00, malff@weblab.(none) +7 -0 Bug#23062 (GCOV build: helper scripts missing in the BUILD directory) This patch provides compile helper scripts only, no server logic is affected. Before this patch, GCOV and GPROF build scripts were only provided for pentium platforms. With this patch, pentium, pentium64 and amd64 platforms have associated helper build scripts. The GCOV and GPROF specific compilation flags are set once in SETUP.sh, to avoid code duplication.
[7 Sep 2007 8:09]
Bugs System
Pushed into 5.1.23-beta
[7 Sep 2007 8:10]
Bugs System
Pushed into 5.0.50