You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by leoncamel <gi...@git.apache.org> on 2015/12/09 03:37:31 UTC

[GitHub] incubator-hawq pull request: HAWQ-233. Fix HAWQ initialization fai...

GitHub user leoncamel opened a pull request:

    https://github.com/apache/incubator-hawq/pull/170

    HAWQ-233. Fix HAWQ initialization failed on Centos7

    Hi,
    We have investigated this issue, and we found the root cause is that gcc-4.8 introduced new feature "-faggressive-loop-optimizations". This optimization feature is enabled by default, and it will break variable length array under some condition.
    
    Similar issue can be found from PostgreSQL 9.2. See the following links for detail:
    1. http://www.postgresql.org/message-id/14242.1365200084@sss.pgh.pa.us
    2. https://gcc.gnu.org/gcc-4.8/changes.html
    3. http://pkgs.fedoraproject.org/cgit/postgresql.git/commit/?h=f19&id=2a75d7af27fdf03e875f76f4c272c8435f565d10
    
    So, we just borrow the idea to fix this issue and create a patch. Please review it.
    Thanks.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/leoncamel/incubator-hawq HAWQ-233

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-hawq/pull/170.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 #170
    
----
commit 3c777449ee8eb11227281394f10c4fb5faf37d77
Author: Xiaolin Zhang <zh...@zetyun.com>
Date:   2015-12-09T02:27:25Z

    HAWQ-233. Fix HAWQ initialization failed on Centos7

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-hawq pull request: HAWQ-233. Fix HAWQ initialization fai...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-hawq/pull/170


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-hawq pull request: HAWQ-233. Fix HAWQ initialization fai...

Posted by wangzw <gi...@git.apache.org>.
Github user wangzw commented on the pull request:

    https://github.com/apache/incubator-hawq/pull/170#issuecomment-163094286
  
    CI passed. Manually tested on centos7. +1 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---