View previous topic :: View next topic |
Author |
Message |
dtlgc n00b
Joined: 27 Jul 2004 Posts: 60 Location: Texas
|
Posted: Wed Apr 16, 2008 8:55 pm Post subject: kernel recompile error [solved] |
|
|
Hello,
trying to recompile my kernel, and getting an error:
Quote: |
make dep && make bzImage modules modules_install
*** Warning: make dep is unnecessary now.
CHK include/linux/version.h
make[1]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
CHK include/asm-x86_64/offset.h
CHK include/linux/compile.h
CC arch/x86_64/kernel/process.o
{standard input}: Assembler messages:
{standard input}:718: Error: suffix or operands invalid for `mov'
{standard input}:741: Error: suffix or operands invalid for `mov'
{standard input}:1475: Error: suffix or operands invalid for `mov'
{standard input}:1476: Error: suffix or operands invalid for `mov'
{standard input}:1477: Error: suffix or operands invalid for `mov'
{standard input}:1478: Error: suffix or operands invalid for `mov'
make[1]: *** [arch/x86_64/kernel/process.o] Error 1
make: *** [arch/x86_64/kernel] Error 2
|
well, actually this is a 2.6 kernel, but still get this error:
Quote: |
make && make modules_install
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
make[1]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
CHK include/asm-x86_64/offset.h
CHK include/linux/compile.h
CC arch/x86_64/kernel/process.o
{standard input}: Assembler messages:
{standard input}:718: Error: suffix or operands invalid for `mov'
{standard input}:741: Error: suffix or operands invalid for `mov'
{standard input}:1475: Error: suffix or operands invalid for `mov'
{standard input}:1476: Error: suffix or operands invalid for `mov'
{standard input}:1477: Error: suffix or operands invalid for `mov'
{standard input}:1478: Error: suffix or operands invalid for `mov'
make[1]: *** [arch/x86_64/kernel/process.o] Error 1
make: *** [arch/x86_64/kernel] Error 2
|
Quote: |
emerge --info
Portage 2.1.4.4 (default-linux/amd64/2006.1/desktop, gcc-3.4.6, glibc-2.6.1-r0, 2.6.9-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Wed, 16 Apr 2008 20:33:01 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.3.5-r3, 2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.mirrors.pair.com/"
LANG="en_US.ISO-8859-1"
LC_ALL="C"
LINGUAS="us"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alsa amd64 arts berkdb cairo cdr cli cracklib crypt cups dbus dri dvd dvdr emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk2 hal iconv ipv6 isdnlog jpeg kde ldap mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openmp oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection session spell spl ssl tcpd truetype unicode usb vorbis xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="us" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
any help appreciated.
Last edited by dtlgc on Thu Apr 17, 2008 2:55 pm; edited 1 time in total |
|
Back to top |
|
|
alienjon Veteran
Joined: 09 Feb 2005 Posts: 1726
|
Posted: Wed Apr 16, 2008 9:42 pm Post subject: |
|
|
Umm... I haven't seen this problem before, but my first reaction would be to check the .config file. Would you please post it? |
|
Back to top |
|
|
dtlgc n00b
Joined: 27 Jul 2004 Posts: 60 Location: Texas
|
Posted: Wed Apr 16, 2008 9:59 pm Post subject: |
|
|
Thanks for the response.
I am going to switch this machine over to the Hardened Gentoo project.
If I get similar errors. I will post them.
-Steve |
|
Back to top |
|
|
dtlgc n00b
Joined: 27 Jul 2004 Posts: 60 Location: Texas
|
Posted: Thu Apr 17, 2008 2:56 pm Post subject: |
|
|
Switched to a newer kernel, and recompiled - all is well..
Steve |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|