This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] [java] bump libgcj soname
- From: Andrew Haley <aph at redhat dot com>
- To: Matthias Klose <doko at ubuntu dot com>, Jakub Jelinek <jakub at redhat dot com>
- Cc: GCJ-patches <java-patches at gcc dot gnu dot org>, "gcc-patches at gnu dot org" <gcc-patches at gnu dot org>
- Date: Sun, 3 Jan 2016 14:17:03 +0000
- Subject: Re: [patch] [java] bump libgcj soname
- Authentication-results: sourceware.org; auth=none
- References: <55365991 dot 4030806 at ubuntu dot com> <20150421141125 dot GW1725 at tucnak dot redhat dot com> <55365BB2 dot 4080603 at ubuntu dot com> <20150421141924 dot GX1725 at tucnak dot redhat dot com> <55365EE0 dot 8070202 at ubuntu dot com> <20150421143747 dot GY1725 at tucnak dot redhat dot com> <5687E158 dot 7000401 at ubuntu dot com> <5687EF4D dot 5030304 at redhat dot com> <5687F269 dot 7030109 at ubuntu dot com> <5687F698 dot 20106 at redhat dot com> <56890829 dot 4020601 at ubuntu dot com>
On 03/01/16 11:38, Matthias Klose wrote:
> On 02.01.2016 17:11, Andrew Haley wrote:
>> On 02/01/16 15:53, Matthias Klose wrote:
>>>>> In any case, GCJ_CXX_ABI_VERSION should be changed to not include __GNUC_MINOR__
>>>>>>> anymore. Maybe for the gcc-5-branch, set it unconditionally to 3 so that it
>>>>>>> won't change anymore with future releases from the gcc-5 branch?
>>>>>
>>>>> That's safe only if Classpath and libgcj are not changed at all.
>>> why?
>>
>> Because of the way that gcj's linkage works. If you change any of the
>> vtable/itable indexes your program will crash.
>
> Right, but this no change compared to the 4.x.y releases.
>
> This is what I committed to the trunk.
>
> So what to do with the gcc-5 branch? Apply the same patch to jvm.h, or fix the
> minor version to 3? The latter would be compatible at least with the 5.3 release.
Neither. If you link a program with libgcj then you need to recompile
it when a new version of libgcj comes along. It has always been this
way. Why change this rule now, at this stage of GCJ's life?
Andrew.