Add cmake variables to mysqlbug

Bug #1108006 reported by Raghavendra D Prabhu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server moved to https://jira.percona.com/projects/PS
Invalid
Wishlist
Unassigned

Bug Description

1)
Currently, mysqlbug provides "Compilation info" (call and used)

""
Compilation info (call): CC='/usr/bin/cc' CFLAGS='-fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer -Wall -O2 -g -DNDEBUG -DDBUG_OFF' CXX='/usr/bin/c++' CXXFLAGS='-fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti -fpermissive -Wall -Wno-unused-parameter -fno-implicit-templates -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -DDBUG_OFF' LDFLAGS='' ASFLAGS=''
Compilation info (used): CC='/usr/bin/cc' CFLAGS='-fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer -Wall -O2 -g -DNDEBUG -DDBUG_OFF' CXX='/usr/bin/c++' CXXFLAGS='-fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti -fpermissive -Wall -Wno-unused-parameter -fno-implicit-templates -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -DDBUG_OFF' LDFLAGS='' ASFLAGS=''
""

Since, options passed to cmake during the build are quite useful
during bug analysis/fixing, it would be useful to have it as
well, if possible.

2)
<email address hidden>"

Secondly, I presume this email id can be made to point to our
bugzilla or mailing list.

Changed in percona-server:
status: New → Confirmed
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Instead of adding to mysqlbug, adding to mysql_config will also do.

The cmake variables can taken from the output of 'cmake -LAH'

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Raghu -

I assume upstream does not report cmake options in mysqlbug/mysql_config neither? Can you report it there and link?

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

The email address issue has been split off to bug 1180189. Keeping the current report for cmake options.

summary: - Add cmake variables to mysqlbug / fix email
+ Add cmake variables to mysqlbug
no longer affects: percona-server/5.5
Changed in percona-server:
status: Confirmed → Triaged
importance: Undecided → Wishlist
Revision history for this message
Alexey Kopytov (akopytov) wrote :

This can be considered a duplicate of upstream http://bugs.mysql.com/bug.php?id=42969. But then again, it was fixed by introducing INFO_BIN, which is supposed to replace mysqlbug when used to get the compilation info. In particular, it also contains the CMake options used for the build.

Changed in percona-server:
status: Triaged → Invalid
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2399

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.