We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS: Arch llvm: 17.0.6-5 lld: 17.0.6-1 Clang: 17.0.6-2
My config: _distro="" _version="" _EXT_CONFIG_PATH=~/.config/frogminer/linux-tkg.cfg _NUKR="true" _git_mirror="" _kernel_work_folder="" _kernel_source_folder="" CUSTOM_GCC_PATH="" CUSTOM_LLVM_PATH="" _force_all_threads="true" _noccache="false" _kernel_on_diet="false" _modprobeddb="true" _modprobeddb_db_path=~/.config/modprobed.db _menunconfig="false" _diffconfig="" _diffconfig_name="" _dracut_options="--lz4" _configfile="" _config_updating="olddefconfig" _debugdisable="false" _STRIP="true" _cpusched="eevdf" _compiler="llvm" _libunwind_replace="" _llvm_ias="1" _lto_mode="full" _preempt_rt="" _preempt_rt_force="" _sched_yield_type="" _rr_interval="" _ftracedisable="true" _numadisable="true" _misc_adds="true" _tickless="1" _acs_override="" _bcachefs="false" _ntsync="false" _waydroid="" _glitched_base="true" _zenify="true" _compileroptlevel="2" _processor_opt="skylakex" _cacule_rdb="false" _cacule_rdb_interval="19" _tt_high_hz="false" _smt_nice="" _eevdf_sched_ext_support="true" _random_trust_cpu="true" _timer_freq="" _default_cpu_gov="ondemand" _aggressive_ondemand="true" _tcp_cong_alg="" _custom_commandline="intel_pstate=passive kernel.split_lock_mitigate=0" _clear_patches="true" _openrgb="true" _custom_pkgbase="" _kernel_localversion="" _NR_CPUS_value="" _install_after_building="prompt" _logging_use_script="yes" _fsync_backport="true" _fsync_legacy="true" _fsync_futex2="false" _zfsfix="true" _runqueue_sharing="" _irq_threading="false" _mglru="true" _community_patches="" _user_patches="true" _user_patches_no_confirm="false" _config_fragments="true" _config_fragments_no_confirm="false"
This worked previously, last version I got to compile with exactly these settings was 6.9.3. Although I think my clang got updated since then.
Now compilation fails when linking with these errors:
make[2]: *** [scripts/Makefile.modfinal:56: fs/nls/nls_ucs2_utils.ko] Error 139 make[2]: *** Deleting file 'fs/nls/nls_ucs2_utils.ko' make[2]: *** Waiting for unfinished jobs.... BTF [M] fs/btrfs/btrfs.ko BTF [M] crypto/cmac.ko make[1]: *** [/home/acesls/Programs/linux-tkg/linux-src-git/Makefile:1860: modules] Error 2 make[1]: *** Waiting for unfinished jobs.... arch/x86/tools/insn_decoder_test: success: Decoded and checked 8697182 instructions TEST posttest arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random instructions with 0 errors (seed:0x5ea88295)make[2]: *** [scripts/Makefile.modfinal:56: fs/nls/nls_ucs2_utils.ko] Error 139 make[2]: *** Deleting file 'fs/nls/nls_ucs2_utils.ko' make[2]: *** Waiting for unfinished jobs.... BTF [M] fs/btrfs/btrfs.ko BTF [M] crypto/cmac.ko make[1]: *** [/home/acesls/Programs/linux-tkg/linux-src-git/Makefile:1860: modules] Error 2 make[1]: *** Waiting for unfinished jobs.... arch/x86/tools/insn_decoder_test: success: Decoded and checked 8697182 instructions TEST posttest arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random instructions with 0 errors (seed:0x5ea88295)
make: *** [Makefile:240: __sub-make] Error 2 ==> ERROR: A failure occurred in build().`
Trying the same with LTO thin gives another but similiar error:
make[2]: *** [scripts/Makefile.modfinal:56: lib/crypto/libcurve25519.ko] Error 139 make[2]: *** Deleting file 'lib/crypto/libcurve25519.ko' make[2]: *** Waiting for unfinished jobs.... BTF [M] drivers/input/joystick/xpad.ko make[2]: *** [scripts/Makefile.modfinal:56: drivers/pinctrl/intel/pinctrl-sunrisepoint.ko] Error 139 make[2]: *** Deleting file 'drivers/pinctrl/intel/pinctrl-sunrisepoint.ko' make[1]: *** [/home/acesls/Programs/linux-tkg/linux-src-git/Makefile:1860: modules] Error 2 make[1]: *** Waiting for unfinished jobs.... arch/x86/tools/insn_decoder_test: success: Decoded and checked 7742882 instructions TEST posttest arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random instructions with 0 errors (seed:0x8dd1ba0c)
make: *** [Makefile:240: __sub-make] Error 2
Sadly I didn't save the whole log, but I will gladly recompile the Kernel to capture the log to post here if someone thinks that'll help.
Building the kernel with _lto_mode="no" works as expected
The text was updated successfully, but these errors were encountered:
See: acmel/dwarves#53
Sorry, something went wrong.
Also: https://lore.kernel.org/all/ZnCWRMfRDMHqSxBb@x1/
No branches or pull requests
OS: Arch
llvm: 17.0.6-5
lld: 17.0.6-1
Clang: 17.0.6-2
My config:
_distro=""
_version=""
_EXT_CONFIG_PATH=~/.config/frogminer/linux-tkg.cfg
_NUKR="true"
_git_mirror=""
_kernel_work_folder=""
_kernel_source_folder=""
CUSTOM_GCC_PATH=""
CUSTOM_LLVM_PATH=""
_force_all_threads="true"
_noccache="false"
_kernel_on_diet="false"
_modprobeddb="true"
_modprobeddb_db_path=~/.config/modprobed.db
_menunconfig="false"
_diffconfig=""
_diffconfig_name=""
_dracut_options="--lz4"
_configfile=""
_config_updating="olddefconfig"
_debugdisable="false"
_STRIP="true"
_cpusched="eevdf"
_compiler="llvm"
_libunwind_replace=""
_llvm_ias="1"
_lto_mode="full"
_preempt_rt=""
_preempt_rt_force=""
_sched_yield_type=""
_rr_interval=""
_ftracedisable="true"
_numadisable="true"
_misc_adds="true"
_tickless="1"
_acs_override=""
_bcachefs="false"
_ntsync="false"
_waydroid=""
_glitched_base="true"
_zenify="true"
_compileroptlevel="2"
_processor_opt="skylakex"
_cacule_rdb="false"
_cacule_rdb_interval="19"
_tt_high_hz="false"
_smt_nice=""
_eevdf_sched_ext_support="true"
_random_trust_cpu="true"
_timer_freq=""
_default_cpu_gov="ondemand"
_aggressive_ondemand="true"
_tcp_cong_alg=""
_custom_commandline="intel_pstate=passive kernel.split_lock_mitigate=0"
_clear_patches="true"
_openrgb="true"
_custom_pkgbase=""
_kernel_localversion=""
_NR_CPUS_value=""
_install_after_building="prompt"
_logging_use_script="yes"
_fsync_backport="true"
_fsync_legacy="true"
_fsync_futex2="false"
_zfsfix="true"
_runqueue_sharing=""
_irq_threading="false"
_mglru="true"
_community_patches=""
_user_patches="true"
_user_patches_no_confirm="false"
_config_fragments="true"
_config_fragments_no_confirm="false"
This worked previously, last version I got to compile with exactly these settings was 6.9.3. Although I think my clang got updated since then.
Now compilation fails when linking with these errors:
make[2]: *** [scripts/Makefile.modfinal:56: fs/nls/nls_ucs2_utils.ko] Error 139
make[2]: *** Deleting file 'fs/nls/nls_ucs2_utils.ko'
make[2]: *** Waiting for unfinished jobs....
BTF [M] fs/btrfs/btrfs.ko
BTF [M] crypto/cmac.ko
make[1]: *** [/home/acesls/Programs/linux-tkg/linux-src-git/Makefile:1860: modules] Error 2
make[1]: *** Waiting for unfinished jobs....
arch/x86/tools/insn_decoder_test: success: Decoded and checked 8697182 instructions
TEST posttest
arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random instructions with 0 errors (seed:0x5ea88295)make[2]: *** [scripts/Makefile.modfinal:56: fs/nls/nls_ucs2_utils.ko] Error 139
make[2]: *** Deleting file 'fs/nls/nls_ucs2_utils.ko'
make[2]: *** Waiting for unfinished jobs....
BTF [M] fs/btrfs/btrfs.ko
BTF [M] crypto/cmac.ko
make[1]: *** [/home/acesls/Programs/linux-tkg/linux-src-git/Makefile:1860: modules] Error 2
make[1]: *** Waiting for unfinished jobs....
arch/x86/tools/insn_decoder_test: success: Decoded and checked 8697182 instructions
TEST posttest
arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random instructions with 0 errors (seed:0x5ea88295)
make: *** [Makefile:240: __sub-make] Error 2
==> ERROR: A failure occurred in build().`
Trying the same with LTO thin gives another but similiar error:
make[2]: *** [scripts/Makefile.modfinal:56: lib/crypto/libcurve25519.ko] Error 139
make[2]: *** Deleting file 'lib/crypto/libcurve25519.ko'
make[2]: *** Waiting for unfinished jobs....
BTF [M] drivers/input/joystick/xpad.ko
make[2]: *** [scripts/Makefile.modfinal:56: drivers/pinctrl/intel/pinctrl-sunrisepoint.ko] Error 139
make[2]: *** Deleting file 'drivers/pinctrl/intel/pinctrl-sunrisepoint.ko'
make[1]: *** [/home/acesls/Programs/linux-tkg/linux-src-git/Makefile:1860: modules] Error 2
make[1]: *** Waiting for unfinished jobs....
arch/x86/tools/insn_decoder_test: success: Decoded and checked 7742882 instructions
TEST posttest
arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random instructions with 0 errors (seed:0x8dd1ba0c)
make: *** [Makefile:240: __sub-make] Error 2
Sadly I didn't save the whole log, but I will gladly recompile the Kernel to capture the log to post here if someone thinks that'll help.
Building the kernel with _lto_mode="no" works as expected
The text was updated successfully, but these errors were encountered: