All of lore.kernel.org
 help / color / mirror / Atom feed
* About openoffice linux/mips porting
@ 2007-09-25 12:43 Fuxin Zhang
  2007-09-25 13:10 ` Maciej W. Rozycki
  0 siblings, 1 reply; 7+ messages in thread
From: Fuxin Zhang @ 2007-09-25 12:43 UTC (permalink / raw)
  To: debian-mips; +Cc: linux-mips

Dear all,
Someone(Sunil Amitkumar Jank) is trying to make my old patches for
linux/mips OOo into openoffice.org tree, might be some of your gurus can
help to have a look at the most important part: the bridge code.
It is available at
http://qa.openoffice.org/issues/show_bug.cgi?id=81482, any comments are
welcome.
Have an official openoffice for linux/mips might be a good thing.

-- 
------------------------------------------------
张福新
江苏中科龙梦科技有限公司
地址:江苏省常熟市虞山镇梦兰工业园

General Manager
JiangSu Lemote Corp. Ltd.
MengLan, Yushan, Changshu, JiangSu Province, China
ZIP: 215500 
Tel: 86-512-52308679
Fax: 86-512-52308688
Email: zhangfx@lemote.com
http://www.lemote.com
------------------------------------------------
 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: About openoffice linux/mips porting
  2007-09-25 13:10 ` Maciej W. Rozycki
@ 2007-09-25 13:08   ` Fuxin Zhang
  2007-09-25 13:38     ` Thiemo Seufer
  2007-09-25 13:36   ` Ralf Baechle
  1 sibling, 1 reply; 7+ messages in thread
From: Fuxin Zhang @ 2007-09-25 13:08 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: Fuxin Zhang, debian-mips, linux-mips

Maciej W. Rozycki 写道:
> On Tue, 25 Sep 2007, Fuxin Zhang wrote:
>
>   
>> It is available at
>> http://qa.openoffice.org/issues/show_bug.cgi?id=81482, any comments are
>> welcome.
>> Have an official openoffice for linux/mips might be a good thing.
>>     
>
>  Hmm, why would anyone need to have asm snippets in a document processing 
> suite?  And it looks like the bits are ABI-dependent, so at least three 
> variations (if the changes are endianness-safe) would be required to 
> handle all the ABIs that we support.
>   
Openoffice wants to be able to interact with plugins written in many 
languages, instead of writting a module for each possible combination it 
chooses the so called bridge: every language interact with a common 
middle language.
>  It smells like OpenOffice is doing something outrageously wrong here...
>
>   Maciej
>
>
>
>
>   

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: About openoffice linux/mips porting
  2007-09-25 12:43 About openoffice linux/mips porting Fuxin Zhang
@ 2007-09-25 13:10 ` Maciej W. Rozycki
  2007-09-25 13:08   ` Fuxin Zhang
  2007-09-25 13:36   ` Ralf Baechle
  0 siblings, 2 replies; 7+ messages in thread
From: Maciej W. Rozycki @ 2007-09-25 13:10 UTC (permalink / raw)
  To: Fuxin Zhang; +Cc: debian-mips, linux-mips

On Tue, 25 Sep 2007, Fuxin Zhang wrote:

> It is available at
> http://qa.openoffice.org/issues/show_bug.cgi?id=81482, any comments are
> welcome.
> Have an official openoffice for linux/mips might be a good thing.

 Hmm, why would anyone need to have asm snippets in a document processing 
suite?  And it looks like the bits are ABI-dependent, so at least three 
variations (if the changes are endianness-safe) would be required to 
handle all the ABIs that we support.

 It smells like OpenOffice is doing something outrageously wrong here...

  Maciej

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: About openoffice linux/mips porting
  2007-09-25 13:10 ` Maciej W. Rozycki
  2007-09-25 13:08   ` Fuxin Zhang
@ 2007-09-25 13:36   ` Ralf Baechle
  1 sibling, 0 replies; 7+ messages in thread
From: Ralf Baechle @ 2007-09-25 13:36 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: Fuxin Zhang, debian-mips, linux-mips

On Tue, Sep 25, 2007 at 02:10:31PM +0100, Maciej W. Rozycki wrote:

>  Hmm, why would anyone need to have asm snippets in a document processing 
> suite?  And it looks like the bits are ABI-dependent, so at least three 
> variations (if the changes are endianness-safe) would be required to 
> handle all the ABIs that we support.
> 
>  It smells like OpenOffice is doing something outrageously wrong here...

Normal madness of a (too!) complex piece of software.

  Ralf

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: About openoffice linux/mips porting
  2007-09-25 13:08   ` Fuxin Zhang
