This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linker warnings on Mac OS X


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]