Mingye Wang

Results 347 comments of Mingye Wang

[TG @JeffBai] @MingcongBai Updated `read` trick. Can be slow.

Looks like I forgot all the opts in official_builds… To-morrow, to-morrow, to-morrow!

Well we really need to figure out how the `eu-` magic works and if `objcopy` works with static archives.

We need to figure out which debug level we are going to use. For everyday use I may say `-g1`, but since we are splitting the package, I would say...

A few more notes on gold and symbols: - `--strip-debug-gdb` strips away debug symbols unused by `gdb`. - `--strip-lto-sections` strips away the LTO intermediate code sections, which may be used...

@MingcongBai The problem is that an optimized package (unless with `-Og`) may not be that suitable for deep debugging, so I'm questioning on this. I'm suggesting to keep the LTO...

@MingcongBai Suggesting this: ``` Bash CFLAGS_COMMON_NOLTO+='-g3 ' CFLAGS_COMMON_LTO+='-g1 ' ``` For serious debugging we are going to use `NOLTO=1 autobuild`.

@MingcongBai serious debugging should be self-serviced. Still considering `-g1` as the best option. BTW I don't think I will do anything like a dual build. Since most of our packages...

@MingcongBai It seems that we should do `! bool NOSTATIC && ! bool NOLTO || NOCLANG=1` since Clang loves replacing regular objects with LLVM BCs into static libraries which breaks...

Well, first of all we should add the following segments to LLVM and binutils' defines: ``` Bash # mysterious var ARCH_EXE_FORMAT: ELF/PE/COFF/a.out/etc.. (note that PE is an # extension of...