projects-nexus / nexus_kernel_xiaomi_sm8250

Nexus CAF 4.19 Kernel Source for sm8250 devices
Other
51 stars 59 forks source link

how to solve problems. #6

Open wyh757787026 opened 3 months ago

wyh757787026 commented 3 months ago

/fs/exec.c:1874:22: error: use of undeclared identifier 'PF_PERF_CRITICAL' 1874 | current->flags |= PF_PERF_CRITICAL; | ^ ../fs/exec.c:1875:34: error: use of undeclared identifier 'cpu_perf_mask'; did you mean 'cpu_cpu_mask'? 1875 | set_cpus_allowed_ptr(current, cpu_perf_mask); | ^~~~~ | cpu_cpu_mask ../include/linux/topology.h:208:37: note: 'cpu_cpu_mask' declared here 208 | static inline const struct cpumask cpu_cpu_mask(int cpu) | ^ ../fs/exec.c:1879:22: error: use of undeclared identifier 'PF_PERF_CRITICAL' 1879 | current->flags |= PF_PERF_CRITICAL; | ^ ../fs/exec.c:1880:34: error: use of undeclared identifier 'cpu_perf_mask'; did you mean 'cpu_cpu_mask'? 1880 | set_cpus_allowed_ptr(current, cpu_perf_mask); | ^~~~~ | cpu_cpu_mask ../include/linux/topology.h:208:37: note: 'cpu_cpu_mask' declared here 208 | static inline const struct cpumask cpu_cpu_mask(int cpu)

NotZeetaa commented 3 months ago

@wyh757787026 Should be fixed now

wyh757787026 commented 3 months ago

@NotZeetaa In the actual a14-rebase compilation process, the previous problem has been dealt with, but a new problem has appeared. It has been stopped at the position shown in the figure below, how to solve it e5e1b878ed01af69f0a27104eb57d3e4

NotZeetaa commented 3 months ago

@wyh757787026 U are building with LTO optimization, ur machine probably isn't capable of doing that

wyh757787026 commented 3 months ago

@NotZeetaa How to build optimizations without using LTO for compilation

wyh757787026 commented 3 months ago

@NotZeetaa QQ_1721836944524