[feature] Add configuration option to use system libffi

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[feature] Add configuration option to use system libffi

Anthony Green-4
Issue status update for
http://smalltalk.gnu.org/node/172
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/172

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     feature requests
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  atgreen
 Updated by:   atgreen
 Status:       active

Hello.  I recently resumed making libffi releases.  In Fedora, somebody
recently patched GNU Smalltalk to use the system's libffi package.  I
think, however, that it was probably a hack.  It would be nice if the
upstream project provided a configuration option to use the system's
pre-installed libffi.  Thanks!




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [feature] Add configuration option to use system libffi

Paolo Bonzini-3
Issue status update for
http://smalltalk.gnu.org/project/issue/172
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/172

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     feature requests
 Priority:     normal
-Assigned to:  Unassigned
+Assigned to:  bonzinip
 Reported by:  atgreen
 Updated by:   bonzinip
 Status:       active

Great.  Thomas, can you send me the patch you use to select the system
libsigsegv and (IIRC) libffi?

Thanks!




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [feature] Add configuration option to use system libffi

Thomas Girard
In reply to this post by Anthony Green-4
Issue status update for
http://smalltalk.gnu.org/project/issue/172
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/172

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     feature requests
 Priority:     normal
 Assigned to:  bonzinip
 Reported by:  atgreen
 Updated by:   tgg
 Status:       active
 Attachment:   http://smalltalk.gnu.org/files/issues/06_use_system_libs.patch (2.95 KB)

Hello, please find attached the patch we use for Debian.

That's also a quick hack. I will try to provide a better patch later.




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [feature] Add configuration option to use system libffi

Paolo Bonzini-3
In reply to this post by Anthony Green-4
Issue status update for
http://smalltalk.gnu.org/project/issue/172
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/172

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     feature requests
 Priority:     normal
 Assigned to:  bonzinip
 Reported by:  atgreen
 Updated by:   bonzinip
 Status:       active
 Attachment:   http://smalltalk.gnu.org/files/issues/gst-system-libs.patch (198 bytes)

I used Thomas' patch to avoid forgetting any place and produced the
thing I attach.  Can you test it with configure flags
--with-system-libffi --with-system-libsigsegv?

(regenerated files are not included in the patch)




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [feature] Add configuration option to use system libffi

Paolo Bonzini-3
In reply to this post by Anthony Green-4
Issue status update for
http://smalltalk.gnu.org/project/issue/172
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/172

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     feature requests
 Priority:     normal
 Assigned to:  bonzinip
 Reported by:  atgreen
 Updated by:   bonzinip
-Status:       active
+Status:       fixed

nothing heard, should be fixed. :-)




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [feature] Add configuration option to use system libffi

Thomas Girard
In reply to this post by Anthony Green-4
Issue status update for
http://smalltalk.gnu.org/project/issue/172
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/172

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     feature requests
 Priority:     normal
 Assigned to:  bonzinip
 Reported by:  atgreen
 Updated by:   tgg
-Status:       fixed
+Status:       patch
 Attachment:   http://smalltalk.gnu.org/files/issues/system_libs.patch (531 bytes)

Hello,

I had no time to try this patch before today.

It had a small typo, see the attached patch (against the previous patch
attached to this issue).




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [feature] Add configuration option to use system libffi

Paolo Bonzini-3
In reply to this post by Anthony Green-4
Issue status update for
http://smalltalk.gnu.org/project/issue/172
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/172

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Build
 Category:     feature requests
 Priority:     normal
 Assigned to:  bonzinip
 Reported by:  atgreen
 Updated by:   bonzinip
-Status:       patch
+Status:       fixed

patch applied (and btw in the meanwhile I upgraded the included libffi
to 3.0.4)




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk