You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2009/04/27 20:30:30 UTC
[jira] Created: (ZOOKEEPER-382) zookeeper cpp tests fails on 64 bit
machines with gcc 4.1.2
zookeeper cpp tests fails on 64 bit machines with gcc 4.1.2
-----------------------------------------------------------
Key: ZOOKEEPER-382
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-382
Project: Zookeeper
Issue Type: Bug
Reporter: Mahadev konar
Assignee: Mahadev konar
Fix For: 3.2.0
the zookeeper c tests fail on 64 bit machines with gcc 4.1.2 with the following error
[exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::statCompletion(int, const Stat*, const void*)':
[exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:273: error: cast from 'const void*' to 'int' loses precision
[exec]/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::voidCompletion(int, const void*)':
[exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:291: error: cast from 'const void*' to 'int' loses precision
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-382) zookeeper cpp tests fails on 64 bit
machines with gcc 4.1.2
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mahadev konar updated ZOOKEEPER-382:
------------------------------------
Status: Patch Available (was: Open)
> zookeeper cpp tests fails on 64 bit machines with gcc 4.1.2
> -----------------------------------------------------------
>
> Key: ZOOKEEPER-382
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-382
> Project: Zookeeper
> Issue Type: Bug
> Reporter: Mahadev konar
> Assignee: Mahadev konar
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-382.patch
>
>
> the zookeeper c tests fail on 64 bit machines with gcc 4.1.2 with the following error
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::statCompletion(int, const Stat*, const void*)':
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:273: error: cast from 'const void*' to 'int' loses precision
> [exec]/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::voidCompletion(int, const void*)':
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:291: error: cast from 'const void*' to 'int' loses precision
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-382) zookeeper cpp tests fails on 64
bit machines with gcc 4.1.2
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704231#action_12704231 ]
Mahadev konar commented on ZOOKEEPER-382:
-----------------------------------------
the test failure is due to soem c test failure and has nothing to do with this patch. I am looking into the test failure.
> zookeeper cpp tests fails on 64 bit machines with gcc 4.1.2
> -----------------------------------------------------------
>
> Key: ZOOKEEPER-382
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-382
> Project: Zookeeper
> Issue Type: Bug
> Reporter: Mahadev konar
> Assignee: Mahadev konar
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-382.patch
>
>
> the zookeeper c tests fail on 64 bit machines with gcc 4.1.2 with the following error
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::statCompletion(int, const Stat*, const void*)':
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:273: error: cast from 'const void*' to 'int' loses precision
> [exec]/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::voidCompletion(int, const void*)':
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:291: error: cast from 'const void*' to 'int' loses precision
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-382) zookeeper cpp tests fails on 64 bit
machines with gcc 4.1.2
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-382:
-----------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
Committed revision 769882.
> zookeeper cpp tests fails on 64 bit machines with gcc 4.1.2
> -----------------------------------------------------------
>
> Key: ZOOKEEPER-382
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-382
> Project: Zookeeper
> Issue Type: Bug
> Reporter: Mahadev konar
> Assignee: Mahadev konar
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-382.patch
>
>
> the zookeeper c tests fail on 64 bit machines with gcc 4.1.2 with the following error
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::statCompletion(int, const Stat*, const void*)':
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:273: error: cast from 'const void*' to 'int' loses precision
> [exec]/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::voidCompletion(int, const void*)':
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:291: error: cast from 'const void*' to 'int' loses precision
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-382) zookeeper cpp tests fails on 64 bit
machines with gcc 4.1.2
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mahadev konar updated ZOOKEEPER-382:
------------------------------------
Attachment: ZOOKEEPER-382.patch
this patch should fix the issue. (just casts it explicitly).
> zookeeper cpp tests fails on 64 bit machines with gcc 4.1.2
> -----------------------------------------------------------
>
> Key: ZOOKEEPER-382
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-382
> Project: Zookeeper
> Issue Type: Bug
> Reporter: Mahadev konar
> Assignee: Mahadev konar
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-382.patch
>
>
> the zookeeper c tests fail on 64 bit machines with gcc 4.1.2 with the following error
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::statCompletion(int, const Stat*, const void*)':
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:273: error: cast from 'const void*' to 'int' loses precision
> [exec]/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::voidCompletion(int, const void*)':
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:291: error: cast from 'const void*' to 'int' loses precision
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-382) zookeeper cpp tests fails on 64
bit machines with gcc 4.1.2
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704000#action_12704000 ]
Hadoop QA commented on ZOOKEEPER-382:
-------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12406715/ZOOKEEPER-382.patch
against trunk revision 769079.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/55/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/55/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/55/console
This message is automatically generated.
> zookeeper cpp tests fails on 64 bit machines with gcc 4.1.2
> -----------------------------------------------------------
>
> Key: ZOOKEEPER-382
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-382
> Project: Zookeeper
> Issue Type: Bug
> Reporter: Mahadev konar
> Assignee: Mahadev konar
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-382.patch
>
>
> the zookeeper c tests fail on 64 bit machines with gcc 4.1.2 with the following error
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::statCompletion(int, const Stat*, const void*)':
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:273: error: cast from 'const void*' to 'int' loses precision
> [exec]/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::voidCompletion(int, const void*)':
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:291: error: cast from 'const void*' to 'int' loses precision
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-382) zookeeper cpp tests fails on 64
bit machines with gcc 4.1.2
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704646#action_12704646 ]
Hudson commented on ZOOKEEPER-382:
----------------------------------
Integrated in ZooKeeper-trunk #295 (See [http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/295/])
. zookeeper cpp tests fails on 64 bit machines with gcc 4.1.2
> zookeeper cpp tests fails on 64 bit machines with gcc 4.1.2
> -----------------------------------------------------------
>
> Key: ZOOKEEPER-382
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-382
> Project: Zookeeper
> Issue Type: Bug
> Reporter: Mahadev konar
> Assignee: Mahadev konar
> Fix For: 3.2.0
>
> Attachments: ZOOKEEPER-382.patch
>
>
> the zookeeper c tests fail on 64 bit machines with gcc 4.1.2 with the following error
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::statCompletion(int, const Stat*, const void*)':
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:273: error: cast from 'const void*' to 'int' loses precision
> [exec]/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static member function 'static void Zookeeper_simpleSystem::voidCompletion(int, const void*)':
> [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:291: error: cast from 'const void*' to 'int' loses precision
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.