You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/02/19 17:30:22 UTC

[jira] [Commented] (THRIFT-2367) Build failure: stdlib and boost both define uint64_t

    [ https://issues.apache.org/jira/browse/THRIFT-2367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13905644#comment-13905644 ] 

Hudson commented on THRIFT-2367:
--------------------------------

SUCCESS: Integrated in Thrift #1048 (See [https://builds.apache.org/job/Thrift/1048/])
THRIFT-2367 Build failure: stdlib and boost both define uint64_t (roger: rev 9f4f5157a3f3a6e67be039528c4e0dbe6e716a41)
* tutorial/cpp/CppClient.cpp
* lib/cpp/src/thrift/transport/TSSLServerSocket.cpp
* lib/cpp/src/thrift/transport/TSSLSocket.cpp
* tutorial/cpp/CppServer.cpp


> Build failure: stdlib and boost both define uint64_t
> ----------------------------------------------------
>
>                 Key: THRIFT-2367
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2367
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process, C glib - Library
>    Affects Versions: 0.9.1
>         Environment: Thrift is available in Buildroot which is a cross-compilation tool.
> Thrift is compiled in autobuilder system with different toolchain configuration.
> Buildroot's autobuilder reported some issues like this one :
> http://autobuild.buildroot.net/results/ff7/ff7ab52c3965f9545c197f7552d3bc629b900886/build-end.log
> The toolchain used is an CT-NG toolchain with uclibc targeting an X86_64 atom.
> Tools version:
> Buildroot: 2014.02-rc1 (git)
> Boost: 1.55.0
> openssl: 1.0.1f
> libevent:2.0.21
> To reproduce the build failure, 
> you may find the buildroot's configuration here:
> http://autobuild.buildroot.net/results/ff7/ff7ab52c3965f9545c197f7552d3bc629b900886/config
>            Reporter: Naour Romain
>            Assignee: Roger Meier
>            Priority: Blocker
>              Labels: patch
>         Attachments: thrift-03-use-uint64_t-from-boost.patch
>
>
> When Thrift is built for an 64 bits system,
> the uint64_t type may be already defined in stdint.h.
> "error: reference to 'uint64_t' is ambiguous"
> To avoid this error, you need to use explicitly the uint64_t typedef from Boost.
> So, I propose a quick patch that corrects this error.
> I reported this issue as Blocker since the build fails but there is no emergency :)
> Best regards,
> Romain Naour



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)