linker warnings on Mac OS X

David Daney ddaney@avtrex.com
Thu Jul 8 19:04:00 GMT 2004


Bryce McKinlay wrote:
> John Gabriele wrote:
> 
> 
>>The last lines of output in my terminal window give a bunch of
>>linker warnings:
>>
>>[snip]
>>/usr/local/gcj/lib/gcc/powerpc-apple-darwin7.3.0/3.4.0/../../../ 
>>libgcj.dylib(libgcj.5.0.0.dylib-master.o) definition of _copysign
>>/usr/lib/libSystem.dylib(copysign.o) definition of _copysign
>>
>>Are these serious? The executable built and seems to work fine.
> 
> 
> 
> Not serious. These are math library functions that are provided both by 
> Darwin's math library, which are also provided by a math library 
> included in libjava. Its arguably a bug that libjava's implementation is 

Should libgcj export them as weak symbols?

David Daney



More information about the Java mailing list