You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Olaf Flebbe (JIRA)" <ji...@apache.org> on 2017/11/14 20:27:00 UTC

[jira] [Commented] (BIGTOP-2101) ignite-hadoop contains an arch-dependent shared lib

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

Olaf Flebbe commented on BIGTOP-2101:
-------------------------------------

Hm I love to have the same recipies on all platforms. So why restricting it to non-x86 ?
I tried to recompile this on amd64-debian and get this error. I may look into this later this week.

{code}
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include -I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include/linux -I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include/darwin -I/System/Library/Frameworks/JavaVM.framework/Headers -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/var/lib/jenkins/bigtop/output/ignite-hadoop/ignite-hadoop-1.9.0=. -fstack-protector-strong -Wformat -Werror=format-security -MT libigniteshmem_la-org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils.lo -MD -MP -MF .deps/libigniteshmem_la-org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils.Tpo -c org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils.cpp  -fPIC -DPIC -o .libs/libigniteshmem_la-org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils.o
org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils.cpp: In function 'void Java_org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils_ipcClose(JNIEnv*, jclass, jlong)':
org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils.cpp:467:45: error: operand type 'volatile bool*' is incompatible with argument 1 of '__sync_fetch_and_add'
     __sync_fetch_and_add(&ipcData->closed, 1);
                                             ^
Makefile:368: recipe for target 'libigniteshmem_la-org_apache_ignite_internal_util_ipc_shmem_IpcSharedMemoryUtils.lo' failed
{code}

> ignite-hadoop contains an arch-dependent shared lib
> ---------------------------------------------------
>
>                 Key: BIGTOP-2101
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2101
>             Project: Bigtop
>          Issue Type: Bug
>          Components: ppc64le
>    Affects Versions: 1.1.0
>            Reporter: Olaf Flebbe
>            Assignee: Jun He
>             Fix For: backlog
>
>         Attachments: BIGTOP-2101.0.patch
>
>
> The library ignite-shmem.jar contains arch dependent stuff.
> Either move it to a arch dependent package or make ignite arch dependent (like hadoop itself)
> {code}
> olaf@nucky:~/bigtop$ jar tvf /usr/lib/ignite-hadoop/libs/ignite-shmem-1.0.0.jar 
>      0 Fri Mar 13 21:27:02 CET 2015 META-INF/
>    128 Fri Mar 13 21:27:02 CET 2015 META-INF/MANIFEST.MF
>      0 Fri Mar 13 21:26:58 CET 2015 META-INF/native/
>      0 Fri Mar 13 21:26:58 CET 2015 META-INF/native/linux64/
>      0 Fri Mar 13 21:26:58 CET 2015 META-INF/native/osx/
> 138345 Fri Mar 13 21:26:58 CET 2015 META-INF/native/linux64/libigniteshmem.so
>  33116 Fri Mar 13 21:26:58 CET 2015 META-INF/native/osx/libigniteshmem.dylib
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)