public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed, libffi] Match upstream soname
@ 2016-03-05 18:28 Richard Henderson
  2016-03-07  0:24 ` Matthias Klose
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Henderson @ 2016-03-05 18:28 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 281 bytes --]

When I went to apply my symbol versioning patch to upstream,
I discovered that upstream had already bumped their soname to
6.4.0, beyond the bump that I'd applied to gcc to 5.0.0.

So I bumped upstream to 7.0.0, including the symbol versioning,
and this adjusts gcc to match.


r~

[-- Attachment #2: z --]
[-- Type: text/plain, Size: 1500 bytes --]

2016-03-02  Richard Henderson  <rth@redhat.com>

        * libtool-version: Increase to 7:0:0.
        * libffi.map.in: Increase version numbers to 7.0.


diff --git a/libffi/libffi.map.in b/libffi/libffi.map.in
index ca50967..8bd27ef 100644
--- a/libffi/libffi.map.in
+++ b/libffi/libffi.map.in
@@ -3,7 +3,7 @@
 #include <fficonfig.h>
 #include <ffitarget.h>
 
-LIBFFI_BASE_5 {
+LIBFFI_BASE_7.0 {
   global:
 	/* Exported data variables.  */
 	ffi_type_void;
@@ -46,17 +46,17 @@ LIBFFI_BASE_5 {
 };
 
 #ifdef FFI_TARGET_HAS_COMPLEX_TYPE
-LIBFFI_COMPLEX_5 {
+LIBFFI_COMPLEX_7.0 {
   global:
 	/* Exported data variables.  */
 	ffi_type_complex_float;
 	ffi_type_complex_double;
 	ffi_type_complex_longdouble;
-} LIBFFI_BASE_5;
+} LIBFFI_BASE_7.0;
 #endif
 
 #if FFI_CLOSURES
-LIBFFI_CLOSURE_5 {
+LIBFFI_CLOSURE_7.0 {
   global:
 	ffi_closure_alloc;
 	ffi_closure_free;
@@ -66,13 +66,13 @@ LIBFFI_CLOSURE_5 {
 	ffi_prep_raw_closure_loc;
 	ffi_prep_java_raw_closure;
 	ffi_prep_java_raw_closure_loc;
-} LIBFFI_BASE_5;
+} LIBFFI_BASE_7.0;
 #endif
 
 #if FFI_GO_CLOSURES
-LIBFFI_GO_CLOSURE_5 {
+LIBFFI_GO_CLOSURE_7.0 {
   global:
 	ffi_call_go;
 	ffi_prep_go_closure;
-} LIBFFI_CLOSURE_5;
+} LIBFFI_CLOSURE_7.0;
 #endif
diff --git a/libffi/libtool-version b/libffi/libtool-version
index 0a841ca..dfb8b11 100644
--- a/libffi/libtool-version
+++ b/libffi/libtool-version
@@ -3,4 +3,4 @@
 # a separate file so that version updates don't involve re-running
 # automake.
 # CURRENT:REVISION:AGE
-5:0:0
+7:0:0

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

* Re: [committed, libffi] Match upstream soname
  2016-03-05 18:28 [committed, libffi] Match upstream soname Richard Henderson
@ 2016-03-07  0:24 ` Matthias Klose
  2016-03-07 11:59   ` Richard Henderson
  0 siblings, 1 reply; 5+ messages in thread
From: Matthias Klose @ 2016-03-07  0:24 UTC (permalink / raw)
  To: Richard Henderson, gcc-patches; +Cc: libffi-discuss

On 05.03.2016 19:28, Richard Henderson wrote:
> When I went to apply my symbol versioning patch to upstream,
> I discovered that upstream had already bumped their soname to
> 6.4.0, beyond the bump that I'd applied to gcc to 5.0.0.
>
> So I bumped upstream to 7.0.0, including the symbol versioning,
> and this adjusts gcc to match.

Looking at the libffi upstream git repo, I can't find this change upstream, and 
neither mentioned on the libffi mailing list. What am I missing?

Matthias

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

* Re: [committed, libffi] Match upstream soname
  2016-03-07  0:24 ` Matthias Klose
@ 2016-03-07 11:59   ` Richard Henderson
  2016-03-10 14:04     ` Matthias Klose
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Henderson @ 2016-03-07 11:59 UTC (permalink / raw)
  To: Matthias Klose, gcc-patches; +Cc: libffi-discuss

