fanbingxin
fanbingxin
the only way for PC is writing to screen with https://wiki.osdev.org/Printing_To_Screen, the breakpoints can be set in following order: - The c boot loader https://github.com/icexin/eggos/tree/main/boot - The go entry https://github.com/icexin/eggos/blob/78b167e4f34946b41fc39fe444bfc44133ab1ecb/kernel/asm_amd64.s#L8C29-L8C29
You may try writing UART if available :)
同问,阿里内部有支持prometheus的计划吗?或者开源计划
没有人回复吗?`future_lite`里面的`use_coro`开关好像没用
Config.h文件里面的coroutine已经关掉了,编译器开关的`-fcoroutines`没有打开 ``` bash $ cat Config.h #ifndef FUTURE_LITE_CONFIG_H #define FUTURE_LITE_CONFIG_H #define FUTURE_LITE_NOT_USE_COROUTINES 1 #endif ``` 然后编译就报错了,其中一个地方是这样的: ``` bash bazel-out/k8-fastbuild/bin/external/havenask~override/aios/future_lite/_virtual_includes/future_lite_base/future_lite/coro/Traits.h:46:84: error: unknown type name 'co_await' static int8_t test(std::remove_reference_t*); ^ bazel-out/k8-fastbuild/bin/external/havenask~override/aios/future_lite/_virtual_includes/future_lite_base/future_lite/coro/Traits.h:56:66: error:...
我换了一个镜像,里面是clang8,编译命令是 `bazel build --config clang //aios/apps/facility/build_service:bs_local_job`
在你们提供的镜像里面` --config=havenask`是ok的,这个没有问题。我的意思是`co_await`这些在c++20里面才有的关键字不能通过开关开启或者关闭吗?
如果不用clang用gcc,会直接报`gcc: error: unrecognized command line option '-fcoroutines'`,我的gcc是`9.4.0`
master
你们镜像里面的gcc版本是`10.2.1`