@ 2007-09-25 13:38     ` Thiemo Seufer
  2007-09-25 13:55       ` Fuxin Zhang
  2007-09-25 16:20       ` David Daney
  0 siblings, 2 replies; 7+ messages in thread
From: Thiemo Seufer @ 2007-09-25 13:38 UTC (permalink / raw)
  To: Fuxin Zhang; +Cc: Maciej W. Rozycki, Fuxin Zhang, debian-mips, linux-mips

Fuxin Zhang wrote:
> Maciej W. Rozycki ??????:
>> On Tue, 25 Sep 2007, Fuxin Zhang wrote:
>>
>>   
>>> It is available at
>>> http://qa.openoffice.org/issues/show_bug.cgi?id=81482, any comments are
>>> welcome.
>>> Have an official openoffice for linux/mips might be a good thing.

A quick glance revealed already several bugs. (alignment issues, ULH for
laoding signed shorts, etc.)

>>  Hmm, why would anyone need to have asm snippets in a document processing 
>> suite?  And it looks like the bits are ABI-dependent, so at least three 
>> variations (if the changes are endianness-safe) would be required to 
>> handle all the ABIs that we support.
>>   
> Openoffice wants to be able to interact with plugins written in many 
> languages, instead of writting a module for each possible combination it 
> chooses the so called bridge: every language interact with a common middle 
> language.

So we have now foreign function interfaces for at least OpenOffice, Mozilla,
Clisp and GCC's libffi. libffi recently got support for N32/N64 ABIs, and
is the only solution which isn't bound to a specific application (as long
as GCC is used).

Using libffi from Openoffice looks like the best long-term approach 
to me.


Thiemo

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: About openoffice linux/mips porting
  2007-09-25 13:38     ` Thiemo Seufer
@ 2007-09-25 13:55       ` Fuxin Zhang
  2007-09-25 16:20       ` David Daney
  1 sibling, 0 replies; 7+ messages in thread
From: Fuxin Zhang @ 2007-09-25 13:55 UTC (permalink / raw)
  To: Thiemo Seufer; +Cc: Maciej W. Rozycki, debian-mips, linux-mips


>   
>>>  Hmm, why would anyone need to have asm snippets in a document processing 
>>> suite?  And it looks like the bits are ABI-dependent, so at least three 
>>> variations (if the changes are endianness-safe) would be required to 
>>> handle all the ABIs that we support.
>>>   
>>>       
>> Openoffice wants to be able to interact with plugins written in many 
>> languages, instead of writting a module for each possible combination it 
>> chooses the so called bridge: every language interact with a common middle 
>> language.
>>     
>
> So we have now foreign function interfaces for at least OpenOffice, Mozilla,
> Clisp and GCC's libffi. libffi recently got support for N32/N64 ABIs, and
> is the only solution which isn't bound to a specific application (as long
> as GCC is used).
>
> Using libffi from Openoffice looks like the best long-term approach 
> to me.
>   
Good to know the library:) 
I am not very familiar with the ABI details so the code is more or less 
only a hack to get the most part work.
Maybe the occasional crashes of our OOo are related to the bugs.
>
> Thiemo
>
>
>
>
>   

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: About openoffice linux/mips porting
  2007-09-25 13:38     ` Thiemo Seufer
  2007-09-25 13:55       ` Fuxin Zhang
@ 2007-09-25 16:20       ` David Daney
  1 sibling, 0 replies; 7+ messages in thread
From: David Daney @ 2007-09-25 16:20 UTC (permalink / raw)
  To: Thiemo Seufer
  Cc: Fuxin Zhang, Maciej W. Rozycki, Fuxin Zhang, debian-mips,
	linux-mips

Thiemo Seufer wrote:
> Fuxin Zhang wrote:
>> Maciej W. Rozycki ??????:
>>> On Tue, 25 Sep 2007, Fuxin Zhang wrote:
>>>
>>>   
>>>> It is available at
>>>> http://qa.openoffice.org/issues/show_bug.cgi?id=81482, any comments are
>>>> welcome.
>>>> Have an official openoffice for linux/mips might be a good thing.
> 
> A quick glance revealed already several bugs. (alignment issues, ULH for
> laoding signed shorts, etc.)
> 
>>>  Hmm, why would anyone need to have asm snippets in a document processing 
>>> suite?  And it looks like the bits are ABI-dependent, so at least three 
>>> variations (if the changes are endianness-safe) would be required to 
>>> handle all the ABIs that we support.
>>>   
>> Openoffice wants to be able to interact with plugins written in many 
>> languages, instead of writting a module for each possible combination it 
>> chooses the so called bridge: every language interact with a common middle 
>> language.
> 
> So we have now foreign function interfaces for at least OpenOffice, Mozilla,
> Clisp and GCC's libffi. libffi recently got support for N32/N64 ABIs, and
> is the only solution which isn't bound to a specific application (as long
> as GCC is used).
> 
> Using libffi from Openoffice looks like the best long-term approach 
> to me.

I assume you mean 'Using libffi in...'.  I would tend to agree, but I am 
a bit biased toward libffi.

FWIW, GCC's libffi gets full n32/n64 support in version 4.3 (which has 
not been released yet)  The libffi part seems quite stable though, so 
you could start experimenting with it now I suppose...


David Daney

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-09-25 16:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-25 12:43 About openoffice linux/mips porting Fuxin Zhang
2007-09-25 13:10 ` Maciej W. Rozycki
2007-09-25 13:08   ` Fuxin Zhang
2007-09-25 13:38     ` Thiemo Seufer
2007-09-25 13:55       ` Fuxin Zhang
2007-09-25 16:20       ` David Daney
2007-09-25 13:36   ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.