weirdo compile error

David Herron david at davidherron.com
Mon Mar 9 09:20:51 PDT 2009


Yeah, that's what I eventually decided must be the case.  After installing
the latest Xcode I noted there are now "gcc-4.2" and "g++-4.2" compilers
available.  I'm using the following build.sh (note CC= and CXX=) and got
further but it fails in test_gamma.

david-herrons-mac-mini:bsd-port-copy david$ cat build.sh
# source build.sh
LC_ALL=C
LANG=C
unset CLASSPATH
unset JAVA_HOME

make \
   CC=gcc-4.2 CXX=g++-4.2 \
   ALT_BOOTDIR=/Volumes/LaCie/openjdk/soylatte16-i386-1.0.3/ \
   ALT_BINARY_PLUGS_PATH=/Volumes/LaCie/openjdk/jdk-7-icedtea-plugs \
   ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include \
   ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib \
   ALT_CUPS_HEADERS_PATH=/usr/include \
   ANT_HOME=/usr/share/ant \
   NO_DOCS=true \
   HOTSPOT_BUILD_JOBS=1 \
   $*





On Sun, Mar 8, 2009 at 9:12 PM, Greg Lewis <glewis at eyesbeyond.com> wrote:

> On Wed, Mar 04, 2009 at 07:02:01PM -0800, David Herron wrote:
> > Anybody else seeing the following?
> >
> [snip]
> >
> /Volumes/LaCie/openjdk/bsd-port-copy/hotspot/src/share/vm/c1/c1_Runtime1.cpp
> >
> > {standard input}:731:junk `f' after expression
> > {standard input}:731:junk `f' after expression
> > {standard input}:731:junk `f' after expression
> > {standard input}:731:junk `f' after expression
> > {standard input}:731:junk `f' after expression
> > {standard input}:731:Spurious digit 1.
> > {standard input}:731:Rest of line ignored. 1st junk character valued 48
> (0).
> > {standard input}:731:junk `f' after expression
> > {standard input}:731:Spurious digit 1.
> > {standard input}:731:Rest of line ignored. 1st junk character valued 49
> (1).
> > {standard input}:731:Spurious digit 1.
> > {standard input}:731:Rest of line ignored. 1st junk character valued 50
> (2).
> > {standard input}:731:Spurious digit 1.
> > {standard input}:731:Rest of line ignored. 1st junk character valued 51
> (3).
> > make[6]: *** [c1_Runtime1.o] Error 1
>
> I saw errors like this with an older version of Xcode.  Basically it
> didn't like some of the assembler.  Upgrading to the lastest version
> of Xcode fixed the problem.
>
> --
> Greg Lewis                          Email   : glewis at eyesbeyond.com
> Eyes Beyond                         Web     : http://www.eyesbeyond.com
> Information Technology              FreeBSD : glewis at FreeBSD.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20090309/8a2c58d1/attachment.html 


More information about the bsd-port-dev mailing list