Fedora ARM Secondary Architecture/Kernels

From CDOT Wiki
Revision as of 17:00, 17 April 2010 by Chris Tyler (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

The ARM kernels were previously compiled using a non-RPM process, and usually cross-compiled. This needs to be rolled into the normal RPM build system.

Progress

2010-03-05

  1. Attempting to get the kernel SRPM to build.
    • The spec was disabling the ARM kernel build; changed.
    • The .config file for arm contained "arm" at one point but was expected to contain "armv5tel" at another point; added an mv to work around.
  2. Failed starting with generating include/asm-arm/mach-types.h:
  Generating include/asm-arm/mach-types.h
<stdin>:1351:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1407:2: warning: #warning syscall pselect6 not implemented
<stdin>:1411:2: warning: #warning syscall ppoll not implemented
<stdin>:1451:2: warning: #warning syscall epoll_pwait not implemented
dnsdomainname: Unknown host
kernel/trace/trace_sched_wakeup.c: In function 'probe_wakeup_sched_switch':
kernel/trace/trace_sched_wakeup.c:157: warning: unsupported argument to '__builtin_return_address'
kernel/trace/trace_sched_wakeup.c: In function 'probe_wakeup':
kernel/trace/trace_sched_wakeup.c:266: warning: unsupported argument to '__builtin_return_address'
kernel/trace/trace_sched_wakeup.c:266: warning: unsupported argument to '__builtin_return_address'
mm/mmap.c: In function 'split_vma':
mm/mmap.c:1963: warning: unused variable 'old_end'
mm/mprotect.c: In function 'mprotect_fixup':
mm/mprotect.c:147: warning: unused variable 'old_end'
lib/decompress_bunzip2.c: In function 'get_next_block':
lib/decompress_bunzip2.c:511: warning: the frame size of 1896 bytes is larger than 1024 bytes
dnsdomainname: Unknown host
init/built-in.o: In function `do_one_initcall':
/builddir/build/BUILD/kernel-2.6.31/linux-2.6.31.armv5tel/init/main.c:749: undefined reference to `__gnu_mcount_nc'
init/built-in.o: In function `run_init_process':
/builddir/build/BUILD/kernel-2.6.31/linux-2.6.31.armv5tel/init/main.c:835: undefined reference to `__gnu_mcount_nc'
init/built-in.o: In function `init_post':
/builddir/build/BUILD/kernel-2.6.31/linux-2.6.31.armv5tel/init/main.c:845: undefined reference to `__gnu_mcount_nc'
init/built-in.o: In function `name_to_dev_t':
/builddir/build/BUILD/kernel-2.6.31/linux-2.6.31.armv5tel/init/do_mounts.c:78: undefined reference to `__gnu_mcount_nc'
init/built-in.o: In function `rest_init':
/builddir/build/BUILD/kernel-2.6.31/linux-2.6.31.armv5tel/init/main.c:459: undefined reference to `__gnu_mcount_nc'
init/built-in.o:/builddir/build/BUILD/kernel-2.6.31/linux-2.6.31.armv5tel/init/calibrate.c:123: more undefined references to `__gnu_mcount_nc' follow
+ /usr/lib/rpm/debugedit -b /builddir/build/BUILD -d /usr/src/debug -i .tmp_vmlinux1
Failed to open input file '.tmp_vmlinux1': No such file or directory
make: *** [.tmp_vmlinux1] Error 1