[MacPorts] #49227: gcc5 @5.2.0: fix gcj
MacPorts
noreply at macports.org
Mon Oct 19 10:29:21 PDT 2015
#49227: gcc5 @5.2.0: fix gcj
------------------------------------+----------------------
Reporter: howarth.at.macports@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: haspatch
Port: gcc5 |
------------------------------------+----------------------
Comment (by howarth.at.macports@…):
Note that at the absolute very least you should be using the changes to
download the ecj.jar file and place it in the source directory. Otherwise
you build a crippled gcj which is incapable for processing java files and
can only operate on precompiled class files. This isn't particularly well
documented in FSF gcc. The changes were introduced in...
https://gcc.gnu.org/ml/java-patches/2006-q4/msg00061.html
and require the build to either...
1) Place the ecj.jar in the source directory before starting the build
2) Pass the location of a preinstalled ecj.jar file to configure with the
--with-ecj-jar= libjava configure option
The omission of building ecj1 (due to the absence of an ecj.jar)
unfortunately isn't caught by the FSF gcc test suite due to their use of
classes to test gcj rather than java source files.
--
Ticket URL: <https://trac.macports.org/ticket/49227#comment:13>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list