On 03/06/2016 07:24 PM, Matthias Klose wrote:
> On 05.03.2016 19:28, Richard Henderson wrote:
>> When I went to apply my symbol versioning patch to upstream,
>> I discovered that upstream had already bumped their soname to
>> 6.4.0, beyond the bump that I'd applied to gcc to 5.0.0.
>>
>> So I bumped upstream to 7.0.0, including the symbol versioning,
>> and this adjusts gcc to match.
>
> Looking at the libffi upstream git repo, I can't find this change upstream, and
> neither mentioned on the libffi mailing list. What am I missing?

That must of libffi's workflow is via github, I think.

   https://github.com/atgreen/libffi/pull/230


r~

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

* Re: [committed, libffi] Match upstream soname
  2016-03-07 11:59   ` Richard Henderson
@ 2016-03-10 14:04     ` Matthias Klose
  2016-03-10 14:29       ` Richard Biener
  0 siblings, 1 reply; 5+ messages in thread
From: Matthias Klose @ 2016-03-10 14:04 UTC (permalink / raw)
  To: gcc-patches

On 07.03.2016 12:59, Richard Henderson wrote:
> On 03/06/2016 07:24 PM, Matthias Klose wrote:
>> On 05.03.2016 19:28, Richard Henderson wrote:
>>> When I went to apply my symbol versioning patch to upstream,
>>> I discovered that upstream had already bumped their soname to
>>> 6.4.0, beyond the bump that I'd applied to gcc to 5.0.0.
>>>
>>> So I bumped upstream to 7.0.0, including the symbol versioning,
>>> and this adjusts gcc to match.
>>
>> Looking at the libffi upstream git repo, I can't find this change upstream, and
>> neither mentioned on the libffi mailing list. What am I missing?
>
> That must of libffi's workflow is via github, I think.
>
>    https://github.com/atgreen/libffi/pull/230

well, then I don't understand the subject, because there's no upstream commit 
yet.  Plus this patch doesn't seem to be relevant for GCC because libffi is only 
used as a convenience library, and isn't installed at all. Unless a distributor 
decides to ship libffi built from the GCC sources again.

Matthias

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

* Re: [committed, libffi] Match upstream soname
  2016-03-10 14:04     ` Matthias Klose
@ 2016-03-10 14:29       ` Richard Biener
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Biener @ 2016-03-10 14:29 UTC (permalink / raw)
  To: Matthias Klose; +Cc: GCC Patches

On Thu, Mar 10, 2016 at 3:03 PM, Matthias Klose <doko@ubuntu.com> wrote:
> On 07.03.2016 12:59, Richard Henderson wrote:
>>
>> On 03/06/2016 07:24 PM, Matthias Klose wrote:
>>>
>>> On 05.03.2016 19:28, Richard Henderson wrote:
>>>>
>>>> When I went to apply my symbol versioning patch to upstream,
>>>> I discovered that upstream had already bumped their soname to
>>>> 6.4.0, beyond the bump that I'd applied to gcc to 5.0.0.
>>>>
>>>> So I bumped upstream to 7.0.0, including the symbol versioning,
>>>> and this adjusts gcc to match.
>>>
>>>
>>> Looking at the libffi upstream git repo, I can't find this change
>>> upstream, and
>>> neither mentioned on the libffi mailing list. What am I missing?
>>
>>
>> That must of libffi's workflow is via github, I think.
>>
>>    https://github.com/atgreen/libffi/pull/230
>
>
> well, then I don't understand the subject, because there's no upstream
> commit yet.  Plus this patch doesn't seem to be relevant for GCC because
> libffi is only used as a convenience library, and isn't installed at all.
> Unless a distributor decides to ship libffi built from the GCC sources
> again.

Which I incidentially (as the original bugreporter) do.  The shared libffi is
always built when bootstrapping.  It's not installed by a toplevel
make install but a make install inside $target/libffi/ works just fine.

Richard.

> Matthias
>

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

end of thread, other threads:[~2016-03-10 14:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-05 18:28 [committed, libffi] Match upstream soname Richard Henderson
2016-03-07  0:24 ` Matthias Klose
2016-03-07 11:59   ` Richard Henderson
2016-03-10 14:04     ` Matthias Klose
2016-03-10 14:29       ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).