-findirect-dispatch: broken on Linux, working on Mingw?

Marco Trudel mtrudel@gmx.ch
Fri Mar 16 12:59:00 GMT 2007


Marco Trudel wrote:
> Andrew Haley wrote:
>> Marco Trudel writes:
>>  > Andrew Haley wrote:
>>  > > Marco Trudel writes:
>>  > >  > Andrew Haley wrote:
>>  > >
>>  > >  [snip]
>>  > >  > >  > > Without use_libgcj_bc set to "yes" you should get the 
>> simple *lib line
>>  > >  > > above.  There should be no references to -lgcj_bc.
>>  > >  >  > >  > What about the the host=Linux target=Linux compiler? 
>> -findirect-dispatch  > >  > doesn't work either.
>>  > >  > > Eh?  Works for me and everyone else using it.
>>  >  > It seems we talked about different setups all along. So let me 
>> start  > from scratch again, simplify it and combine it with the 
>> progress you  > already archived:
>>  >  > I use a static gcj rev 122749, host=Linux, target=Linux.
>>
>> Configured with --disable-shared?  On Linux?
> 
> Yes.
> 
>> Surely not; that makes no sense at all.
> 
> For the sake of consistency, it does. At least in my case ;-)
> I have (among others) a host=Mingw,target=Linux and 
> host=Linux,target=Linux compiler. Since shared can't be compiled for 
> host=Mingw, I use static for both compiler. So at least I have the same 
> problems with both. Even if the host=Linux could be done better.
> 
> The same in this case. I would only have the problem with the 
> host=Mingw,target=Linux compiler. And I doubt anyone would be interested 
> to help out here. With the host=Linux,target=Linux, the changes are 
> higher...

Since there was no more activity in this discussion, I added a bugreport:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31223
I also mentioned that this can lead to a build error.


Marco



More information about the Java mailing list