You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/23 14:06:27 UTC
[jira] [Commented] (HAWQ-78) HAWQ parallel build(using 'make -j8')
failed
[ https://issues.apache.org/jira/browse/HAWQ-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14970884#comment-14970884 ]
ASF GitHub Bot commented on HAWQ-78:
------------------------------------
GitHub user liming01 opened a pull request:
https://github.com/apache/incubator-hawq/pull/37
HAWQ-78. Fixed parallel build error(using "make -j8")
The error is caused by the dependency not set correctly in Makefile.
Note: This fix only correct 2 occurrences. If we encounter the same problem in the future, we need to fix them using same solution. Because there are a lot of Makefile, I don't look through all of them.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liming01/incubator-hawq mli/parallel_build
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-hawq/pull/37.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #37
----
commit f51b61a68958b609dbd8a4fed765c1860ed87584
Author: Ming LI <ml...@pivotal.io>
Date: 2015-10-23T12:02:12Z
HAWQ-78. Fixed parallel build error(using "make -j8")
----
> HAWQ parallel build(using 'make -j8') failed
> --------------------------------------------
>
> Key: HAWQ-78
> URL: https://issues.apache.org/jira/browse/HAWQ-78
> Project: Apache HAWQ
> Issue Type: Bug
> Components: Build
> Reporter: Ming LI
> Assignee: Roman Shaposhnik
>
> HAWQ build failed with **.o truncated very frequently.
> My guess is because we compile code with '-j8' option which will build parallel. So some files begin to build before it's dependencies are ready.
> /opt/gcc_infrastructure/bin/ld -r -o SUBSYS.o COptTasks.o COptServer.o COptClient.o CCatalogUtils.o CConstExprEvaluatorProxy.o nodeutils.o funcs.o
> /opt/gcc-4.4.2/bin/gcc -O3 -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -I/data/pulse2-agent/agents/agent1/work/HAWQ-main-opt/rhel5_x86_64/src/ext/rhel5_x86_64/include -I/data/pulse2-agent/agents/agent1/work/HAWQ-main-opt/rhel5_x86_64/src/ext/rhel5_x86_64/include/libxml2 -I. -I../../../src/include -D_GNU_SOURCE -I/data/pulse2-agent/agents/agent1/work/HAWQ-main-opt/rhel5_x86_64/src/ext/rhel5_x86_64/include -c -o bootparse.o bootparse.c
> COptTasks.o: file not recognized: File truncated
> make[6]: *** [SUBSYS.o] Error 1
> make[6]: Leaving directory `/data/pulse2-agent/agents/agent1/work/HAWQ-main-opt/rhel5_x86_64/src/apache-hawq/src/backend/gpopt/utils'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)