[MDEV-8556] parallel make fails to build sometimes Created: 2015-07-28  Updated: 2015-11-12  Resolved: 2015-10-23

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

Type: Bug Priority: Major
Reporter: Vladimír Čunát Assignee: Sergei Golubchik
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

Nix(OS.org)


Sprint: 10.0.22

 Description   

When using many cores in make, sometimes it fails to find lex_token.h from sql/sql_digest.cc, likely due to underspecified make dependencies. Example build log: http://hydra.nixos.org/build/24121870/nixlog/1



 Comments   
Comment by Sergei Golubchik [ 2015-10-22 ]

I remember seeing this earlier, and that I was trying to fix it. Perhaps I did, because I haven't see it for a few months.
Do you still see it?

Comment by Vladimír Čunát [ 2015-10-22 ]

We disabled parallel make for mariadb because of this, so we wouldn't know. I don't have direct access to more than 8-thread machine, so I can't test this reliably myself. (We experienced it on our build farm.)

Comment by Vladimír Čunát [ 2015-10-23 ]

So far it looks like it might've been fixed by 10.1.8, but IIRC it was rarely seen before so it's not at all a reliable confirmation yet.

Comment by Sergei Golubchik [ 2015-10-23 ]

Okay, then I tentatively close it, because I was not able to repeat it now (or for a few months, at least). Please do reopen or add a comment if it'll show up again.

Comment by Brian Evans [ 2015-11-12 ]

One of our users hit it. They claim it is sporadic with make -j8 and the embedded engine enabled. They also attached a small patch but unsure if it would fix the issue.

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