are there changes for building mlvm now that 1.7 is released?
John Rose
john.r.rose at oracle.com
Fri Sep 2 13:16:45 PDT 2011
On Sep 2, 2011, at 5:07 AM, Stephen Bannasch wrote:
> is gcc 4.0 still required.
That requirement hasn't changed. I don't think anyone has retried 4.2 recently.
> I removed the bsd-port forest in sources and ran:
>
> hg fclone http://hg.openjdk.java.net/hsx/hotspot-comp sources
>
> Re-created the ALT_COMPILER_PATH dir and symlinks to gcc 4.0 compilers
>
> Updated my build scripts (https://gist.github.com/243072) to use the latest steps in:
>
> patches/README.txt
>
> but am getting these errors now:
>
> *** running make ...
>
> jdk/make/common/shared/Defs.gmk:181: "WARNING: Value of ARCH cannot be empty, will use ''"
> jdk/make/common/shared/Defs.gmk:181: "WARNING: Value of PLATFORM cannot be empty, will use ''"
> jdk/make/common/shared/Defs.gmk:380: jdk/make/common/shared/Defs-.gmk: No such file or directory
> jdk/make/common/shared/Defs.gmk:546: *** "ERROR: Trouble with the absolute path for OUTPUTDIR './build/-'". Stop.
That's a really basic square-one error. It looks as if the bsd-port patches failed to apply to your new sources. See brief experiment below.
You might try this for a manual fixup of the guards files:
--------
for d in jdk hotspot langtools; do (cd $d; hg qselect | grep bsd-port || echo bsd-port >> .hg/patches/guards); done
--------
-- John
P.S. Here's my local experiment...
--------
pwd
/Users/jrose/Projects/davinci/sources
--------
hg qapp -R jdk
jdk7-b147-to-bsd-port.patch
--------
hg qpop -R jdk
popping jdk7-b147-to-bsd-port.patch
patch queue now empty
--------
rm -rf build
--------
sh build.sh
jdk/make/common/shared/Defs.gmk:181: "WARNING: Value of ARCH cannot be empty, will use ''"
jdk/make/common/shared/Defs.gmk:181: "WARNING: Value of ARCH_DATA_MODEL cannot be empty, will use ''"
jdk/make/common/shared/Defs.gmk:181: "WARNING: Value of PLATFORM cannot be empty, will use ''"
jdk/make/common/shared/Defs.gmk:380: jdk/make/common/shared/Defs-.gmk: No such file or directory
jdk/make/common/shared/Defs.gmk:546: *** "ERROR: Trouble with the absolute path for OUTPUTDIR './build/-'". Stop.
--------
hg qpush -R jdk
applying jdk7-b147-to-bsd-port.patch
now at: jdk7-b147-to-bsd-port.patch
--------
sh build.sh
Control bsd i586 1.8.0-internal all build started: 11-09-02 13:06
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110902/6fcfeeb5/attachment.html
More information about the mlvm-dev
mailing list