[
https://issues.apache.org/jira/browse/TRAFODION-1868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15516562#comment-15516562
]
ASF GitHub Bot commented on TRAFODION-1868:
-------------------------------------------
Github user selvaganesang commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/666#discussion_r80251796
--- Diff: core/sql/runtimestats/SqlStats.cpp ---
@@ -1660,11 +1660,12 @@ StatsGlobals * shareStatsSegment(Int32 &shmid,
NABoolean checkForSSMP)
{
return NULL;
}
- if ((statsGlobalsAddr = shmat(shmid, getRmsSharedMemoryAddr(), 0))
+ if ((statsGlobalsAddr = shmat(shmid, getRmsSharedMemoryAddr(), SHM_REMAP
| SHM_RND))
--- End diff --
Similar comments as in bin/ex_sscp_main.cpp
> Compatibility with gcc 4.8
> --------------------------
>
> Key: TRAFODION-1868
> URL: https://issues.apache.org/jira/browse/TRAFODION-1868
> Project: Apache Trafodion
> Issue Type: Bug
> Reporter: Steve Varnau
> Assignee: Arvind Narain
> Priority: Minor
>
> Current code will not compile with gcc 4.8. That is the default version on
> RH/CentOS 7. This is needed to move to a development environment on CentOS 7.
> There is a 4.4 version of gcc available on 7. The RPM package is
> compat-gcc-44, I have not tried building on 7.x with older compiler, but will
> likely work.
> This is not urgent at this time, but we should move toward enabling a newer
> dev environment. But this needs to be coordinated with with versions of OS
> are supported for runtime use of trafodion.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)