Bug 1435631

Summary: GCC7 issues - MariaDB 10.1.22
Product: [Fedora] Fedora Reporter: Michal Schorm <mschorm>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 26CC: davejohansen, fweimer, jakub, jwakely, law, mpolacek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-14 01:46:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Schorm 2017-03-24 12:23:31 UTC
Hello,
I am experiencing issues with GCC7 while building MariaDB 10.1.22.

A number of tests start to fail in simmilar manner as a month back, when most (! few hundreds) test were failing after build on ARM.
This issue was solved by update of package 'gcc-c++' from 7.0.1-0.9.fc26 to 7.0.1-0.10.fc26.
https://jira.mariadb.org/browse/MDEV-12132


The issue I'm solving now is well described here, with all logs and files:
https://jira.mariadb.org/browse/MDEV-12358

Comment 1 Jonathan Wakely 2017-03-24 13:45:23 UTC
Where is UNIV_DEBUG defined? If it isn't then that would explain why you get:

/builddir/build/BUILD/mariadb-10.1.22/storage/xtradb/fts/fts0que.cc:2841:69: error: 'fts_ast_node_type_get' was not declared in this scope

Please either examine or provide preprocessed source for the failing file.

Comment 2 Michal Schorm 2017-06-14 01:46:44 UTC
Solved by upstream.