Aditya Nugraha

Results 22 comments of Aditya Nugraha

> ```makefile > RUSTC_LDFLAGS+= $(foreach arg,$(INTL_LDFLAGS),-C link-arg=$(arg)) > # or > RUSTC_LDFLAGS+= -C link-arg=-L$(INTL_PREFIX)/lib -C link-arg=-Wl,-rpath-link=$(INTL_PREFIX)/lib > ``` > RUSTC_LDFLAGS+= -L$(INTL_PREFIX)/lib -lintl @EHfive Thanks a lot for spending time debugging...

@EHfive I have had already read my logs or @muink changes, but maybe because typos and gotten the hypes up of @muink's succeed. > ```diff > diff --git a/lang/rust/rust-values.mk b/lang/rust/rust-values.mk...

Possible fixes, after applied the following in rust-values.mk (line 14) : ``` CARGO_HOME:=$(STAGING_DIR)/host/cargo ``` Compilation going again.

@1715173329 It's just "CONFIG_BUILD_SUFFIX" in OpenWrt config With "CARGO_HOME:=$(DL_DIR)/cargo" above error happened.

This doesn't happened anymore after I delete dl directory and start over, could it be because it was "$(DL_DIR)/cargo" previously used for "glibc" and now used for "musl"?

So the temporary solution would be deleting $(DL_DIR)/cargo (or dl/cargo in OpenWrt root dir) if you switch from glibc to musl or vice versa.

@egorenar Does your branch is already compile-able?, getting the following when compiling with gcc 14 targeting x86_64 glibc : ``` In file included from /home/user/works/openwrt/staging_dir/toolchain-x86_64_gcc-14.1.0_glibc/include/features.h:503, from /home/user/works/openwrt/staging_dir/toolchain-x86_64_gcc-14.1.0_glibc/include/sys/types.h:25, from perl.h:1117, from...

@egorenar Thanks, it compile-able now, but haven't tested functionalities wise. Then you will also use perl_lc_all_category_positions_init for glibc as for musl?, if not how you overcome glibc and musl differences...

``` UPD include/generated/utsversion.h CC init/version-timestamp.o KSYMS .tmp_vmlinux0.kallsyms.S AS .tmp_vmlinux0.kallsyms.o LD .tmp_vmlinux1 x86_64-openwrt-linux-gnu-ld: kernel/vmcore_info.o: in function `crash_save_vmcoreinfo_init': /home/user/works/openwrt/build_dir/target-x86_64_glibc_custom/linux-x86_64/linux-6.12/kernel/vmcore_info.c:217:(.init.text+0x62d): undefined reference to `kallsyms_token_table' x86_64-openwrt-linux-gnu-ld: /home/user/works/openwrt/build_dir/target-x86_64_glibc_custom/linux-x86_64/linux-6.12/kernel/vmcore_info.c:218:(.init.text+0x647): undefined reference to `kallsyms_token_index' make[7]: *** [scripts/Makefile.vmlinux:34:...

@graysky2 Have you tried to start over?, @namiltd is committed x86 supports just few hours ago. I think you should use this PR as starting branch because I only using...