RFR: 8328614: hsdis: dlsym can't find decode symbol [v2]
    Andrew Haley 
    aph at openjdk.org
       
    Sat Mar 23 09:45:26 UTC 2024
    
    
  
On Fri, 22 Mar 2024 13:38:54 GMT, Robbin Ehn <rehn at openjdk.org> wrote:
> > > is this how you want us to export these symbols?
> > 
> > 
> > Close but no cigar. :-)
> > Use `JNIEXPORT` instead, that is properly defined for this purpose and works on all compilers. You will need to also add:
> > ```
> > #include "jni.h"
> > ```
> >   
> > If this is not picked up correctly, let me know and I'll help you get the include paths correctly in the build.
> 
> It's stand alone library, should we really make it dependent on the JDK?
No. And neither should we compile or link it with "-fvisibility=hidden". That is the root of
this problem.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18400#issuecomment-2016427942
    
    
More information about the build-dev
mailing list