atom feed3 messages in net.java.openjdk.bsd-port-devRe: weirdo compile error
FromSent OnAttachments
David HerronMar 4, 2009 7:01 pm 
Greg LewisMar 8, 2009 9:11 pm 
David HerronMar 9, 2009 9:20 am 
Subject:Re: weirdo compile error
From:David Herron (dav@davidherron.com)
Date:Mar 9, 2009 9:20:28 am
List:net.java.openjdk.bsd-port-dev

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 <gle@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.