Bug #89428 | 8.0.4rc build error on Centos 7 using gcc 7.2 and binutils 2.2x | ||
---|---|---|---|
Submitted: | 26 Jan 2018 5:11 | Modified: | 1 Feb 2018 22:44 |
Reporter: | Roel Van de Paar | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S1 (Critical) |
Version: | 8.0.4rc | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[26 Jan 2018 5:11]
Roel Van de Paar
[26 Jan 2018 6:11]
Roel Van de Paar
Happens with gcc 6 also bash-4.2$ gcc --version gcc (GCC) 6.3.1 20170216 (Red Hat 6.3.1-3) bash-4.2$ ld --version GNU ld version 2.27-12.el7.1 [ 35%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/gis/gis0rtree.cc.o [ 35%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/gis/gis0sea.cc.o In file included from /git/MS-8.0.4rc_dbg/storage/innobase/include/ut0ut.ic:36:0, from /git/MS-8.0.4rc_dbg/storage/innobase/include/ut0ut.h:583, ...
[26 Jan 2018 9:05]
Roel Van de Paar
Same with gcc 5.3.1 binutils 2.25 on Centos 7 bash-4.2$ gcc --version gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6) bash-4.2$ ld --version GNU ld version 2.25.1-10.el7
[31 Jan 2018 4:21]
MySQL Verification Team
Hello Roel, Thank you for the report and feedback. I tried to reproduced on freshly built centOS7 with gcc7.2/binutils-2.25* but not seeing the issue. Anything else required to trigger this issue? Joining the build log shortly. Thanks, Umesh
[31 Jan 2018 4:22]
MySQL Verification Team
8.0.4-rc build details on CentOS7
Attachment: 89428_8.0.4-rc.build (application/octet-stream, text), 312.43 KiB.
[31 Jan 2018 19:39]
Roel Van de Paar
Umesh can you please try with binutils 2.29 and/or 2.28
[1 Feb 2018 12:09]
MySQL Verification Team
Hi Roel, Again built fresh CentOS7 instance(imported appliance), installed GCC 7.2 and GNU Binutils 2.28 and tried to build once again 8.0.4-rc with the provided cmake but no issues observed again. Thanks, Umesh
[1 Feb 2018 20:31]
Roel Van de Paar
OK, thank you for the testing. Not sure what is going wrong here. Will update if I find more.
[1 Feb 2018 20:57]
MySQL Verification Team
Are you doing builds in the source tree? Best don't do that. For each build rm -rf the directory and do build completely clean, similar to : rm -rf bld mkdir bld cd bld cmake .. <other options>
[1 Feb 2018 22:44]
Roel Van de Paar
Hi Shane! Yes, completely clean builds.