Project Links mvpmc.org   wiki

problems adding gcrypt lib (assembler?) to mvpmc...

View: New views
4 Messages — Rating Filter:   Alert me  

problems adding gcrypt lib (assembler?) to mvpmc...

by stuart-20 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi...

I've never added libs to the mvpmc project.  Was wondering if there are
any gotcha's w.r.t. compiling assembler code inside of a lib package?
The lib gcrypt contains assembler code for a number of different
processors.  The ./configure script has linked in the powerpc32
directory for "--host=powerpc".  However, the assembler code is not
compiling for me right now.

...thanks


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mvpmc-devel mailing list
Mvpmc-devel@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-devel

Re: problems adding gcrypt lib (assembler?) to mvpmc...

by Chase Douglas-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Feb 22, 2009, at 2:11 PM, stuart wrote:
> Hi...
>
> I've never added libs to the mvpmc project.  Was wondering if there  
> are
> any gotcha's w.r.t. compiling assembler code inside of a lib package?
> The lib gcrypt contains assembler code for a number of different
> processors.  The ./configure script has linked in the powerpc32
> directory for "--host=powerpc".  However, the assembler code is not
> compiling for me right now.

I couldn't get the assembler code to compile for the iPhone either, so  
I add "--disable-asm" to the configure options so that it compiled the  
c versions of the functions instead.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mvpmc-devel mailing list
Mvpmc-devel@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-devel

Re: problems adding gcrypt lib (assembler?) to mvpmc...

by stuart-20 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Chase Douglas wrote:

> On Feb 22, 2009, at 2:11 PM, stuart wrote:
>> Hi...
>>
>> I've never added libs to the mvpmc project.  Was wondering if there  
>> are
>> any gotcha's w.r.t. compiling assembler code inside of a lib package?
>> The lib gcrypt contains assembler code for a number of different
>> processors.  The ./configure script has linked in the powerpc32
>> directory for "--host=powerpc".  However, the assembler code is not
>> compiling for me right now.
>
> I couldn't get the assembler code to compile for the iPhone either, so  
> I add "--disable-asm" to the configure options so that it compiled the  
> c versions of the functions instead.

No kidding - there is C code to replace the assembler?  Argggg!

Hey, is there anyone else doing this on the mvpmc side of the fence? I
could use the help - instead of just banging my head against the
terminal - it would be nice to bounce what works and doesn't work off
someone else.

In the end, I suspect rolling these 3 new libs into mvpmc will make it
much too large.  I was prepared to cut out some mvpmc code here and
there just to test the resulting dongle (i.e. not permanently).
However, it's not going to take many more setbacks to make me think
twice about what I'm doing.  At that point I'll turn my attention on the
proxy and start considering how complex the removal of TLS will be.






------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mvpmc-devel mailing list
Mvpmc-devel@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-devel

Re: problems adding gcrypt lib (assembler?) to mvpmc...

by Chase Douglas-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Feb 24, 2009, at 11:11 AM, stuart wrote:

> Chase Douglas wrote:
>> On Feb 22, 2009, at 2:11 PM, stuart wrote:
>>> Hi...
>>>
>>> I've never added libs to the mvpmc project.  Was wondering if  
>>> there  are
>>> any gotcha's w.r.t. compiling assembler code inside of a lib  
>>> package?
>>> The lib gcrypt contains assembler code for a number of different
>>> processors.  The ./configure script has linked in the powerpc32
>>> directory for "--host=powerpc".  However, the assembler code is not
>>> compiling for me right now.
>> I couldn't get the assembler code to compile for the iPhone either,  
>> so  I add "--disable-asm" to the configure options so that it  
>> compiled the  c versions of the functions instead.
>
> No kidding - there is C code to replace the assembler?  Argggg!
>
> Hey, is there anyone else doing this on the mvpmc side of the fence?  
> I could use the help - instead of just banging my head against the  
> terminal - it would be nice to bounce what works and doesn't work  
> off someone else.
>
> In the end, I suspect rolling these 3 new libs into mvpmc will make  
> it much too large.  I was prepared to cut out some mvpmc code here  
> and there just to test the resulting dongle (i.e. not permanently).  
> However, it's not going to take many more setbacks to make me think  
> twice about what I'm doing.  At that point I'll turn my attention on  
> the proxy and start considering how complex the removal of TLS will  
> be.

Before you start removing TLS from MTP, all that needs to be done is  
add code to check if the connecting backend originates from a given  
secure IP range before dropping non-TLS connections. I'll get to it  
eventually, but I'm working on my iPhone frontend right now.

Thanks

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mvpmc-devel mailing list
Mvpmc-devel@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-devel