[MacPorts] #16043: gcc-4.4 at 20080718_0 No Java support
MacPorts
noreply at macports.org
Mon Jul 21 00:25:47 PDT 2008
#16043: gcc-4.4 at 20080718_0 No Java support
----------------------------------------------+-----------------------------
Reporter: macports at tomorrowenterprises.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts 1.6.1
Component: ports | Version: 1.6.0
Keywords: java gcj gcc |
----------------------------------------------+-----------------------------
I'm trying to get running with GCJ but can't seem to find a version that
works with my Intel Mac running 10.4. So far I've tried gcj34 as well as
gcc42, gcc43, gcc44-20080712, and gcc44-20080718. From checking the
issues lists, it appears that GCC 4.2 should work for Intel; however I get
{{{
internal compiler error: in uses_jv_markobj_p, at java/boehm.c:245
}}}
trying to compile HelloWorld.java. I was able to Google one or two non-
Mac occurrences of this but they didn't lead me to anything useful. The
issues list seems to verify that I need to upgrade to 10.5 to run GCC4.3
with Java support so I didn't continue trying to get that version to work.
The GCC4.4 port notes that some language front-ends are not yet supported
but doesn't say which ones. Is Java supported yet? How can I help?
{{{
$ gcc-mp-4.4 DoIt.java
gcc-mp-4.4: DoIt.java: Java compiler not installed on this system
$ type gcc-mp-4.4
gcc-mp-4.4 is hashed (/opt/local/bin/gcc-mp-4.4)
}}}
My installation was pretty simple although I've tried
uninstalling/reinstalling a few times and only have 1 MacPorts version of
GCC at a time (Apple's GCC is installed at the normal location):
{{{
[tmp/foo] > uninstall javatar pircbot gnu-classpathx-comm gnu-classpathx-
activation
---> Deactivating javatar 2.5_0
---> Uninstalling javatar 2.5_0
---> Deactivating pircbot 1.4.4_0
---> Uninstalling pircbot 1.4.4_0
---> Deactivating gnu-classpathx-comm 20050328_0
---> Uninstalling gnu-classpathx-comm 20050328_0
---> Deactivating gnu-classpathx-activation 1.1.1_0
---> Uninstalling gnu-classpathx-activation 1.1.1_0
[tmp/foo] > uninstall gnu-classpath
---> Deactivating gnu-classpath 0.93_0
---> Uninstalling gnu-classpath 0.93_0
[tmp/foo] > install gcc44
---> Fetching gmp
---> Verifying checksum(s) for gmp
---> Extracting gmp
---> Configuring gmp
---> Building gmp with target all
---> Staging gmp into destroot
---> Installing gmp 4.2.2_2
---> Activating gmp 4.2.2_2
---> Fetching mpfr
---> Verifying checksum(s) for mpfr
---> Extracting mpfr
---> Configuring mpfr
---> Building mpfr with target all
---> Staging mpfr into destroot
---> Installing mpfr 2.3.1_0+darwin_i386
---> Activating mpfr 2.3.1_0+darwin_i386
---> Fetching gcc44
---> Verifying checksum(s) for gcc44
---> Extracting gcc44
---> Configuring gcc44
---> Building gcc44 with target bootstrap
---> Staging gcc44 into destroot
---> Installing gcc44 4.4-20080718_0
---> Activating gcc44 4.4-20080718_0
}}}
--
Ticket URL: <http://trac.macports.org/ticket/16043>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list