* Re: Link error with linux-2.5 bk
2004-01-20 14:48 Link error with linux-2.5 bk Martin Hicks
@ 2004-01-20 21:09 ` Darren Williams
2004-01-21 16:55 ` Luck, Tony
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Darren Williams @ 2004-01-20 21:09 UTC (permalink / raw)
To: linux-ia64
Hi Martin
We are getting similar errors on our automated compile
server, see:
http://www.gelato.unsw.edu.au/kerncomp/
for results.
Yesterday while I was tracking some of the problems I
could manually compile revision 1.1493 with generic_defconfig.
Give that a go for the moment and we will report on the latest
snapshot later today, which is still producing errors.
Darren
On Tue, 20 Jan 2004, Martin Hicks wrote:
>
> Hi,
>
> I'm running into the following:
>
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> local symbol 0: discarded in section `.exit.text' from drivers/built-in.o
> make: *** [.tmp_vmlinux1] Error 1
>
>
> This is with a `bk pull` from Linus' linux-2.5 tree from yesterday (I
> also tried this morning again). The option that seems to set this off
> is CONFIG_DUMMY. I also considered that it might be size related, but
> the same option seemed to trigger it even when I disabled almost every
> other driver (even ones that I really needed to boot, like mptfusion).
>
> reproduced with:
>
> ii gcc 3.3.2-2 The GNU C compiler
> ii binutils 2.14.90.0.7-3 The GNU assembler, linker and binary utilities
>
> on debian sid, as well as a compiler built by hand:
>
> [mort@tomahawk mort]$ ld -v
> GNU ld version 2.14.90.0.6 20030820
> [mort@tomahawk mort]$ gcc -v
> Reading specs from /usr/local/gcc-3.2.3/bin//../lib/gcc-lib/ia64-unknown-linux-gnu/3.2.3/specs
> Configured with: ./configure --prefix=/usr/local/gcc-3.2.3
> Thread model: posix
> gcc version 3.2.3
>
> A .config is attached.
>
> Thanks,
> mh
>
> --
> Martin Hicks Wild Open Source Inc.
> mort@wildopensource.com 613-266-2296
> #
> # Automatically generated make config: don't edit
> #
>
> #
> # Code maturity level options
> #
> CONFIG_EXPERIMENTAL=y
> # CONFIG_CLEAN_COMPILE is not set
> # CONFIG_STANDALONE is not set
> CONFIG_BROKEN=y
> CONFIG_BROKEN_ON_SMP=y
>
> #
> # General setup
> #
> CONFIG_SWAP=y
> CONFIG_SYSVIPC=y
> CONFIG_BSD_PROCESS_ACCT=y
> CONFIG_SYSCTL=y
> CONFIG_LOG_BUF_SHIFT\x16
> CONFIG_IKCONFIG=y
> CONFIG_IKCONFIG_PROC=y
> # CONFIG_EMBEDDED is not set
> CONFIG_KALLSYMS=y
> CONFIG_FUTEX=y
> CONFIG_EPOLL=y
> CONFIG_IOSCHED_NOOP=y
> CONFIG_IOSCHED_AS=y
> CONFIG_IOSCHED_DEADLINE=y
> # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
>
> #
> # Loadable module support
> #
> # CONFIG_MODULES is not set
>
> #
> # Processor type and features
> #
> CONFIG_IA64=y
> CONFIG_64BIT=y
> CONFIG_MMU=y
> CONFIG_RWSEM_XCHGADD_ALGORITHM=y
> CONFIG_TIME_INTERPOLATION=y
> CONFIG_EFI=y
> # CONFIG_ITANIUM is not set
> CONFIG_MCKINLEY=y
> # CONFIG_IA64_GENERIC is not set
> # CONFIG_IA64_DIG is not set
> CONFIG_IA64_HP_ZX1=y
> # CONFIG_IA64_SGI_SN2 is not set
> # CONFIG_IA64_HP_SIM is not set
> # CONFIG_IA64_PAGE_SIZE_4KB is not set
> # CONFIG_IA64_PAGE_SIZE_8KB is not set
> CONFIG_IA64_PAGE_SIZE_16KB=y
> # CONFIG_IA64_PAGE_SIZE_64KB is not set
> CONFIG_ACPI=y
> CONFIG_ACPI_INTERPRETER=y
> CONFIG_ACPI_KERNEL_CONFIG=y
> CONFIG_IA64_L1_CACHE_SHIFT=7
> # CONFIG_MCKINLEY_ASTEP_SPECIFIC is not set
> # CONFIG_NUMA is not set
> CONFIG_VIRTUAL_MEM_MAP=y
> CONFIG_IA64_MCA=y
> CONFIG_PM=y
> CONFIG_IOSAPIC=y
> CONFIG_FORCE_MAX_ZONEORDER\x18
> # CONFIG_HUGETLB_PAGE_SIZE_4GB is not set
> # CONFIG_HUGETLB_PAGE_SIZE_1GB is not set
> # CONFIG_HUGETLB_PAGE_SIZE_256MB is not set
> CONFIG_HUGETLB_PAGE_SIZE_64MB=y
> # CONFIG_HUGETLB_PAGE_SIZE_16MB is not set
> # CONFIG_HUGETLB_PAGE_SIZE_4MB is not set
> # CONFIG_HUGETLB_PAGE_SIZE_1MB is not set
> # CONFIG_HUGETLB_PAGE_SIZE_256KB is not set
> # CONFIG_IA64_PAL_IDLE is not set
> CONFIG_SMP=y
> # CONFIG_PREEMPT is not set
> CONFIG_IA32_SUPPORT=y
> CONFIG_COMPAT=y
> CONFIG_HAVE_DEC_LOCK=y
> CONFIG_PERFMON=y
> CONFIG_IA64_PALINFO=y
> CONFIG_EFI_VARS=y
> CONFIG_NR_CPUS\x16
> CONFIG_BINFMT_ELF=y
> CONFIG_BINFMT_MISC=y
>
> #
> # ACPI (Advanced Configuration and Power Interface) Support
> #
> CONFIG_ACPI_BOOT=y
> CONFIG_ACPI_BUTTON=y
> CONFIG_ACPI_FAN=y
> CONFIG_ACPI_PROCESSOR=y
> CONFIG_ACPI_THERMAL=y
> # CONFIG_ACPI_DEBUG is not set
> CONFIG_ACPI_BUS=y
> CONFIG_ACPI_POWER=y
> CONFIG_ACPI_PCI=y
> CONFIG_ACPI_SYSTEM=y
> # CONFIG_ACPI_RELAXED_AML is not set
> CONFIG_PCI=y
> CONFIG_PCI_DOMAINS=y
> CONFIG_PCI_LEGACY_PROC=y
> CONFIG_PCI_NAMES=y
> CONFIG_HOTPLUG=y
>
> #
> # PCI Hotplug Support
> #
> # CONFIG_HOTPLUG_PCI is not set
>
> #
> # PCMCIA/CardBus support
> #
> # CONFIG_PCMCIA is not set
>
> #
> # Parallel port support
> #
> # CONFIG_PARPORT is not set
>
> #
> # Generic Driver Options
> #
> # CONFIG_FW_LOADER is not set
>
> #
> # Memory Technology Devices (MTD)
> #
> # CONFIG_MTD is not set
>
> #
> # Plug and Play support
> #
> # CONFIG_PNP is not set
>
> #
> # Block devices
> #
> # CONFIG_BLK_DEV_FD is not set
> # CONFIG_BLK_CPQ_DA is not set
> # CONFIG_BLK_CPQ_CISS_DA is not set
> # CONFIG_BLK_DEV_DAC960 is not set
> # CONFIG_BLK_DEV_UMEM is not set
> CONFIG_BLK_DEV_LOOP=y
> # CONFIG_BLK_DEV_CRYPTOLOOP is not set
> # CONFIG_BLK_DEV_NBD is not set
> CONFIG_BLK_DEV_RAM=y
> CONFIG_BLK_DEV_RAM_SIZE@96
> CONFIG_BLK_DEV_INITRD=y
>
> #
> # ATA/ATAPI/MFM/RLL support
> #
> CONFIG_IDE=y
> CONFIG_BLK_DEV_IDE=y
>
> #
> # Please see Documentation/ide.txt for help/info on IDE drives
> #
> CONFIG_BLK_DEV_IDEDISK=y
> CONFIG_IDEDISK_MULTI_MODE=y
> # CONFIG_IDEDISK_STROKE is not set
> CONFIG_BLK_DEV_IDECD=y
> # CONFIG_BLK_DEV_IDETAPE is not set
> CONFIG_BLK_DEV_IDEFLOPPY=y
> CONFIG_BLK_DEV_IDESCSI=y
> CONFIG_IDE_TASK_IOCTL=y
> CONFIG_IDE_TASKFILE_IO=y
>
> #
> # IDE chipset support/bugfixes
> #
> CONFIG_BLK_DEV_IDEPCI=y
> CONFIG_IDEPCI_SHARE_IRQ=y
> # CONFIG_BLK_DEV_OFFBOARD is not set
> CONFIG_BLK_DEV_GENERIC=y
> # CONFIG_BLK_DEV_OPTI621 is not set
> CONFIG_BLK_DEV_IDEDMA_PCI=y
> # CONFIG_BLK_DEV_IDEDMA_FORCED is not set
> CONFIG_IDEDMA_PCI_AUTO=y
> # CONFIG_IDEDMA_ONLYDISK is not set
> # CONFIG_IDEDMA_PCI_WIP is not set
> CONFIG_BLK_DEV_ADMA=y
> # CONFIG_BLK_DEV_AEC62XX is not set
> # CONFIG_BLK_DEV_ALI15X3 is not set
> # CONFIG_BLK_DEV_AMD74XX is not set
> CONFIG_BLK_DEV_CMD64X=y
> # CONFIG_BLK_DEV_TRIFLEX is not set
> # CONFIG_BLK_DEV_CY82C693 is not set
> # CONFIG_BLK_DEV_CS5520 is not set
> # CONFIG_BLK_DEV_CS5530 is not set
> # CONFIG_BLK_DEV_HPT34X is not set
> # CONFIG_BLK_DEV_HPT366 is not set
> # CONFIG_BLK_DEV_SC1200 is not set
> # CONFIG_BLK_DEV_PIIX is not set
> # CONFIG_BLK_DEV_NS87415 is not set
> # CONFIG_BLK_DEV_PDC202XX_OLD is not set
> # CONFIG_BLK_DEV_PDC202XX_NEW is not set
> # CONFIG_BLK_DEV_SVWKS is not set
> # CONFIG_BLK_DEV_SIIMAGE is not set
> # CONFIG_BLK_DEV_SLC90E66 is not set
> # CONFIG_BLK_DEV_TRM290 is not set
> # CONFIG_BLK_DEV_VIA82CXXX is not set
> CONFIG_BLK_DEV_IDEDMA=y
> # CONFIG_IDEDMA_IVB is not set
> CONFIG_IDEDMA_AUTO=y
> # CONFIG_DMA_NONPCI is not set
> # CONFIG_BLK_DEV_HD is not set
>
> #
> # IEEE 1394 (FireWire) support (EXPERIMENTAL)
> #
> # CONFIG_IEEE1394 is not set
>
> #
> # I2O device support
> #
> # CONFIG_I2O is not set
>
> #
> # Multi-device support (RAID and LVM)
> #
> # CONFIG_MD is not set
>
> #
> # Fusion MPT device support
> #
> CONFIG_FUSION=y
> CONFIG_FUSION_BOOT=y
> CONFIG_FUSION_MAX_SGE@
>
> #
> # SCSI device support
> #
> CONFIG_SCSI=y
> CONFIG_SCSI_PROC_FS=y
>
> #
> # SCSI support type (disk, tape, CD-ROM)
> #
> CONFIG_BLK_DEV_SD=y
> # CONFIG_CHR_DEV_ST is not set
> # CONFIG_CHR_DEV_OSST is not set
> # CONFIG_BLK_DEV_SR is not set
> CONFIG_CHR_DEV_SG=y
>
> #
> # Some SCSI devices (e.g. CD jukebox) support multiple LUNs
> #
> CONFIG_SCSI_MULTI_LUN=y
> CONFIG_SCSI_REPORT_LUNS=y
> # CONFIG_SCSI_CONSTANTS is not set
> CONFIG_SCSI_LOGGING=y
>
> #
> # SCSI low-level drivers
> #
> # CONFIG_BLK_DEV_3W_XXXX_RAID is not set
> # CONFIG_SCSI_ACARD is not set
> # CONFIG_SCSI_AACRAID is not set
> # CONFIG_SCSI_AIC7XXX is not set
> # CONFIG_SCSI_AIC7XXX_OLD is not set
> # CONFIG_SCSI_AIC79XX is not set
> # CONFIG_SCSI_ADVANSYS is not set
> # CONFIG_SCSI_MEGARAID is not set
> # CONFIG_SCSI_SATA is not set
> # CONFIG_SCSI_BUSLOGIC is not set
> # CONFIG_SCSI_CPQFCTS is not set
> # CONFIG_SCSI_DMX3191D is not set
> # CONFIG_SCSI_EATA is not set
> # CONFIG_SCSI_EATA_PIO is not set
> # CONFIG_SCSI_FUTURE_DOMAIN is not set
> # CONFIG_SCSI_GDTH is not set
> # CONFIG_SCSI_IPS is not set
> # CONFIG_SCSI_INITIO is not set
> # CONFIG_SCSI_INIA100 is not set
> # CONFIG_SCSI_SYM53C8XX_2 is not set
> # CONFIG_SCSI_PCI2000 is not set
> # CONFIG_SCSI_PCI2220I is not set
> # CONFIG_SCSI_QLOGIC_ISP is not set
> # CONFIG_SCSI_QLOGIC_FC is not set
> # CONFIG_SCSI_QLOGIC_1280 is not set
> CONFIG_SCSI_QLA2XXX_CONFIG=y
> # CONFIG_SCSI_QLA21XX is not set
> # CONFIG_SCSI_QLA22XX is not set
> # CONFIG_SCSI_QLA23XX is not set
> # CONFIG_SCSI_DC395x is not set
> # CONFIG_SCSI_DC390T is not set
> # CONFIG_SCSI_NSP32 is not set
> # CONFIG_SCSI_DEBUG is not set
>
> #
> # Networking support
> #
> CONFIG_NET=y
>
> #
> # Networking options
> #
> CONFIG_PACKET=y
> # CONFIG_PACKET_MMAP is not set
> # CONFIG_NETLINK_DEV is not set
> CONFIG_UNIX=y
> # CONFIG_NET_KEY is not set
> CONFIG_INET=y
> CONFIG_IP_MULTICAST=y
> # CONFIG_IP_ADVANCED_ROUTER is not set
> # CONFIG_IP_PNP is not set
> # CONFIG_NET_IPIP is not set
> # CONFIG_NET_IPGRE is not set
> # CONFIG_IP_MROUTE is not set
> # CONFIG_ARPD is not set
> # CONFIG_INET_ECN is not set
> # CONFIG_SYN_COOKIES is not set
> # CONFIG_INET_AH is not set
> # CONFIG_INET_ESP is not set
> # CONFIG_INET_IPCOMP is not set
>
> #
> # IP: Virtual Server Configuration
> #
> # CONFIG_IP_VS is not set
> # CONFIG_IPV6 is not set
> # CONFIG_DECNET is not set
> # CONFIG_BRIDGE is not set
> CONFIG_NETFILTER=y
> # CONFIG_NETFILTER_DEBUG is not set
>
> #
> # IP: Netfilter Configuration
> #
> # CONFIG_IP_NF_CONNTRACK is not set
> # CONFIG_IP_NF_QUEUE is not set
> # CONFIG_IP_NF_IPTABLES is not set
> CONFIG_IP_NF_ARPTABLES=y
> # CONFIG_IP_NF_ARPFILTER is not set
> # CONFIG_IP_NF_ARP_MANGLE is not set
> # CONFIG_IP_NF_COMPAT_IPCHAINS is not set
> # CONFIG_IP_NF_COMPAT_IPFWADM is not set
>
> #
> # SCTP Configuration (EXPERIMENTAL)
> #
> CONFIG_IPV6_SCTP__=y
> # CONFIG_IP_SCTP is not set
> # CONFIG_ATM is not set
> # CONFIG_VLAN_8021Q is not set
> # CONFIG_LLC2 is not set
> # CONFIG_IPX is not set
> # CONFIG_ATALK is not set
> # CONFIG_X25 is not set
> # CONFIG_LAPB is not set
> # CONFIG_NET_DIVERT is not set
> # CONFIG_ECONET is not set
> # CONFIG_WAN_ROUTER is not set
> # CONFIG_NET_FASTROUTE is not set
> # CONFIG_NET_HW_FLOWCONTROL is not set
>
> #
> # QoS and/or fair queueing
> #
> # CONFIG_NET_SCHED is not set
>
> #
> # Network testing
> #
> # CONFIG_NET_PKTGEN is not set
> CONFIG_NETDEVICES=y
>
> #
> # ARCnet devices
> #
> # CONFIG_ARCNET is not set
> CONFIG_DUMMY=y
> # CONFIG_BONDING is not set
> # CONFIG_EQUALIZER is not set
> # CONFIG_TUN is not set
>
> #
> # Ethernet (10 or 100Mbit)
> #
> CONFIG_NET_ETHERNET=y
> CONFIG_MII=y
> # CONFIG_HAPPYMEAL is not set
> # CONFIG_SUNGEM is not set
> # CONFIG_NET_VENDOR_3COM is not set
>
> #
> # Tulip family network device support
> #
> # CONFIG_NET_TULIP is not set
> # CONFIG_HP100 is not set
> CONFIG_NET_PCI=y
> # CONFIG_PCNET32 is not set
> # CONFIG_AMD8111_ETH is not set
> # CONFIG_ADAPTEC_STARFIRE is not set
> # CONFIG_B44 is not set
> # CONFIG_FORCEDETH is not set
> # CONFIG_DGRS is not set
> CONFIG_EEPRO100=y
> # CONFIG_EEPRO100_PIO is not set
> # CONFIG_E100 is not set
> # CONFIG_FEALNX is not set
> # CONFIG_NATSEMI is not set
> # CONFIG_NE2K_PCI is not set
> # CONFIG_8139CP is not set
> # CONFIG_8139TOO is not set
> # CONFIG_SIS900 is not set
> # CONFIG_EPIC100 is not set
> # CONFIG_SUNDANCE is not set
> # CONFIG_VIA_RHINE is not set
>
> #
> # Ethernet (1000 Mbit)
> #
> # CONFIG_ACENIC is not set
> # CONFIG_DL2K is not set
> CONFIG_E1000=y
> # CONFIG_E1000_NAPI is not set
> # CONFIG_NS83820 is not set
> # CONFIG_HAMACHI is not set
> # CONFIG_YELLOWFIN is not set
> # CONFIG_R8169 is not set
> # CONFIG_SIS190 is not set
> # CONFIG_SK98LIN is not set
> CONFIG_TIGON3=y
>
> #
> # Ethernet (10000 Mbit)
> #
> # CONFIG_IXGB is not set
> # CONFIG_FDDI is not set
> # CONFIG_HIPPI is not set
> # CONFIG_PPP is not set
> # CONFIG_SLIP is not set
>
> #
> # Wireless LAN (non-hamradio)
> #
> # CONFIG_NET_RADIO is not set
>
> #
> # Token Ring devices
> #
> # CONFIG_TR is not set
> # CONFIG_NET_FC is not set
> # CONFIG_SHAPER is not set
>
> #
> # Wan interfaces
> #
> # CONFIG_WAN is not set
>
> #
> # Amateur Radio support
> #
> # CONFIG_HAMRADIO is not set
>
> #
> # IrDA (infrared) support
> #
> # CONFIG_IRDA is not set
>
> #
> # Bluetooth support
> #
> # CONFIG_BT is not set
>
> #
> # ISDN subsystem
> #
> # CONFIG_ISDN_BOOL is not set
>
> #
> # Input device support
> #
> CONFIG_INPUT=y
>
> #
> # Userland interfaces
> #
> CONFIG_INPUT_MOUSEDEV=y
> CONFIG_INPUT_MOUSEDEV_PSAUX=y
> CONFIG_INPUT_MOUSEDEV_SCREEN_X\x1024
> CONFIG_INPUT_MOUSEDEV_SCREEN_Yv8
> CONFIG_INPUT_JOYDEV=y
> # CONFIG_INPUT_TSDEV is not set
> CONFIG_INPUT_EVDEV=y
> # CONFIG_INPUT_EVBUG is not set
>
> #
> # Input I/O drivers
> #
> # CONFIG_GAMEPORT is not set
> CONFIG_SOUND_GAMEPORT=y
> CONFIG_SERIO=y
> # CONFIG_SERIO_I8042 is not set
> # CONFIG_SERIO_SERPORT is not set
> # CONFIG_SERIO_CT82C710 is not set
> # CONFIG_SERIO_PCIPS2 is not set
>
> #
> # Input Device Drivers
> #
> # CONFIG_INPUT_KEYBOARD is not set
> # CONFIG_INPUT_MOUSE is not set
> # CONFIG_INPUT_JOYSTICK is not set
> # CONFIG_INPUT_TOUCHSCREEN is not set
> # CONFIG_INPUT_MISC is not set
>
> #
> # Character devices
> #
> CONFIG_VT=y
> CONFIG_VT_CONSOLE=y
> CONFIG_HW_CONSOLE=y
> # CONFIG_SERIAL_NONSTANDARD is not set
>
> #
> # Serial drivers
> #
> CONFIG_SERIAL_8250=y
> CONFIG_SERIAL_8250_CONSOLE=y
> CONFIG_SERIAL_8250_HCDP=y
> CONFIG_SERIAL_8250_ACPI=y
> CONFIG_SERIAL_8250_NR_UARTS=4
> # CONFIG_SERIAL_8250_EXTENDED is not set
>
> #
> # Non-8250 serial port support
> #
> CONFIG_SERIAL_CORE=y
> CONFIG_SERIAL_CORE_CONSOLE=y
> CONFIG_UNIX98_PTYS=y
> CONFIG_UNIX98_PTY_COUNT%6
>
> #
> # I2C support
> #
> # CONFIG_I2C is not set
>
> #
> # I2C Algorithms
> #
>
> #
> # I2C Hardware Bus support
> #
>
> #
> # I2C Hardware Sensors Chip support
> #
> # CONFIG_I2C_SENSOR is not set
>
> #
> # Mice
> #
> # CONFIG_BUSMOUSE is not set
> # CONFIG_QIC02_TAPE is not set
>
> #
> # IPMI
> #
> # CONFIG_IPMI_HANDLER is not set
>
> #
> # Watchdog Cards
> #
> # CONFIG_WATCHDOG is not set
> # CONFIG_HW_RANDOM is not set
> # CONFIG_NVRAM is not set
> # CONFIG_GEN_RTC is not set
> CONFIG_EFI_RTC=y
> # CONFIG_DTLK is not set
> # CONFIG_R3964 is not set
> # CONFIG_APPLICOM is not set
>
> #
> # Ftape, the floppy tape device driver
> #
> # CONFIG_FTAPE is not set
> # CONFIG_AGP is not set
> # CONFIG_DRM is not set
> # CONFIG_RAW_DRIVER is not set
>
> #
> # Multimedia devices
> #
> # CONFIG_VIDEO_DEV is not set
>
> #
> # Digital Video Broadcasting Devices
> #
> # CONFIG_DVB is not set
>
> #
> # File systems
> #
> CONFIG_EXT2_FS=y
> CONFIG_EXT2_FS_XATTR=y
> # CONFIG_EXT2_FS_POSIX_ACL is not set
> # CONFIG_EXT2_FS_SECURITY is not set
> CONFIG_EXT3_FS=y
> CONFIG_EXT3_FS_XATTR=y
> # CONFIG_EXT3_FS_POSIX_ACL is not set
> # CONFIG_EXT3_FS_SECURITY is not set
> CONFIG_JBD=y
> # CONFIG_JBD_DEBUG is not set
> CONFIG_FS_MBCACHE=y
> # CONFIG_REISERFS_FS is not set
> # CONFIG_JFS_FS is not set
> # CONFIG_XFS_FS is not set
> # CONFIG_MINIX_FS is not set
> # CONFIG_ROMFS_FS is not set
> # CONFIG_QUOTA is not set
> CONFIG_AUTOFS_FS=y
> # CONFIG_AUTOFS4_FS is not set
>
> #
> # CD-ROM/DVD Filesystems
> #
> CONFIG_ISO9660_FS=y
> CONFIG_JOLIET=y
> # CONFIG_ZISOFS is not set
> CONFIG_UDF_FS=y
>
> #
> # DOS/FAT/NT Filesystems
> #
> CONFIG_FAT_FS=y
> CONFIG_MSDOS_FS=y
> CONFIG_VFAT_FS=y
> # CONFIG_NTFS_FS is not set
>
> #
> # Pseudo filesystems
> #
> CONFIG_PROC_FS=y
> CONFIG_PROC_KCORE=y
> # CONFIG_DEVFS_FS is not set
> CONFIG_DEVPTS_FS=y
> # CONFIG_DEVPTS_FS_XATTR is not set
> CONFIG_TMPFS=y
> CONFIG_HUGETLBFS=y
> CONFIG_HUGETLB_PAGE=y
> CONFIG_RAMFS=y
>
> #
> # Miscellaneous filesystems
> #
> # CONFIG_ADFS_FS is not set
> # CONFIG_AFFS_FS is not set
> # CONFIG_HFS_FS is not set
> # CONFIG_BEFS_FS is not set
> # CONFIG_BFS_FS is not set
> # CONFIG_EFS_FS is not set
> # CONFIG_CRAMFS is not set
> # CONFIG_VXFS_FS is not set
> # CONFIG_HPFS_FS is not set
> # CONFIG_QNX4FS_FS is not set
> # CONFIG_SYSV_FS is not set
> # CONFIG_UFS_FS is not set
>
> #
> # Network File Systems
> #
> CONFIG_NFS_FS=y
> CONFIG_NFS_V3=y
> CONFIG_NFS_V4=y
> CONFIG_NFS_DIRECTIO=y
> CONFIG_NFSD=y
> CONFIG_NFSD_V3=y
> # CONFIG_NFSD_V4 is not set
> # CONFIG_NFSD_TCP is not set
> CONFIG_LOCKD=y
> CONFIG_LOCKD_V4=y
> CONFIG_EXPORTFS=y
> CONFIG_SUNRPC=y
> CONFIG_SUNRPC_GSS=y
> # CONFIG_SMB_FS is not set
> # CONFIG_CIFS is not set
> # CONFIG_NCP_FS is not set
> # CONFIG_CODA_FS is not set
> # CONFIG_INTERMEZZO_FS is not set
> # CONFIG_AFS_FS is not set
>
> #
> # Partition Types
> #
> CONFIG_PARTITION_ADVANCED=y
> # CONFIG_ACORN_PARTITION is not set
> # CONFIG_OSF_PARTITION is not set
> # CONFIG_AMIGA_PARTITION is not set
> # CONFIG_ATARI_PARTITION is not set
> # CONFIG_MAC_PARTITION is not set
> CONFIG_MSDOS_PARTITION=y
> # CONFIG_BSD_DISKLABEL is not set
> # CONFIG_MINIX_SUBPARTITION is not set
> # CONFIG_SOLARIS_X86_PARTITION is not set
> # CONFIG_UNIXWARE_DISKLABEL is not set
> # CONFIG_LDM_PARTITION is not set
> # CONFIG_NEC98_PARTITION is not set
> # CONFIG_SGI_PARTITION is not set
> # CONFIG_ULTRIX_PARTITION is not set
> # CONFIG_SUN_PARTITION is not set
> CONFIG_EFI_PARTITION=y
>
> #
> # Native Language Support
> #
> CONFIG_NLS=y
> CONFIG_NLS_DEFAULT="iso8859-1"
> CONFIG_NLS_CODEPAGE_437=y
> CONFIG_NLS_CODEPAGE_737=y
> CONFIG_NLS_CODEPAGE_775=y
> CONFIG_NLS_CODEPAGE_850=y
> CONFIG_NLS_CODEPAGE_852=y
> CONFIG_NLS_CODEPAGE_855=y
> CONFIG_NLS_CODEPAGE_857=y
> CONFIG_NLS_CODEPAGE_860=y
> CONFIG_NLS_CODEPAGE_861=y
> CONFIG_NLS_CODEPAGE_862=y
> CONFIG_NLS_CODEPAGE_863=y
> CONFIG_NLS_CODEPAGE_864=y
> CONFIG_NLS_CODEPAGE_865=y
> CONFIG_NLS_CODEPAGE_866=y
> CONFIG_NLS_CODEPAGE_869=y
> CONFIG_NLS_CODEPAGE_936=y
> CONFIG_NLS_CODEPAGE_950=y
> CONFIG_NLS_CODEPAGE_932=y
> CONFIG_NLS_CODEPAGE_949=y
> CONFIG_NLS_CODEPAGE_874=y
> CONFIG_NLS_ISO8859_8=y
> # CONFIG_NLS_CODEPAGE_1250 is not set
> CONFIG_NLS_CODEPAGE_1251=y
> CONFIG_NLS_ISO8859_1=y
> CONFIG_NLS_ISO8859_2=y
> CONFIG_NLS_ISO8859_3=y
> CONFIG_NLS_ISO8859_4=y
> CONFIG_NLS_ISO8859_5=y
> CONFIG_NLS_ISO8859_6=y
> CONFIG_NLS_ISO8859_7=y
> CONFIG_NLS_ISO8859_9=y
> CONFIG_NLS_ISO8859_13=y
> CONFIG_NLS_ISO8859_14=y
> CONFIG_NLS_ISO8859_15=y
> CONFIG_NLS_KOI8_R=y
> CONFIG_NLS_KOI8_U=y
> CONFIG_NLS_UTF8=y
>
> #
> # Graphics support
> #
> # CONFIG_FB is not set
>
> #
> # Console display driver support
> #
> # CONFIG_VGA_CONSOLE is not set
> # CONFIG_MDA_CONSOLE is not set
> CONFIG_DUMMY_CONSOLE=y
>
> #
> # Sound
> #
> # CONFIG_SOUND is not set
>
> #
> # USB support
> #
> CONFIG_USB=y
> # CONFIG_USB_DEBUG is not set
>
> #
> # Miscellaneous USB options
> #
> # CONFIG_USB_DEVICEFS is not set
> CONFIG_USB_BANDWIDTH=y
> # CONFIG_USB_DYNAMIC_MINORS is not set
>
> #
> # USB Host Controller Drivers
> #
> CONFIG_USB_EHCI_HCD=y
> CONFIG_USB_OHCI_HCD=y
> CONFIG_USB_UHCI_HCD=y
>
> #
> # USB Device Class drivers
> #
> # CONFIG_USB_BLUETOOTH_TTY is not set
> # CONFIG_USB_ACM is not set
> # CONFIG_USB_PRINTER is not set
> # CONFIG_USB_STORAGE is not set
>
> #
> # USB Human Interface Devices (HID)
> #
> CONFIG_USB_HID=y
> CONFIG_USB_HIDINPUT=y
> # CONFIG_HID_FF is not set
> CONFIG_USB_HIDDEV=y
> # CONFIG_USB_AIPTEK is not set
> # CONFIG_USB_WACOM is not set
> # CONFIG_USB_KBTAB is not set
> # CONFIG_USB_POWERMATE is not set
> # CONFIG_USB_XPAD is not set
>
> #
> # USB Imaging devices
> #
> # CONFIG_USB_MDC800 is not set
> # CONFIG_USB_SCANNER is not set
> # CONFIG_USB_MICROTEK is not set
> # CONFIG_USB_HPUSBSCSI is not set
>
> #
> # USB Multimedia devices
> #
> # CONFIG_USB_DABUSB is not set
>
> #
> # Video4Linux support is needed for USB Multimedia device support
> #
>
> #
> # USB Network adaptors
> #
> # CONFIG_USB_CATC is not set
> # CONFIG_USB_KAWETH is not set
> # CONFIG_USB_PEGASUS is not set
> # CONFIG_USB_RTL8150 is not set
> # CONFIG_USB_USBNET is not set
>
> #
> # USB port drivers
> #
>
> #
> # USB Serial Converter support
> #
> # CONFIG_USB_SERIAL is not set
>
> #
> # USB Miscellaneous drivers
> #
> # CONFIG_USB_TIGL is not set
> # CONFIG_USB_AUERSWALD is not set
> # CONFIG_USB_RIO500 is not set
> # CONFIG_USB_LEGOTOWER is not set
> # CONFIG_USB_BRLVGER is not set
> # CONFIG_USB_LCD is not set
> # CONFIG_USB_GADGET is not set
>
> #
> # Library routines
> #
> CONFIG_CRC32=y
>
> #
> # Profiling support
> #
> # CONFIG_PROFILING is not set
>
> #
> # Kernel hacking
> #
> CONFIG_IA64_GRANULE_16MB=y
> # CONFIG_IA64_GRANULE_64MB is not set
> CONFIG_DEBUG_KERNEL=y
> CONFIG_IA64_PRINT_HAZARDS=y
> # CONFIG_DISABLE_VHPT is not set
> CONFIG_MAGIC_SYSRQ=y
> # CONFIG_DEBUG_SLAB is not set
> # CONFIG_DEBUG_SPINLOCK is not set
> # CONFIG_DEBUG_SPINLOCK_SLEEP is not set
> # CONFIG_IA64_DEBUG_CMPXCHG is not set
> # CONFIG_IA64_DEBUG_IRQ is not set
> CONFIG_DEBUG_INFO=y
>
> #
> # Security options
> #
> # CONFIG_SECURITY is not set
>
> #
> # Cryptographic options
> #
> # CONFIG_CRYPTO is not set
--------------------------------------------------
Darren Williams <dsw AT gelato.unsw.edu.au>
Gelato@UNSW <www.gelato.unsw.edu.au>
--------------------------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread* RE: Link error with linux-2.5 bk
2004-01-20 14:48 Link error with linux-2.5 bk Martin Hicks
2004-01-20 21:09 ` Darren Williams
@ 2004-01-21 16:55 ` Luck, Tony
2004-01-21 17:20 ` Andi Kleen
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Luck, Tony @ 2004-01-21 16:55 UTC (permalink / raw)
To: linux-ia64
> LD .tmp_vmlinux1
> local symbol 0: discarded in section `.exit.text' from drivers/built-in.o
My money is on this change to drivers/net/dummy.c (clipped from diff
between bk3 and bk4 trees). "dummy_free_one()" is marked as __exit (so
we'll try to discard it), but it is called by dummy_init_module().
Dropping the "__exit" will fix it (but there may be other fixes). Copying
Andi Kleen, as according to BitKeeper he appears to be the author of this
change.
-Tony
+static void __exit dummy_free_one(int index)
+{
+ unregister_netdev(dummies[index]);
+ free_netdev(dummies[index]);
+}
+
+static int __init dummy_init_module(void)
+{
+ int i, err = 0;
+ dummies = kmalloc(numdummies * sizeof(void *), GFP_KERNEL);
+ if (!dummies)
+ return -ENOMEM;
+ for (i = 0; i < numdummies && !err; i++)
+ err = dummy_init_one(i);
+ if (err) {
+ while (--i >= 0)
+ dummy_free_one(i);
+ }
+ return err;
+}
+
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Link error with linux-2.5 bk
2004-01-20 14:48 Link error with linux-2.5 bk Martin Hicks
2004-01-20 21:09 ` Darren Williams
2004-01-21 16:55 ` Luck, Tony
@ 2004-01-21 17:20 ` Andi Kleen
2004-01-21 17:42 ` David Mosberger
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Andi Kleen @ 2004-01-21 17:20 UTC (permalink / raw)
To: linux-ia64
On Wed, 21 Jan 2004 08:55:19 -0800
"Luck, Tony" <tony.luck@intel.com> wrote:
> > LD .tmp_vmlinux1
> > local symbol 0: discarded in section `.exit.text' from drivers/built-in.o
>
> My money is on this change to drivers/net/dummy.c (clipped from diff
> between bk3 and bk4 trees). "dummy_free_one()" is marked as __exit (so
> we'll try to discard it), but it is called by dummy_init_module().
>
> Dropping the "__exit" will fix it (but there may be other fixes). Copying
> Andi Kleen, as according to BitKeeper he appears to be the author of this
> change.
Yep, the __exit is wrong. Thanks, Tony.
Jeff, can you apply this patch, please? It should fix compiling in of the dummy
device.
Thanks.
-Andi
--- linux-2.6.2rc1-amd64/drivers/net/dummy.c-o 2004-01-21 15:52:42.000000000 +0100
+++ linux-2.6.2rc1-amd64/drivers/net/dummy.c 2004-01-21 18:19:05.000000000 +0100
@@ -112,7 +112,7 @@
return err;
}
-static void __exit dummy_free_one(int index)
+static void dummy_free_one(int index)
{
unregister_netdev(dummies[index]);
free_netdev(dummies[index]);
^ permalink raw reply [flat|nested] 9+ messages in thread* RE: Link error with linux-2.5 bk
2004-01-20 14:48 Link error with linux-2.5 bk Martin Hicks
` (2 preceding siblings ...)
2004-01-21 17:20 ` Andi Kleen
@ 2004-01-21 17:42 ` David Mosberger
2004-01-21 17:57 ` Randy.Dunlap
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: David Mosberger @ 2004-01-21 17:42 UTC (permalink / raw)
To: linux-ia64
>>>>> On Wed, 21 Jan 2004 08:55:19 -0800, "Luck, Tony" <tony.luck@intel.com> said:
>> LD .tmp_vmlinux1
>> local symbol 0: discarded in section `.exit.text' from drivers/built-in.o
Tony> My money is on this change to drivers/net/dummy.c (clipped from diff
Tony> between bk3 and bk4 trees). "dummy_free_one()" is marked as __exit (so
Tony> we'll try to discard it), but it is called by dummy_init_module().
Tony> Dropping the "__exit" will fix it (but there may be other
Tony> fixes). Copying Andi Kleen, as according to BitKeeper he
Tony> appears to be the author of this change.
Andrew sent me the attached. He seems to agree with your analysis & fix.
--david
----------------------------------------------
From: Andrew Morton <akpm@osdl.org>
To: David Mosberger <davidm@linux.hpl.hp.com>
Subject: Fw: dummy.c: __exit section fix
Date: Wed, 21 Jan 2004 01:56:43 -0800
fyi...
Begin forwarded message:
Date: Wed, 21 Jan 2004 01:52:08 -0800
From: Andrew Morton <akpm@osdl.org>
To: "David S. Miller" <davem@redhat.com>
Subject: dummy.c: __exit section fix
dummy_free_one() is marked __exit, but is called from dummy_init_module()
which is marked __init.
It's wrong, and doesn't link on ia64.
---
25-akpm/drivers/net/dummy.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/net/dummy.c~dummy-init-fix drivers/net/dummy.c
--- 25/drivers/net/dummy.c~dummy-init-fix Wed Jan 21 04:13:42 2004
+++ 25-akpm/drivers/net/dummy.c Wed Jan 21 04:13:42 2004
@@ -112,7 +112,7 @@ static int __init dummy_init_one(int ind
return err;
}
-static void __exit dummy_free_one(int index)
+static void dummy_free_one(int index)
{
unregister_netdev(dummies[index]);
free_netdev(dummies[index]);
_
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Link error with linux-2.5 bk
2004-01-20 14:48 Link error with linux-2.5 bk Martin Hicks
` (3 preceding siblings ...)
2004-01-21 17:42 ` David Mosberger
@ 2004-01-21 17:57 ` Randy.Dunlap
2004-01-21 17:57 ` Luck, Tony
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Randy.Dunlap @ 2004-01-21 17:57 UTC (permalink / raw)
To: linux-ia64
On Wed, 21 Jan 2004 09:57:43 -0800 "Luck, Tony" <tony.luck@intel.com> wrote:
| > Andrew sent me the attached. He seems to agree with your analysis & fix.
|
| Why didn't this show up on other architecture builds? Doesn't anyone
| else discard .exit.text? Or does everyone else have the default
| for CONFIG_DUMMY set to 'n' or 'm' rather than 'y'?
|
| I'd also like to nominate:
|
| local symbol 0: discarded in section `.exit.text' from drivers/built-in.o
|
| for the "Least helpful error message" award(*). From previous
| experience I know that this is caused by improper use of
| __exit ... but it would really help a lot if the message
| had an actual symbol name, rather than "local symbol 0".
|
| I found this by the brute force tactic of scanning backwards
| through 2.6.1-bk* patches, building each one until the error
| went away, and then getting a diff between the last good and
| first bad version, and looking for __exit. But there ought
| to be a better way :-)
Having the build tools warn about it would be best.
However, after having got the message, you could also use this:
http://www.kernelnewbies.org/scripts/reference_discarded.pl
| * Previous held by "values of B will give rise to dom!"
| -
--
~Randy
kernel-janitors project: http://janitor.kernelnewbies.org/
^ permalink raw reply [flat|nested] 9+ messages in thread* RE: Link error with linux-2.5 bk
2004-01-20 14:48 Link error with linux-2.5 bk Martin Hicks
` (4 preceding siblings ...)
2004-01-21 17:57 ` Randy.Dunlap
@ 2004-01-21 17:57 ` Luck, Tony
2004-01-21 18:01 ` David Mosberger
2004-01-21 18:11 ` Andi Kleen
7 siblings, 0 replies; 9+ messages in thread
From: Luck, Tony @ 2004-01-21 17:57 UTC (permalink / raw)
To: linux-ia64
> Andrew sent me the attached. He seems to agree with your analysis & fix.
Why didn't this show up on other architecture builds? Doesn't anyone
else discard .exit.text? Or does everyone else have the default
for CONFIG_DUMMY set to 'n' or 'm' rather than 'y'?
I'd also like to nominate:
local symbol 0: discarded in section `.exit.text' from drivers/built-in.o
for the "Least helpful error message" award(*). From previous
experience I know that this is caused by improper use of
__exit ... but it would really help a lot if the message
had an actual symbol name, rather than "local symbol 0".
I found this by the brute force tactic of scanning backwards
through 2.6.1-bk* patches, building each one until the error
went away, and then getting a diff between the last good and
first bad version, and looking for __exit. But there ought
to be a better way :-)
-Tony
* Previous held by "values of B will give rise to dom!"
^ permalink raw reply [flat|nested] 9+ messages in thread* RE: Link error with linux-2.5 bk
2004-01-20 14:48 Link error with linux-2.5 bk Martin Hicks
` (5 preceding siblings ...)
2004-01-21 17:57 ` Luck, Tony
@ 2004-01-21 18:01 ` David Mosberger
2004-01-21 18:11 ` Andi Kleen
7 siblings, 0 replies; 9+ messages in thread
From: David Mosberger @ 2004-01-21 18:01 UTC (permalink / raw)
To: linux-ia64
>>>>> On Wed, 21 Jan 2004 09:57:43 -0800, "Luck, Tony" <tony.luck@intel.com> said:
>> Andrew sent me the attached. He seems to agree with your analysis & fix.
Tony> Why didn't this show up on other architecture builds? Doesn't
Tony> anyone else discard .exit.text? Or does everyone else have
Tony> the default for CONFIG_DUMMY set to 'n' or 'm' rather than
Tony> 'y'?
I'm wondering about that, too.
Tony> I'd also like to nominate:
Tony> local symbol 0: discarded in section `.exit.text' from drivers/built-in.o
Tony> for the "Least helpful error message" award(*). From previous
Tony> experience I know that this is caused by improper use of
Tony> __exit ... but it would really help a lot if the message had
Tony> an actual symbol name, rather than "local symbol 0".
I think the linker has even worse error messages. Perhaps you could
talk HJ into taking a look at it? (In his copious spare time...)
--david
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Link error with linux-2.5 bk
2004-01-20 14:48 Link error with linux-2.5 bk Martin Hicks
` (6 preceding siblings ...)
2004-01-21 18:01 ` David Mosberger
@ 2004-01-21 18:11 ` Andi Kleen
7 siblings, 0 replies; 9+ messages in thread
From: Andi Kleen @ 2004-01-21 18:11 UTC (permalink / raw)
To: linux-ia64
On Wed, 21 Jan 2004 09:57:43 -0800
"Luck, Tony" <tony.luck@intel.com> wrote:
> > Andrew sent me the attached. He seems to agree with your analysis & fix.
>
> Why didn't this show up on other architecture builds? Doesn't anyone
> else discard .exit.text? Or does everyone else have the default
> for CONFIG_DUMMY set to 'n' or 'm' rather than 'y'?
Most likely the later.
>
> I'd also like to nominate:
>
> local symbol 0: discarded in section `.exit.text' from drivers/built-in.o
> for the "Least helpful error message" award(*). From previous
> experience I know that this is caused by improper use of
> __exit ... but it would really help a lot if the message
> had an actual symbol name, rather than "local symbol 0".
It can be found using create application of objdump -Sr and nm.
I had this problem in the past too with other symbols (that is
why 2.6/i386 discards some sections at runtime, not in the linker)
-Andi
^ permalink raw reply [flat|nested] 9+ messages in thread