All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel build error
@ 2013-03-17 15:28 Kumar amit mehta
  2013-03-18  4:21 ` Mulyadi Santosa
  0 siblings, 1 reply; 25+ messages in thread
From: Kumar amit mehta @ 2013-03-17 15:28 UTC (permalink / raw)
  To: kernelnewbies

I'm facing a kernel build issue with the latest kernel on my machine. It seem
like a configuration issue, and I haven't been able to resolve it for sometime,
hence need your help. The error message is as below:

<error snip>
ERROR: "copy_from_user_overflow" [net/core/pktgen.ko] undefined!
ERROR: "copy_from_user_overflow" [fs/binfmt_misc.ko] undefined!
ERROR: "copy_from_user_overflow" [drivers/staging/cxt1e1/cxt1e1.ko] undefined!
ERROR: "copy_from_user_overflow" [drivers/isdn/icn/icn.ko] undefined!
ERROR: "copy_from_user_overflow" [drivers/isdn/hardware/avm/b1.ko] undefined!
<error snip>

The subroutine "copy_from_user_overflow" is defined in lib/usercopy.c, and the
'Makefile' in the lib directory looks something like this:
<snip from lib/Makefile>
lib-$(CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS) += usercopy.o
<snip from lib/Makefile>

I think that this config option should be a built-in ('y') and I see that this 
config option is indeed set to 'y' in the .config file.
<snip from .config>
amit at ubuntu:~/linux-next/linux-next$ grep
CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS .config
CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS=y
<snip from .config>

So what am I missing here ?

Some information about my git tree:
amit at ubuntu:~/linux-next/linux-next$ git remote show origin
* remote origin
  Fetch URL: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

amit at ubuntu:~/linux-next/linux-next$ git tag -l next-*|tail -n 1
next-20130314 <--- latest tag

amit@ubuntu:~/linux-next/linux-next$ git branch
* 15-March <--- --  branch based on the latest tag
  22-Feb-13

-Amit

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Kernel build error
@ 2019-08-22 12:27 James David Lyons
  0 siblings, 0 replies; 25+ messages in thread
From: James David Lyons @ 2019-08-22 12:27 UTC (permalink / raw)
  To: linuxppc-dev

I'm have trouble building the latest stabe kernel linux-5.2.9 on Debian
10 ppc

 uname -r
4.16.0-1-powerpc64


 CC      kernel/iomem.o
  CC      kernel/rseq.o
  AR      kernel/built-in.a
make[2]: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2
make[1]: *** [scripts/package/Makefile:75: deb-pkg] Error 2
make: *** [Makefile:1422: deb-pkg] Error 2

I'm not sure if it's a problem with the Tabs or white spaces in the
debian/rules file or another issue. I ran into this before but don't
remember how I fixed it, or if I downloaded and oldeer kernel.
#!/usr/bin/make -f

srctree ?= .

build:
        $(MAKE) KERNELRELEASE=5.2.9
ARCH=powerpc        KBUILD_BUILD_VERSION=1 -f $(srctree)/Makefile

binary-arch:
        $(MAKE) KERNELRELEASE=5.2.9
ARCH=powerpc        KBUILD_BUILD_VERSION=1 -f $(srctree)/Makefile
intdeb-pkg

clean:
        rm -rf debian/*tmp debian/files
        $(MAKE) clean

binary: binary-arch

Anyone know how to fix this, or what the error means?



^ permalink raw reply	[flat|nested] 25+ messages in thread
* Kernel Build error
@ 2016-04-26  6:30 Harinath maddelal
  2016-04-26  6:43 ` Khem Raj
  0 siblings, 1 reply; 25+ messages in thread
From: Harinath maddelal @ 2016-04-26  6:30 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2803 bytes --]

Hi All,


When i'm trying to build my kernel using yocto, im getting following error

