查看问题详情

编号项目分类查看权限最后更新
0000076内核[所有项目] 所有分类公开2019-06-11 18:46
报告员brep分派给lixuefeng 
优先级非常紧急严重性很严重出现频率总是
状态 已分配处理状况未处理 
平台龙芯3a3000开发板操作系统deepin操作系统版本15.4.1
摘要0000076: kernel-4.4.30-1.fc21.loongson.src.rpm 编译失败
描述  HOSTCC arch/mips/vdso/genvdso
  CC kernel/kthread.o
  LDS arch/mips/vdso/vdso-o32.lds
  AS arch/mips/vdso/elf-o32.o
  CC arch/mips/vdso/gettimeofday-o32.o
In file included from ./arch/mips/include/asm/io.h:31:0,
                 from ./arch/mips/include/asm/page.h:176,
                 from arch/mips/vdso/vdso.h:26,
                 from arch/mips/vdso/gettimeofday.c:11:
./arch/mips/include/asm/mach-loongson64/ioremap.h: In function ‘plat_ioremap’:
./arch/mips/include/asm/mach-l HOSTCC arch/mips/vdso/genvdso
  CC kernel/kthread.o
  LDS arch/mips/vdso/vdso-o32.lds
  AS arch/mips/vdso/elf-o32.o
  CC arch/mips/vdso/gettimeofday-o32.o
In file included from ./arch/mips/include/asm/io.h:31:0,
                 from ./arch/mips/include/asm/page.h:176,
                 from arch/mips/vdso/vdso.h:26,
                 from arch/mips/vdso/gettimeofday.c:11:
./arch/mips/include/asm/mach-loongson64/ioremap.h: In function ‘plat_ioremap’:
./arch/mips/include/asm/mach-loongson64/ioremap.h:27:5: error: "CONFIG_64BIT" is not defined [-Werror=undef]
 #if CONFIG_64BIT
     ^
cc1: all warnings being treated as errors
arch/mips/vdso/Makefile:107: recipe for target 'arch/mips/vdso/gettimeofday-o32.o' failed
make[4]: *** [arch/mips/vdso/gettimeofday-o32.o] Error 1
scripts/Makefile.build:403: recipe for target 'arch/mips/vdso' failed
make[3]: *** [arch/mips/vdso] Error 2
Makefile:960: recipe for target 'arch/mips' failed
make[2]: *** [arch/mips] Error 2
oongson64/ioremap.h:27:5: error: "CONFIG_64BIT" is not defined [-Werror=undef]
 #if CONFIG_64BIT
     ^
cc1: all warnings being treated as errors
arch/mips/vdso/Makefile:107: recipe for target 'arch/mips/vdso/gettimeofday-o32.o' failed
make[4]: *** [arch/mips/vdso/gettimeofday-o32.o] Error 1
scripts/Makefile.build:403: recipe for target 'arch/mips/vdso' failed
make[3]: *** [arch/mips/vdso] Error 2
Makefile:960: recipe for target 'arch/mips' failed
make[2]: *** [arch/mips] Error 2
问题重现步骤wget http://ftp.loongnix.org/os/loongnix/1.0/kernel/SRPMS/Packages/kernel-4.4.30-1.fc21.loongson.src.rpm

rpm2cpio kernel-4.4.30-1.fc21.loongson.src.rpm | cpio --extract --make-directories --verbose

cd linux-4.4

cp ../config-mips64el ./.config

make oldconfig

scripts/config --disable DEBUG_INFO

make clean

make -j4 deb-pkg

标签没加标签.

活动

brep

2017-09-18 00:18

报告者   ~0000273

$ cat .config | grep "CONFIG_64BIT"
CONFIG_64BIT=y

brep

2017-09-18 08:55

报告者   ~0000274

知道了,包里缺了一堆补丁,还有AMD显卡的一堆bin

问题历史

日期 用户名 字段 更改
2017-09-18 00:14 brep 新建问题
2017-09-18 00:18 brep 注释已添加: 0000273
2017-09-18 08:55 brep 注释已添加: 0000274
2019-06-11 18:46 administrator 分派给 => lixuefeng
2019-06-11 18:46 administrator 状态 新建 => 已分配