[PATCH] Delete GCJ
Matthias Klose
doko@ubuntu.com
Sun Nov 20 20:42:00 GMT 2016
On 10.10.2016 09:58, Iain Sandoe wrote:
>
>> On 10 Oct 2016, at 05:03, Matthias Klose <doko@ubuntu.com> wrote:
>>
>> On 07.10.2016 10:30, Iain Sandoe wrote:
>>>
>>>> On 7 Oct 2016, at 00:58, Matthias Klose <doko@ubuntu.com> wrote:
>>>>
>>>> On 06.10.2016 20:00, Mike Stump wrote:
>>>>> On Oct 6, 2016, at 9:56 AM, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote:
>>>>>> I wouldn't hard-fail, but completely disable objc-gc with an appropriate
>>>>>> warning. The Objective-C maintainers may have other preferences, though.
>>>>
>>>> I think I can't do that in the top level make file very well (currently I only
>>>> have the pkg-config check there for an early failure, but that check doesn't
>>>> tell me if the library is present for all multilib variants). And I can't check
>>>> for multilibs because I don't know if the bootstrap compiler is multilib aware.
>>>
>>> hrm, so perhaps we need a âwith-target-boehm-gc= type arrangement, and itâs the configurerâs responsibility to provide a path with appropriate headers/libs for the multi-lib configuration being attempted.
>>
>> I don't understand what you are proposing here.
>
> given that:
> auto-detection of the capabilities could be quite difficult (or, in the general case, unachievable) for the reasons you gave.
> the chosen target libraries might be in a non-standard place.
>
> making it an explicit requirement to point to them, and to ensure that the versions/multi-libs provided are suitable, (by putting âwith-target-boehm-gc=/path/to/suitable/) would mean that the dependent configury (for objc-gc) could be just conditional upon the presence of the "with-target-boehm-gcâ.
>
> I suppose that one could make "âwith-target-boehm-gcâ (no attached path) declare that the library (and requisite mult-lib versions) will be found in the sysroot without any additional work.
>
> The point here was to simplify the dependent configury so that it only needs to test something that the configuring user specifies (i.e. if they specify objc-gc, then they need also to specify the place that the gc lib can be found).
So here is the next proposal, I hope the added documentation in install.texi
makes the usage clear.
<toplevel>
2016-11-19 Matthias Klose <doko@ubuntu.com>
* Makefile.def: Remove reference to boehm-gc target module.
* configure.ac: Include pkg.m4, check for --with-target-bdw-gc
options and for the bdw-gc pkg-config module.
* configure: Regenerate.
* Makefile.in: Regenerate.
gcc/
2016-11-19 Matthias Klose <doko@ubuntu.com>
* doc/install.texi: Document configure options --enable-objc-gc
and --with-target-bdw-gc.
config/
2016-11-19 Matthias Klose <doko@ubuntu.com>
* pkg.m4: New file.
libobjc/
2016-11-19 Matthias Klose <doko@ubuntu.com>
* configure.ac (--enable-objc-gc): Allow to configure with a
system provided boehm-gc.
* configure: Regenerate.
* Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
* gc.c: Include system bdw-gc headers.
* memory.c: Likewise
* objects.c: Likewise
boehm-gc/
2016-11-19 Matthias Klose <doko@ubuntu.com>
Remove
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libobjc-bdw-gc.diff
Type: text/x-diff
Size: 15646 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20161120/28822e4a/attachment.bin>
More information about the Java-patches
mailing list