loongson-community / linux-stable

Linux kernel source tree for Loongson
Other
67 stars 21 forks source link

kernel 4.14 depmod warnning #18

Open James6xie opened 5 years ago

James6xie commented 5 years ago

Hi Devs:

I worked on loongson3 platform to build kernel 4.14.74 can go pass. but rpmbuild run depmod said something wrong as below, anyone has this expirence:

my build env is: compileris : gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC binutils info: GNU ld version 2.28-11.fc21.loongson.4 kernel info: Linux kojibuilder3 3.10.84-19.fc21.loongson.2.mips64el #1 SMP PREEMPT Fri Jul 6 18:47:47 CST 2018 mips64 mips64 mips64 GNU/Linux

James6xie commented 5 years ago

maybe we need a EXPORT_SYMBOL patches ?

FlyGoat commented 5 years ago

Try 4.19 with loongson3_hpconfig? It seemed like we have nothing to do with it since it should be a upstream issue.

FlyGoat commented 5 years ago

http://mirror.lemote.com:8000/fedora/fedora28-live/Fedora28_for_loongson-MATE-Live-2.iso

And you may try Fedora28 as build host since it have built in 4.19 kernel.

James6xie commented 5 years ago

http://mirror.lemote.com:8000/fedora/fedora28-live/Fedora28_for_loongson-MATE-Live-2.iso

And you may try Fedora28 as build host since it have built in 4.19 kernel.

Tx, I had try to build on a Fedora28_for_loongson-MATE-Live-2.iso installed OS. I'd also had some truble as below:

  1. Checkconfig will broken build process, because of CONFIG_PLUGIN_HOSTCC="g++" in SOURCES config , but genarated .config under configs/temp* CONFIG_PLUGIN_HOSTCC="" is empty.

  2. I did not find any debug config , so i should disable {with_debuginfo} for mips, ethier build will broken, maybe we need a debug config on loongson3 or others;

  3. IIO was not enable by kernel config, and i noticed someone comment iio in filelist section, but not comment releated rules in kernel.spec, it make building process broken.

That's all , the reason why who can take any idea.