上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: 原因1: 需要确保编译的时候有 -g选项,没有-g是没符号的 原因2: binary strip过,把符号表删除了 原因3: binary 跟coredump不匹配 原因4: 产生coredump的机器跟debug机器的库不匹配 一般的输出为 /lib64/xxx.so.x is not at th 阅读全文
posted @ 2022-04-28 11:15 stdpain 阅读(207) 评论(0) 推荐(0)
摘要: in WSL ternimal: explorer.exe . 阅读全文
posted @ 2022-04-04 13:11 stdpain 阅读(51) 评论(0) 推荐(0)
摘要: for cmake: make VERBOSE=1 for make make V=1 阅读全文
posted @ 2022-03-14 15:33 stdpain 阅读(60) 评论(0) 推荐(0)
摘要: yum -y install centos-release-scl yum -y install devtoolset-7-gcc devtoolset-7-gcc-c++ devtoolset-7-binutils scl enable devtoolset-7 bash 阅读全文
posted @ 2022-03-08 19:09 stdpain 阅读(332) 评论(0) 推荐(0)
摘要: prepare: gcc-10.3.0.tar.gz libstdc++-static gcc dependency.xxx copy dependency cp dependency.xxx gcc-10.3.0 prepare ./contrib/download_prerequisites - 阅读全文
posted @ 2022-03-07 19:25 stdpain 阅读(197) 评论(0) 推荐(0)
摘要: /tmp 目录公用的总是打满, 可以修改一下 export TMPDIR=$HOME/.tmp 阅读全文
posted @ 2022-01-24 20:19 stdpain 阅读(344) 评论(0) 推荐(0)
摘要: https://acl.inf.ethz.ch/teaching/fastcode/2021/slides/07-simd-avx.pdf 下面两种在O3下的汇编是相同的,在O2下不同 #include <immintrin.h> __m256d myArbitraryLoad2(double *a 阅读全文
posted @ 2022-01-24 14:09 stdpain 阅读(69) 评论(0) 推荐(0)
摘要: cctz: 每次获取 timezone对象的时候申请申请一把锁,性能很差, 建议cache一些常见的的timezone RE2: 正则库, 非预编译的case下,内部似乎会申请pthread锁,性能很差,建议使用hyberscan 阅读全文
posted @ 2022-01-21 17:12 stdpain 阅读(49) 评论(0) 推荐(0)
摘要: #include <cstdint> #include <cstddef> #include <vector> int test(size_t old_sz, std::vector<uint8_t> &_selection) { for (size_t i = 0; i < old_sz; i++ 阅读全文
posted @ 2022-01-18 10:38 stdpain 阅读(34) 评论(0) 推荐(0)
摘要: tar -xf tar -zxf xz -d bunzip2 阅读全文
posted @ 2022-01-14 10:56 stdpain 阅读(38) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页