|   CHK     include/generated/compile.h
|   AS      arch/mips/kernel/r4k_fpu.o
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S: Assembler messages:
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:89: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f0,272+0($4)'
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:90: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f2,272+16($4)'
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:91: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f4,272+32($4)'
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:92: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f6,272+48($4)'
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:93: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f8,272+64($4)'
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:94: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f10,272+80($4)'
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:95: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f12,272+96($4)'
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:96: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f14,272+112($4)'
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:97: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f16,272+128($4)'
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:98: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f18,272+144($4)'
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:99: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f20,272+160($4)'
| /home/harinathm/poky/build/tmp/work-shared/dhruva/kernel-source/arch/mips/kernel/r4k_fpu.S:100: Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f22,272+176($4)'



Can you please tell me what could be the issue? We have used mips32r2 in our machine file but if the error log is observed where it says "Error: opcode not supported on this processor: mips3 (mips3) `sdc1 $f6,272+48($4)".


Can you please help me resolve this issue. Thanks in Advance


Thanks and Regards,
Harinath


[-- Attachment #2: Type: text/html, Size: 3621 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Kernel build error
@ 2005-05-12 22:30 mcnernbm
  0 siblings, 0 replies; 25+ messages in thread
From: mcnernbm @ 2005-05-12 22:30 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]

Using the 2.4 kernel tree with a 2.4.26 kernel I am receive the following 
error when trying to build for the powerpc 405.
I set the arch: to arch: ppc and set the cross-compile line in the make 
file. 
Make dep and make modules runs fine.
But when I run make zImage I receive the follwoing error:

mv: can't stat source zvmlinux
make[2]: *** [zImage] Error 1
make[2]: Leaving directory 
'/ppclinux/v2.4.26_linuxppc_2_4_devel/linuxppc_2_4_devel/arch/ppc/boot/simple'
make[1]: *** [zImage] Error 2
make[1]: Leaving directory 
'/ppclinux/v2.4.26_linuxppc_2_4_devel/linuxppc_2_4_devel/arch/ppc/boot/'
make: *** [zImage] Error 2

I am using the default xilinx_ml300 arch config file so I can at least get 
the kernel to build before attempting to build one for my specific virtex 
II pro board.  Does anyone know what might be causing this?

I am using gcc-3.4.1 and glibc-2.3.5.  Not sure if this is part of the 
issue or but if so which version should I be using?  And is it the 2.4.26 
kernel that is the issue?  Should i go back to an older one that is used 
in alot of the tutorials for the xilinx ml300 board.
Thanks
Brett

[-- Attachment #2: Type: text/html, Size: 1736 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2019-08-22 17:05 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-17 15:28 kernel build error Kumar amit mehta
2013-03-18  4:21 ` Mulyadi Santosa
2013-03-19  5:28   ` Kumar amit mehta
2013-03-19 14:43     ` Mulyadi Santosa
2013-03-20  6:56       ` Kumar amit mehta
2013-03-20  7:07         ` Kumar amit mehta
2013-03-20  9:48           ` Ben Wu
2013-03-20  9:49           ` wake_lock in linux kernel Ben Wu
2013-03-21  4:34             ` Yuva Raj
2013-03-20 17:32           ` kernel build error Valdis.Kletnieks at vt.edu
2013-03-21  6:16           ` Kumar amit mehta
2013-03-22  3:41             ` Mulyadi Santosa
2013-03-22 10:17               ` Kumar amit mehta
2013-03-24  5:49                 ` Mulyadi Santosa
2013-03-25  5:04                   ` Kumar amit mehta
2013-03-25  7:36                     ` Mulyadi Santosa
     [not found]                   ` <20130331044544.GA3291@gmail.com>
2013-04-02  3:04                     ` Mulyadi Santosa
2013-04-02  6:19                       ` Kumar amit mehta
2013-04-02 13:40                         ` Mulyadi Santosa
  -- strict thread matches above, loose matches on Subject: below --
2019-08-22 12:27 Kernel " James David Lyons
2016-04-26  6:30 Kernel Build error Harinath maddelal
2016-04-26  6:43 ` Khem Raj
2016-04-26  7:10   ` Harinath maddelal
2016-04-26 14:17     ` Khem Raj
2005-05-12 22:30 Kernel build error mcnernbm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.