Date: Sun, 19 Aug 2001 20:10:50 -0700 (PDT) From: Greg Satz <satz@iranger.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/29882: stable 4.3 kernel compile fails for multi-processor Message-ID: <200108200310.f7K3Aom31680@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 29882 >Category: i386 >Synopsis: stable 4.3 kernel compile fails for multi-processor >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 19 20:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Greg Satz >Release: 4.3 stable >Organization: >Environment: >Description: fnu# make linking kernel mp_machdep.o: In function `ap_init': mp_machdep.o(.text+0x219c): undefined reference to `enable_sse' *** Error code 1 Stop in /usr/src/sys/compile/IRANGER. happens when attempting to use the following config file. >How-To-Repeat: # # IRANGER # machine i386 cpu I586_CPU ident IRANGER maxusers 5 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O device isa device eisa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers device ahc # AHA2940 and onboard AIC7xxx devices # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 options COM_MULTIPORT #code for some cards with shared IRQs device sio2 at isa? port 0x100 flags 0x0905 device sio3 at isa? port 0x108 flags 0x0905 device sio4 at isa? port 0x110 flags 0x0905 device sio5 at isa? port 0x118 flags 0x0905 device sio6 at isa? port 0x120 flags 0x0905 device sio7 at isa? port 0x128 flags 0x0905 device sio8 at isa? port 0x130 flags 0x0905 device sio9 at isa? port 0x138 flags 0x0905 irq 12 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device vr # VIA Rhine, Rhine II # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device bpf #Berkeley packet filter pseudo-device speaker #Play IBM BASIC-style noises out your speaker >Fix: Either conditional compile out the enable_sse call in mp_machdep or pull out the enable_sse routine in initcpu.c from behind the I686_CPU conditional. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108200310.f7K3Aom31680>