Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaptor OpenEuler #2612

Closed
wuhongsong opened this issue Jul 6, 2023 · 7 comments
Closed

Adaptor OpenEuler #2612

wuhongsong opened this issue Jul 6, 2023 · 7 comments
Assignees
Labels
enhancement improve feature

Comments

@wuhongsong
Copy link
Contributor

wuhongsong commented Jul 6, 2023

openEuler is a reliable open source OS that unleashes diversified computing power for a sustainable future.

mentor:
@wangxiyuan from openEuler
@Cyber-SiKu from Curve

pandoc adpator OpenEuler

@peter5232
Copy link
Contributor

peter5232 commented Jul 18, 2023

您好,我在迁移curve到openeuer上,目前遇到的一个bug是curve中使用的brpc的版本较低,导致报错,对应的brpc的报错为apache/brpc#1693 ,对应的PR已经解决了这个bug apache/brpc#1783
问题:请问使用这个版本的brpc和patch是有原因的吗,还是因为我这边系统软件版本的问题呢?
环境:

[root@MiWiFi-R3-srv curve]# uname -a
Linux MiWiFi-R3-srv 5.10.0-153.12.0.92.oe2203sp2.x86_64 #1 SMP Wed Jun 28 23:04:48 CST 2023 x86_64 x86_64 x86_64 GNU/Linux
[root@MiWiFi-R3-srv curve]# gcc --version
gcc (GCC) 10.3.1
Copyright © 2020 Free Software Foundation, Inc.
本程序是自由软件;请参看源代码的版权声明。本软件没有任何担保;
包括没有适销性和某一专用目的下的适用性担保。
[root@MiWiFi-R3-srv curve]# g++ --version
g++ (GCC) 10.3.1
Copyright © 2020 Free Software Foundation, Inc.
本程序是自由软件;请参看源代码的版权声明。本软件没有任何担保;
包括没有适销性和某一专用目的下的适用性担保。
[root@MiWiFi-R3-srv curve]# bazel --version
bazel 4.2.2

系统:virtualBox 虚拟机 + https://mirrors.nju.edu.cn/openeuler/openEuler-22.03-LTS-SP2/ISO/x86_64/openEuler-22.03-LTS-SP2-x86_64-dvd.iso



@Cyber-SiKu
Copy link
Contributor

您好,我在迁移curve到openeuer上,目前遇到的一个bug是curve中使用的brpc的版本较低,导致报错,对应的brpc的报错为apache/brpc#1693 ,对应的PR已经解决了这个bug apache/brpc#1783 问题:请问使用这个版本的brpc和patch是有原因的吗,还是因为我这边系统软件版本的问题呢? 环境:

[root@MiWiFi-R3-srv curve]# uname -a
Linux MiWiFi-R3-srv 5.10.0-153.12.0.92.oe2203sp2.x86_64 #1 SMP Wed Jun 28 23:04:48 CST 2023 x86_64 x86_64 x86_64 GNU/Linux
[root@MiWiFi-R3-srv curve]# gcc --version
gcc (GCC) 10.3.1
Copyright © 2020 Free Software Foundation, Inc.
本程序是自由软件;请参看源代码的版权声明。本软件没有任何担保;
包括没有适销性和某一专用目的下的适用性担保。
[root@MiWiFi-R3-srv curve]# g++ --version
g++ (GCC) 10.3.1
Copyright © 2020 Free Software Foundation, Inc.
本程序是自由软件;请参看源代码的版权声明。本软件没有任何担保;
包括没有适销性和某一专用目的下的适用性担保。
[root@MiWiFi-R3-srv curve]# bazel --version
bazel 4.2.2

系统:virtualBox 虚拟机 + https://mirrors.nju.edu.cn/openeuler/openEuler-22.03-LTS-SP2/ISO/x86_64/openEuler-22.03-LTS-SP2-x86_64-dvd.iso

Hello, first of all thank you for your contribution to the curve community! This patch curve should already be marked:

+set(CMAKE_CXX_FLAGS "${CMAKE_CPP_FLAGS} -DNDEBUG -O2 -D__const__= -pipe -W -Wall -Wno-unused-parameter -fPIC -fno-omit-frame-pointer")

How did you compile it?

@peter5232
Copy link
Contributor

peter5232 commented Jul 23, 2023

bazel不会执行patch操作吗

@Cyber-SiKu
Copy link
Contributor

bazel不会执行patch操作吗

will done if add in build.
you can add wechat
https://github.com/opencurve/curve/blob/master/docs/images/curve-wechat.jpeg

@peter5232
Copy link
Contributor

我并没有修改源代码,WORKSPACE中确实是有这个patch,但是仍然编译报这个错误

@peter5232
Copy link
Contributor

你好,我想问下适配系统的评价标准是什么呢? 系统编译正常&test case全部通过吗?

@Cyber-SiKu
Copy link
Contributor

我并没有修改源代码,WORKSPACE中确实是有这个patch,但是仍然编译报这个错误

I am upgrading the base image to debian11, which is 10.2.1 and this problem has not been reported. So I'm wondering how you compiled it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve feature
Projects
None yet
Development

No branches or pull requests

4 participants