gpt4 book ai didi

在 Ubuntu 12.04 上构建 OpenJDK7

转载 作者:行者123 更新时间:2023-12-02 00:11:28 24 4
gpt4 key购买 nike

我已按照所有推荐步骤在我的 Ubuntu 12.04 实例上构建 openJDK7 ( openJDK build example ),但我仍然在 Java 热点编译上失败并出现给定错误:

In file included from /home/ubuntu/openjdk-build-sandbox/openJDK7/hotspot/src/share/vm/prims/methodHandles.hpp:32:0,
from /home/ubuntu/openjdk-build-sandbox/openJDK7/hotspot/src/share/vm/ci/ciMethod.hpp:33,
from /home/ubuntu/openjdk-build-sandbox/openJDK7/hotspot/src/share/vm/code/debugInfoRec.hpp:30,
from /home/ubuntu/openjdk-build-sandbox/openJDK7/hotspot/src/share/vm/ci/ciEnv.hpp:31,
from /home/ubuntu/openjdk-build-sandbox/openJDK7/hotspot/src/share/vm/ci/ciUtilities.hpp:28,
from /home/ubuntu/openjdk-build-sandbox/openJDK7/hotspot/src/share/vm/ci/ciNullObject.hpp:30,
from /home/ubuntu/openjdk-build-sandbox/openJDK7/hotspot/src/share/vm/ci/ciConstant.hpp:29,
from /home/ubuntu/openjdk-build-sandbox/openJDK7/hotspot/src/share/vm/precompiled.hpp:36:

/home/ubuntu/openjdk-build-sandbox/openJDK7/hotspot/src/share/vm/runtime/interfaceSupport.hpp:430:0: error: "__LEAF" redefined [-Werror]
/usr/include/x86_64-linux-gnu/sys/cdefs.h:44:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors

知道如何解决吗?

最佳答案

这是一个已知错误:https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/935346 (包括修复)。

关于在 Ubuntu 12.04 上构建 OpenJDK7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12742128/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com