Re: can't resolve symbol '_Unwind_Backtrace'

David Daney <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
ffileppo wrote:
>>>> Are you really using uClibc?
>>>>
>>>> Has libgcj ever been tested with other than glibc?
>>>>
>>>> I know uClibc does not work with libgcj on MIPS.
>>> OMG, does this system not use glibc?  I didn't know that.
>>> I would be very surprised to see this work.
>>>
>> I did get libgcj-3.4 working with uClibc several years ago.  It is not a 
>> major patch, but It did require hacking up both uClibc and GCC to get 
>> the exception handling working.  I gave up on it as the aggravation of 
>> using UClibc was not worth the small space savings.
>>
>> David Daney
>>
> 
> Since I'd like to keep my filesystem based on uClibc, I could  compile gcj using glibc and then use -static-libgcj when compiling binaries.
> In this way I wouldn't need any external libraries, am I right?
> 

No.  -static-libgcj only links libgcj statically.  The C and pthreads 
libraries would still be linked dynamically, so you would need to make 
your libgcj work with them.

David Daney
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.