21324
查看build hikey960 error的源代码
build hikey960 error
0
←
build hikey960 error
跳转至:
导航
、
搜索
因为以下原因,你没有权限编辑本页:
你被禁止执行你刚才请求的操作。
您可以查看并复制此页面的源代码:
Host:Linux 4.4.0-142-generic #168-Ubuntu x86_64 x86_64 x86_64 GNU/Linux Log: dex2oatd E 09-23 23:04:07 174391 174391 dex2oat.cc:2234] Cannot lock profiles: Failed to lock file 'out/soong/hikey960/dex_bootjars/boot.prof': Bad file descriptor dex2oatd E 09-23 23:04:07 174391 174391 dex2oat.cc:2842] Failed to process profile file ERROR: Dex2oat failed to compile a boot image.It is likely that the boot classpath is inconsistent.Rebuild with ART_BOOT_IMAGE_EXTRA_ARGS="--runtime-arg -verbose:verifier" to see verification errors. Cause: art/dex2oat/dex2oat.cc <source lang="c"> bool LoadProfile() { .. if (profile_file_fd_ != -1) { profile_file = LockedFile::DupOf(profile_file_fd_, "profile", true /* read_only_mode */, &error); } else if (profile_file_ != "") { profile_file = LockedFile::Open(profile_file_.c_str(), O_RDONLY, true, &error); } // Return early if we're unable to obtain a lock on the profile. if (profile_file.get() == nullptr) { LOG(ERROR) << "Cannot lock profiles: " << error; return false; } } </source> art/libartbase/base/scoped_flock.cc <source lang="c"> ScopedFlock LockedFile::DupOf(const int fd, const std::string& path, const bool read_only_mode, std::string* error_msg) { // NOTE: We don't check usage here because the ScopedFlock should *never* be // responsible for flushing its underlying FD. Its only purpose should be // to acquire a lock, and the unlock / close in the corresponding // destructor. Callers should explicitly flush files they're writing to if // that is the desired behaviour. ScopedFlock locked_file( new LockedFile(DupCloexec(fd), path, /* check_usage= */ false, read_only_mode)); if (locked_file->Fd() == -1) { *error_msg = StringPrintf("Failed to duplicate open file '%s': %s", locked_file->GetPath().c_str(), strerror(errno)); return nullptr; } if (0 != TEMP_FAILURE_RETRY(flock(locked_file->Fd(), LOCK_EX))) { *error_msg = StringPrintf( "Ignore: Failed to lock file '%s': %s", locked_file->GetPath().c_str(), strerror(errno)); return nullptr; } return locked_file; } </source>
返回
build hikey960 error
。
导航菜单
个人工具
   
个人维基
注册
登录
名字空间
页面
变换
查看
阅读
查看源代码
统计
查看历史
操作
搜索
导航
首页
最近更改
随机页面
工具箱
所有页面
文件列表
特殊页面