Martin Liška
Martin Liška
Oh, but I end up with some undefined symbols: ``` mold: error: undefined symbol: /tmp/cc1uZOWP.ltrans17.ltrans.o: add_path(char*, incpath_kind, int, bool) mold: error: undefined symbol: /tmp/cc1uZOWP.ltrans17.ltrans.o: add_path(char*, incpath_kind, int, bool) mold: error:...
About the `register_include_chains` it's defined in `libbackend.a`: ``` $ nm libbackend.a ... incpath.o: ... 00000000 T _Z23register_include_chainsP10cpp_readerPKcS2_S2_iii ``` but I can't see the `incpath.o` in `cc1plus.res` and the symbol is...
``` ./gcc/configure --enable-languages=c,c++,fortran,jit --prefix=/home/marxin/bin/gcc --disable-multilib --enable-host-shared --disable-libsanitizer --enable-valgrind-annotations --with-ld=`which ld.mold` --with-build-config=bootstrap-lto ```
It's new issue #475.
Stage 1 of the GCC compiler is opened and I've sent the `get_symbols_v3` API addition patch: https://gcc.gnu.org/pipermail/gcc-patches/2022-May/593900.html and I was able to LTO bootstrap GCC with all languages enabled: `~/Programming/gcc/configure...
> How can I distinguish a GCC plugin with v2-only support from one with v3 support? Oh, I forgot about this need. So if you want I can suggest adding...
All right, I've suggested that: https://gcc.gnu.org/pipermail/gcc-patches/2022-May/594012.html
@rui314 Can you please experiment with the latest suggested plug-in extension patches: https://gcc.gnu.org/pipermail/gcc-patches/2022-June/596856.html ?
Just a quick note, 2 of 3 patches are upstreamed and I'm right now waiting for your feedback about the `LDPT_GET_API_VERSION`. Any estimation when can you get to that?
Can you please test also GCC-built mold?