[MDEV-12132] FTBFS on ARM with GCC 7 Created: 2017-02-27  Updated: 2017-03-02  Resolved: 2017-02-28

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 10.1.21
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Michal Schorm Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

Fedora Rawhide



 Description   

There was an update in Fedora Rawhide ( its developement branch ) to GCC 7.

After this update, I am no longer able to properly build MariaDB for ARM architecture.

To be more accurate:

  • the architecture is armv7hl, others are fine.
  • it will compile and build, but it will fail 100% tests, that need connectoin to the server.
  • the error message in all tests:
    "failed: 2013: Lost connection to MySQL server during query"

Note:

  • the same can be achieved in Fedora 25 with GCC7 (downloaded from Rawhide repos)


 Comments   
Comment by Daniel Black [ 2017-02-27 ]

Can you please include your build options (cmake command line) and attach build log (make --ouput-sync=target please to make it readable)? Perhaps some of the warnings need to be fixed. I'm assuming gcc-6 worked ok?

Comment by Michal Schorm [ 2017-02-28 ]

I spent last two weeks trying to get on what's going on. I did that on a 32-bit ARM hardware, which was itself slow and every rebuild took ages ...

However yesterday, just as I was collecting all the data you were asking for ... it magicly strated to work.
Overnight, I managed to completely test it and deliver MariaDB build to the stable.

Sooo ... Closed, I guess?

INFO:

  • Yes, before that we used GCC 6.2
  • Unfortunatelly I didn't catch the package set difference, which resolved the problem.
  • In case you never tested it, now you know, MariaDB builds with GCC7
Comment by Daniel Black [ 2017-02-28 ]

Thanks for getting back to us. Glad its working. Magic working isn't always good for us but at least its good for you. If something comes up again your story is here to give it credibility.

Happy MariaDBing in the mean time.

Comment by Michal Schorm [ 2017-03-02 ]

INFO: (in case somebody would use it in the future)

The same issue appeared during the same period for MySQL.
The issue were most likely solved by update of package 'gcc-c++' from 7.0.1-0.9.fc26 to 7.0.1-0.10.fc26.

Generated at Thu Feb 08 07:55:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.