<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>681</bug_id>
          
          <creation_ts>2013-02-06 17:13:50 +0100</creation_ts>
          <short_desc>Add Parsing of ELF Header of Binary Files to Determine ABI / Required Libraries</short_desc>
          <delta_ts>2013-02-09 06:19:24 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Gluegen</product>
          <component>core</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>2432dbef17c1dc4164f055cf434073bdabf8a6a9
371e1dbff6f5f255ab27ed0ab32368abb06eed82
30841742e735e70b3946d16711089960084e894c</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2153</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-02-06 17:13:50 +0100</bug_when>
    <thetext>Add Parsing of ELF Header of Binary Files to Determine ABI / Required Libraries

Since &apos;os.and.arch&apos; system property is not satisfying, we shall determine the ABI
properly by parsing the ELF header.

I already took a brief look into the specification and it seems like
a simply GlueGen StructAccessor &apos;binding&apos; could solve this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2163</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-02-08 05:13:26 +0100</bug_when>
    <thetext>part 1:
http://jogamp.org/git/?p=gluegen.git;a=commit;h=2432dbef17c1dc4164f055cf434073bdabf8a6a9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2164</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-02-08 19:29:53 +0100</bug_when>
    <thetext>http://jogamp.org/git/?p=gluegen.git;a=commit;h=371e1dbff6f5f255ab27ed0ab32368abb06eed82</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2165</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-02-09 06:19:24 +0100</bug_when>
    <thetext>http://jogamp.org/git/?p=gluegen.git;a=commit;h=30841742e735e70b3946d16711089960084e894c


Add Elf Parsing for other OS than Linux, if ARM and !ANDROID using /proc/self/exe (Linux) 
or a found java/jvm native lib.

- PlatformPropsImpl.queryABITypeImpl: Check Elf Header for ARM + !ANDROID 
  (i.e. add other OS than Linux, use native java/jmv lib)

- NativeLibrary.enumerateLibraryPaths: Add &apos;sun.boot.library.path&apos; to enumeration!

- TestElfReader01: Add test for finding java/jvm native lib and parse it</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>