You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2011/01/25 16:12:44 UTC

[jira] Closed: (LUCENE-401) [PATCH] fixes for gcj target.

     [ https://issues.apache.org/jira/browse/LUCENE-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler closed LUCENE-401.
--------------------------------

    Resolution: Fixed
      Assignee:     (was: Lucene Developers)

Closing, because we no longer support GCJ.

> [PATCH] fixes for gcj target.
> -----------------------------
>
>                 Key: LUCENE-401
>                 URL: https://issues.apache.org/jira/browse/LUCENE-401
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: unspecified
>         Environment: Operating System: Linux
> Platform: Other
>            Reporter: Robert Newson
>            Priority: Minor
>         Attachments: gcj.patch
>
>
> I've modified the Makefile so that it compiles with GCJ-4.0.
> This involved fixing the CORE_OBJ macro to match the generated jar file as well
> as excluding FieldCacheImpl from being used from its .java source (GCJ has
> problems with anonymous inner classes, I guess).
> Also, I changed the behaviour of FieldInfos.fieldInfo(int). It depended on
> catching IndexOutOfBoundsException exception. I've modified it to test the
> bounds first, returning -1 in that case. This helps with gcj since we build with
> -fno-bounds-check.
> I compiled with;
> GCJ=gcj-4.0 GCJH=gcjh-4.0 GPLUSPLUS=g++-4.0 ant clean gcj
> patch to follow.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org