json-cpp is using RTTI so it fails to compile when '-fno-rtti' enabled by default

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

Brett Lawson June 20, 2016 at 9:20 AM

Fair enough. Keep in mind you can always install an updated compiler toolchain as well.

Sergey Auseyau June 20, 2016 at 9:18 AM

It still true for CentOS 6.8, I've checked it with docker run --rm -ti centos:6

Brett Lawson June 20, 2016 at 9:06 AM

Hey Sergey,
I believe the restriction is specific to < CentOS 6.5. Note that the restriction is not even ours, but in fact v8's.
Cheers, Brett

Sergey Auseyau June 20, 2016 at 9:03 AM

, so does it mean that node6 does not support centos6 by default?

Brett Lawson June 20, 2016 at 8:41 AM

Unfortunately this is actually an issue with the compiler being used (gcc 4.4) which does not support C+11, which is a requirement of building the v8 bundled with newer versions of Node.js. If we correct this error by enabling RTTI, other related issues crop up which are not so easily fixable. Update to a compatible compiler version (gcc 4.7) to build the SDK.

Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 20, 2016 at 8:34 AM
Updated June 20, 2016 at 9:20 AM
Resolved June 20, 2016 at 8:41 AM
Instabug