accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1845) Can't test nativeMap code
Date Sat, 02 Nov 2013 06:19:22 GMT

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

Christopher Tubbs commented on ACCUMULO-1845:
---------------------------------------------

Did this test code ever work on a Mac? It has sat there for quite some time now, but we never
ran it in the build until recently.

My guess is that there's an additional item we need to link against that's Mac-specific for
tests, but I'm not sure what that would be.

> Can't test nativeMap code
> -------------------------
>
>                 Key: ACCUMULO-1845
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1845
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>            Reporter: Josh Elser
>             Fix For: 1.6.0
>
>         Attachments: ACCUMULO-1845.diff
>
>
> `make test` is still broken on OSX
> {noformat}
> % make clean test 
> rm -f libNativeMap-Mac_OS_X-x86_64-64.dylib runTests
> g++ -m64 -dynamiclib -undefined dynamic_lookup -O3 -I/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/include/darwin -I/usr/include/c++/4.2.1
-Ijavah  -o libNativeMap-Mac_OS_X-x86_64-64.dylib nativeMap/org_apache_accumulo_tserver_NativeMap.cc
> JAVA_HOME is /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home
> g++ -g -Wall -undefined dynamic_lookup -I/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/include/linux -I/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/include/darwin
-I/usr/include/c++/4.2.1 -InativeMap -o runTests testNativeMap/test.cc testNativeMap/util.cc
libNativeMap-Mac_OS_X-x86_64-64.dylib
> LD_LIBRARY_PATH=./ ./runTests 20 20 20 20 20 20 20 20 true
> dyld: Symbol not found: __ZNSt8ios_base4InitD1Ev
>   Referenced from: libNativeMap-Mac_OS_X-x86_64-64.dylib
>   Expected in: flat namespace
>  in libNativeMap-Mac_OS_X-x86_64-64.dylib
> make: *** [runTests] Trace/BPT trap: 5
> make: *** Deleting file `runTests'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message