linux-2.6.16-usermode-r2 # ARCH=um make SYMLINK arch/um/include/kern_constants.h SYMLINK include/asm-um/arch SYMLINK arch/um/include/sysdep SYMLINK arch/um/os SYMLINK include/asm-um/archparam.h SYMLINK include/asm-um/system.h SYMLINK include/asm-um/sigcontext.h SYMLINK include/asm-um/processor.h SYMLINK include/asm-um/ptrace.h SYMLINK include/asm-um/module.h SYMLINK include/asm-um/vm-flags.h SYMLINK include/asm-um/elf.h SYMLINK include/asm-um/host_ldt.h CHK arch/um/include/uml-config.h UPD arch/um/include/uml-config.h gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -D__arch_um__ -DSUBARCH=\"i386\" -Dvmap=kernel_vmap -Din6addr_loopback=kernel_in6addr_loopback -Iarch/um/include -I/usr/src/linux-2.6.16-usermode-r2/arch/um/include/skas -D_FILE_OFFSET_BITS=64 -march=athlon -mpreferred-stack-boundary=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -S -o arch/um/user-offsets.s arch/um/sys-i386/user-offsets.c CHK arch/um/include/user_constants.h UPD arch/um/include/user_constants.h CHK include/linux/version.h UPD include/linux/version.h SYMLINK include/asm -> include/asm-um SPLIT include/linux/autoconf.h -> include/config/* CC arch/um/kernel/asm-offsets.s In file included from include/asm/string.h:4, from include/linux/string.h:24, from include/asm/processor.h:9, from include/asm/thread_info.h:12, from include/linux/thread_info.h:21, from include/linux/preempt.h:10, from include/linux/spinlock.h:50, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/arch/string.h:288:21: asm/mmx.h: No such file or directory In file included from include/asm/string.h:4, from include/linux/string.h:24, from include/asm/processor.h:9, from include/asm/thread_info.h:12, from include/linux/thread_info.h:21, from include/linux/preempt.h:10, from include/linux/spinlock.h:50, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/arch/string.h: In function `__constant_memcpy3d': include/asm/arch/string.h:298: warning: implicit declaration of function `_mmx_memcpy' include/asm/arch/string.h:298: warning: return makes pointer from integer without a cast include/asm/arch/string.h: In function `__memcpy3d': include/asm/arch/string.h:305: warning: return makes pointer from integer without a cast make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2
# emerge --info Portage 2.1-r1 (default-linux/x86/2006.0, gcc-20050130, glibc-2.3.4.20041102-r1, 2.6.17-gentoo_sempron_2500 i686) ================================================================= System uname: 2.6.17-gentoo_sempron_2500 i686 AMD Sempron(tm) 2500+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 7zip X a52 aac ada alsa apache2 apm avi berkdb bitmap-fonts cddb cli crypt css cups dri dv dvd dvdread eds emboss encode esd fame ffmpeg flac foomaticdb fortran gdbm gif gimp gimpprint gimpprint-mng gphoto2 gpm graphviz gs gstreamer gtk gtk2 haskell imagemagick imlib ipv6 isdnlog jpeg kde lcms libfpx libg++ libwww lzo mad matroska mikmod mjpeg mmx mng modplug motif mp3 mpeg musepack musicbrainz ncurses network nls nodrm nptl ogg on-the-fly-crypt opengl pam pascal pcre pdflib perl php png pppd python qt quicktime readline reflection rle ruby samba sdl session skins sndfile speex spell spl sql sse ssl stream svg tcpd theora tiff timidity truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vlm vorbis wma wmf wxwindows xinerama xml xmms xorg xv xvid yv12 zlib elibc_glibc kernel_linux userland_GNU video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 90490 [details] .config
The problem is that you selected K7 as your arch, which includes 3DNOW, which fails to build on UML. I'm not sure how much the picked arch matters on UML, since it's not running directly on the hardware anyway, but for now, the workaround is to pick i686 (which is the default). That will work. I'll take this problem upstream.
(In reply to comment #3) > The problem is that you selected K7 as your arch, which includes 3DNOW, which > fails to build on UML. I'm not sure how much the picked arch matters on UML, > since it's not running directly on the hardware anyway, but for now, the > workaround is to pick i686 (which is the default). That will work. > > I'll take this problem upstream. > I'll take this problem upstream. thanks it compile now
(In reply to comment #3) > The problem is that you selected K7 as your arch, which includes 3DNOW, which > fails to build on UML. I'm not sure how much the picked arch matters on UML, > since it's not running directly on the hardware anyway, but for now, the > workaround is to pick i686 (which is the default). That will work. > > I'll take this problem upstream. > linux-2.6.18-usermode # ARCH=um make scripts/kconfig/conf -s arch/um/Kconfig drivers/net/wireless/bcm43xx/Kconfig:5:warning: 'select' used by config symbol 'BCM43XX' refer to undefined symbol 'HW_RANDOM' SYMLINK arch/um/include/kern_constants.h SYMLINK include/asm-um/arch SYMLINK arch/um/include/sysdep SYMLINK arch/um/os SYMLINK include/asm-um/archparam.h SYMLINK include/asm-um/system.h SYMLINK include/asm-um/sigcontext.h SYMLINK include/asm-um/processor.h SYMLINK include/asm-um/ptrace.h SYMLINK include/asm-um/module.h SYMLINK include/asm-um/vm-flags.h SYMLINK include/asm-um/elf.h SYMLINK include/asm-um/host_ldt.h SYMLINK include/asm-um/segment.h CHK arch/um/include/uml-config.h UPD arch/um/include/uml-config.h CC arch/um/sys-i386/user-offsets.s CHK arch/um/include/user_constants.h UPD arch/um/include/user_constants.h CHK include/linux/version.h UPD include/linux/version.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-um CC arch/um/kernel/asm-offsets.s In file included from include/asm/string.h:4, from include/linux/string.h:21, from include/asm/processor.h:9, from include/asm/thread_info.h:11, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/capability.h:45, from include/linux/sched.h:44, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/arch/string.h:287:21: error: asm/mmx.h: No such file or directory In file included from include/asm/string.h:4, from include/linux/string.h:21, from include/asm/processor.h:9, from include/asm/thread_info.h:11, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/capability.h:45, from include/linux/sched.h:44, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/arch/string.h: In function '__constant_memcpy3d': include/asm/arch/string.h:297: warning: implicit declaration of function '_mmx_memcpy' include/asm/arch/string.h:297: warning: return makes pointer from integer without a cast include/asm/arch/string.h: In function '__memcpy3d': include/asm/arch/string.h:304: warning: return makes pointer from integer without a cast make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 it re-break on the 2,6,18 kernel
Now you have mmx. You cannot select anything but i686 (or x86_64) for UML to build properly. Try with a newer version, and see if that works.