2.3.99-pre4-2 compile error.

From: Simon Fowler (simon@bg36.anu.edu.au)
Date: Sat Apr 01 2000 - 02:28:07 EST

  • Next message: Andre Hedrick: "Re: Linux 2000(tm)(r)"

    Hello all.
    I'm getting errors when I try building 2.3.99-pre4-2:

    ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
            --start-group \
            arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
            drivers/block/block.a drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/parport/parport.a drivers/char/drm/drm.o drivers/char/agp/agp.o drivers/ide/ide.a drivers/cdrom/cdrom.a drivers/pci/pci.a drivers/video/video.o \
            net/network.a \
            /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a \
            --end-group \
            -o vmlinux
    arch/i386/kernel/head.o: In function `_stext':
    arch/i386/kernel/head.o(.text+0xf): relocation truncated to fit: R_386_32 pg0
    arch/i386/kernel/head.o(.text+0x20): relocation truncated to fit: R_386_32 empty_zero_page
    arch/i386/kernel/head.o(.text+0x27): relocation truncated to fit: R_386_32 swapper_pg_dir
    arch/i386/kernel/kernel.o: In function `machine_real_restart':
    arch/i386/kernel/kernel.o(.text+0x19fa): relocation truncated to fit: R_386_32 swapper_pg_dir
    arch/i386/kernel/kernel.o: In function `trap_init_f00f_bug':
    arch/i386/kernel/kernel.o(.text.init+0x3ec): relocation truncated to fit: R_386_32 idt_table
    arch/i386/kernel/kernel.o: In function `setup_arch':
    arch/i386/kernel/kernel.o(.text.init+0xb9f): relocation truncated to fit: R_386_32 _text
    arch/i386/kernel/kernel.o(.text.init+0xba9): relocation truncated to fit: R_386_32 _etext
    arch/i386/kernel/kernel.o(.text.init+0xbb3): relocation truncated to fit: R_386_32 _etext
    arch/i386/kernel/kernel.o(.text.init+0xbbd): relocation truncated to fit: R_386_32 _edata
    arch/i386/kernel/kernel.o(.text.init+0xcf8): relocation truncated to fit: R_386_32 _end
    arch/i386/mm/mm.o: In function `get_bad_pte_table':
    arch/i386/mm/mm.o(.text+0x1): relocation truncated to fit: R_386_32 empty_bad_page
    arch/i386/mm/mm.o: In function `paging_init':
    arch/i386/mm/mm.o(.text.init+0x299): relocation truncated to fit: R_386_32 swapper_pg_dir
    mm/mm.o: In function `zeromap_page_range':
    mm/mm.o(.text+0xb1a): relocation truncated to fit: R_386_32 empty_zero_page
    mm/mm.o: In function `do_wp_page':
    mm/mm.o(.text+0xff0): relocation truncated to fit: R_386_32 empty_zero_page
    mm/mm.o: In function `do_anonymous_page':
    mm/mm.o(.text+0x157d): relocation truncated to fit: R_386_32 empty_zero_page
    make: *** [vmlinux] Error 1

    This is a Debian potato box, as up to date as I can make it. It's
    a K7 cpu, but the same error comes up if I configure for
    PPro/PII. The 2.3.99-pre4-2 kernel builds without problems on a RedHat 6.1
    box.
    ver_linux gives this output:
    caccini:/usr/src/linux# ./scripts/ver_linux
    -- Versions installed: (if some fields are empty or look
    -- unusual then possibly you have very old versions)
    Linux caccini 2.3.99-pre4 #8 Thu Mar 30 22:30:03 EST 2000 i686 unknown
    Kernel modules 2.3.9
    Gnu C 2.95.2
    Binutils 2.9.5.0.31
    Linux C Library 2.1.3
    Dynamic linker ldd: version 1.9.11
    Procps 2.0.6
    Mount 2.10f
    Net-tools 2.05
    Console-tools 0.2.3
    Sh-utils 2.0
    Modules Loaded sb opl3 sb_lib uart401 sound soundcore parport_pc lp parport tulip ne2k-pci 8390 vfat fat nfs lockd sunrpc

    This is the config file I used (only the stuff that was set, for
    brevity):
    #
    # Automatically generated by make menuconfig: don't edit
    #
    CONFIG_X86=y
    CONFIG_ISA=y
    CONFIG_UID16=y

    #
    # Code maturity level options
    #
    CONFIG_EXPERIMENTAL=y

    #
    # Processor type and features
    #
    CONFIG_MK7=y
    CONFIG_X86_WP_WORKS_OK=y
    CONFIG_X86_INVLPG=y
    CONFIG_X86_CMPXCHG=y
    CONFIG_X86_BSWAP=y
    CONFIG_X86_POPAD_OK=y
    CONFIG_X86_L1_CACHE_BYTES=32
    CONFIG_X86_TSC=y
    CONFIG_X86_GOOD_APIC=y
    CONFIG_X86_USE_3DNOW=y
    CONFIG_X86_PGE=y
    CONFIG_X86_USE_PPRO_CHECKSUM=y
    CONFIG_NOHIGHMEM=y
    CONFIG_MTRR=y
    CONFIG_X86_UP_IOAPIC=y
    CONFIG_X86_IO_APIC=y
    CONFIG_X86_LOCAL_APIC=y

    #
    # Loadable module support
    #
    CONFIG_MODULES=y
    CONFIG_MODVERSIONS=y
    CONFIG_KMOD=y

    #
    # General setup
    #
    CONFIG_NET=y
    CONFIG_PCI=y
    CONFIG_PCI_GOANY=y
    CONFIG_PCI_BIOS=y
    CONFIG_PCI_DIRECT=y
    CONFIG_PCI_NAMES=y
    CONFIG_SYSVIPC=y
    CONFIG_BSD_PROCESS_ACCT=y
    CONFIG_SYSCTL=y
    CONFIG_KCORE_ELF=y
    CONFIG_BINFMT_AOUT=y
    CONFIG_BINFMT_ELF=y
    CONFIG_BINFMT_MISC=y
    CONFIG_PM=y
    CONFIG_ACPI=y

    #
    # Parallel port support
    #
    CONFIG_PARPORT=m
    CONFIG_PARPORT_PC=m
    CONFIG_PARPORT_PC_FIFO=y
    CONFIG_PARPORT_OTHER=y
    CONFIG_PARPORT_1284=y

    #
    CONFIG_BLK_DEV_FD=y
    CONFIG_BLK_DEV_LOOP=m

    #
    # Networking options
    #
    CONFIG_PACKET=y
    CONFIG_PACKET_MMAP=y
    CONFIG_NETLINK=y
    CONFIG_RTNETLINK=y
    CONFIG_NETLINK_DEV=m
    CONFIG_NETFILTER=y
    CONFIG_UNIX=y
    CONFIG_INET=y
    CONFIG_IP_MULTICAST=y
    CONFIG_SYN_COOKIES=y
    CONFIG_SKB_LARGE=y

    CONFIG_IPV6=m

    #
    # ATA/IDE/MFM/RLL support
    #
    CONFIG_IDE=y

    #
    # IDE, ATA and ATAPI Block devices
    #
    CONFIG_BLK_DEV_IDE=y
    CONFIG_BLK_DEV_IDEDISK=y
    CONFIG_IDEDISK_MULTI_MODE=y
    CONFIG_BLK_DEV_IDECD=y
    CONFIG_BLK_DEV_IDESCSI=m
    CONFIG_BLK_DEV_IDEPCI=y
    CONFIG_IDEPCI_SHARE_IRQ=y
    CONFIG_BLK_DEV_IDEDMA_PCI=y
    CONFIG_IDEDMA_PCI_AUTO=y
    CONFIG_BLK_DEV_IDEDMA=y
    CONFIG_IDEDMA_PCI_EXPERIMENTAL=y
    CONFIG_BLK_DEV_AMD7409=y
    CONFIG_BLK_DEV_VIA82CXXX=y
    CONFIG_IDEDMA_AUTO=y
    CONFIG_BLK_DEV_IDE_MODES=y

    #
    # Network device support
    #
    CONFIG_NETDEVICES=y

    CONFIG_DUMMY=m

    #
    # Ethernet (10 or 100Mbit)
    #
    CONFIG_NET_ETHERNET=y
    CONFIG_NET_PCI=y
    CONFIG_TULIP=m
    CONFIG_NE2K_PCI=m

    #
    # Character devices
    #
    CONFIG_VT=y
    CONFIG_VT_CONSOLE=y
    CONFIG_SERIAL=y
    CONFIG_UNIX98_PTYS=y
    CONFIG_UNIX98_PTY_COUNT=256
    CONFIG_PRINTER=m

    #
    # Mice
    #
    CONFIG_MOUSE=y
    CONFIG_PSMOUSE=y

    CONFIG_RTC=y

    CONFIG_DRM=y
    CONFIG_AGP=y
    CONFIG_AGP_AMD=y

    #
    # File systems
    #
    CONFIG_QUOTA=y
    CONFIG_FAT_FS=m
    CONFIG_MSDOS_FS=m
    CONFIG_VFAT_FS=m
    CONFIG_CRAMFS=m
    CONFIG_ISO9660_FS=y
    CONFIG_JOLIET=y
    CONFIG_PROC_FS=y
    CONFIG_DEVPTS_FS=y
    CONFIG_EXT2_FS=y

    #
    # Network File Systems
    #
    CONFIG_CODA_FS=m
    CONFIG_NFS_FS=m
    CONFIG_SUNRPC=m
    CONFIG_LOCKD=m
    CONFIG_SMB_FS=m
    #
    # Partition Types
    #
    # CONFIG_PARTITION_ADVANCED is not set
    CONFIG_MSDOS_PARTITION=y
    CONFIG_NLS=y

    #
    # Native Language Support
    #
    CONFIG_NLS_CODEPAGE_437=m
    CONFIG_NLS_CODEPAGE_775=m
    CONFIG_NLS_CODEPAGE_850=m
    CONFIG_NLS_CODEPAGE_855=m
    CONFIG_NLS_CODEPAGE_862=m
    CONFIG_NLS_CODEPAGE_863=m
    CONFIG_NLS_CODEPAGE_864=m
    CONFIG_NLS_CODEPAGE_865=m
    CONFIG_NLS_CODEPAGE_866=m
    CONFIG_NLS_ISO8859_1=m
    CONFIG_NLS_ISO8859_2=m
    CONFIG_NLS_ISO8859_3=m
    CONFIG_NLS_ISO8859_4=m
    CONFIG_NLS_ISO8859_5=m
    CONFIG_NLS_ISO8859_6=m
    CONFIG_NLS_ISO8859_7=m
    CONFIG_NLS_ISO8859_8=m
    CONFIG_NLS_ISO8859_9=m
    CONFIG_NLS_ISO8859_14=m
    CONFIG_NLS_ISO8859_15=m
    CONFIG_NLS_KOI8_R=m

    #
    # Console drivers
    #
    CONFIG_VGA_CONSOLE=y
    CONFIG_VIDEO_SELECT=y

    #
    # Sound
    #
    CONFIG_SOUND=m
    CONFIG_SOUND_OSS=m
    CONFIG_SOUND_SB=m
    CONFIG_SOUND_YM3812=m

    #
    # Kernel hacking
    #
    CONFIG_MAGIC_SYSRQ=y

    --
    PGP public key Id 0x144A991C, or ftp://bg36.anu.edu.au/pub/himi/himi.asc
    (crappy) Homepage: http://bg36.anu.edu.au
    doe #237 (see http://www.lemuria.org/DeCSS) 
    My DeCSS mirror: ftp://bg36.anu.edu.au/pub/css/ 
    


    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Apr 01 2000 - 02:38:21 EST