kernel gurus: glibc 2.1.2-1a problem? egcs1.1.2-12c? or just buggy kernel source?

Paul Barrette barretp at mcmail.cis.mcmaster.ca
Sun Aug 1 10:38:59 EST 1999



I have not been able to compile a kernel since I upgraded to glibc & devel
2.1.2-1a.  I have tried with the rpm kernel 2.2.6 and 2.2.10 (kernel.org).

I am running R5 on a 7200/120.

I get the same problem, everything compiles ok up to make ***[vmlinux]
Error 1, 38 min later(!), the tail of the build is below.   I am wondering
whether this is a problem with glibc, egcs (1.1.2-12c), or just some stupid
config setting (included also below for the curious).  I would really like
to fix this problem I am at a loss, I've tried this without X running (init
level 3) and with it, no change.  Any help would be greatly appreciated.

================
BUILD ERROR
================
ld  -r -o lib.o  checksum.o string.o strcase.o
make[2]: Leaving directory
`/usr/src/linux/arch/ppc/lib'
make[1]: Leaving directory
`/usr/src/linux/arch/ppc/lib'
ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000
-Bstatic arch/ppc/kernel/head.o init/main.o init/version.o \

--start-group \
        arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o
arch/ppc/lib/lib.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \

fs/filesystems.a \
        net/network.a \
        drivers/block/block.a
drivers/char/char.a drivers/misc/misc.a drivers/net/net.a
drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/sound/sound.a
drivers/pci/pci.a drivers/macintosh/macintosh.a drivers/video/video.a \

/usr/src/linux/lib/lib.a \
        --end-group \
        -o
vmlinux
drivers/block/block.a(nbd.o): In function
`nbd_ioctl':
nbd.o(.text+0xb70): undefined reference to
`__lshrdi3'
nbd.o(.text+0xb70): relocation truncated to fit: R_PPC_REL24
__lshrdi3
make: *** [vmlinux] Error 1

real    38m20.203s
user
34m41.800s
sys     2m13.160s


==========================
CONFIG SETTINGS
==========================
#
# Automatically generated by make menuconfig: don't edit
#

#
# Platform
support
#
CONFIG_PPC=y
CONFIG_6xx=y
# CONFIG_PPC64 is not set
# CONFIG_8xx
is not set
CONFIG_PMAC=y
# CONFIG_PREP is not set
# CONFIG_CHRP is not
set
# CONFIG_ALL_PPC is not set
# CONFIG_APUS is not set
# CONFIG_MBX is
not set
# CONFIG_SMP is not set
CONFIG_MACH_SPECIFIC=y
CONFIG_6xx=y

#
#
General setup
#
# CONFIG_EXPERIMENTAL is not set
CONFIG_MODULES=y
#
CONFIG_MODVERSIONS is not
set
CONFIG_KMOD=y
CONFIG_PCI=y
CONFIG_PCI_QUIRKS=y
# CONFIG_PCI_OPTIMIZE is
not
set
CONFIG_PCI_OLD_PROC=y
CONFIG_NET=y
CONFIG_SYSCTL=y
CONFIG_SYSVIPC=y
#
CONFIG_BSD_PROCESS_ACCT is not
set
CONFIG_BINFMT_ELF=y
CONFIG_KERNEL_ELF=y
CONFIG_BINFMT_MISC=m
#
CONFIG_BINFMT_JAVA is not set
# CONFIG_PARPORT is not set
#
CONFIG_VGA_CONSOLE is not set
CONFIG_FB=y
CONFIG_FB_COMPAT_XPMAC=y
#
CONFIG_PMAC_PBOOK is not
set
CONFIG_MAC_KEYBOARD=y
CONFIG_MAC_FLOPPY=y
CONFIG_MAC_SERIAL=y
#
CONFIG_SERIAL_CONSOLE is not
set
CONFIG_ADBMOUSE=y
CONFIG_PROC_DEVICETREE=y
# CONFIG_TOTALMP is not
set
CONFIG_BOOTX_TEXT=y
# CONFIG_MOTOROLA_HOTSWAP is not set

#
# Plug and
Play support
#
# CONFIG_PNP is not set

#
# Block devices
#
#
CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_IDE is not set
#
CONFIG_BLK_DEV_HD_ONLY is not
set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_NBD=y
# CONFIG_BLK_DEV_MD is not
set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_BLK_DEV_XD is not
set
CONFIG_PARIDE_PARPORT=y
# CONFIG_PARIDE is not set
# CONFIG_BLK_DEV_HD
is not set

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_NETLINK=y
#
CONFIG_RTNETLINK is not set
# CONFIG_NETLINK_DEV is not
set
CONFIG_FIREWALL=y
# CONFIG_FILTER is not
set
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
#
CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not
set
CONFIG_IP_FIREWALL=y
# CONFIG_IP_FIREWALL_NETLINK is not
set
CONFIG_IP_ALWAYS_DEFRAG=y
# CONFIG_IP_TRANSPARENT_PROXY is not
set
CONFIG_IP_MASQUERADE=y
# CONFIG_IP_MASQUERADE_ICMP is not set
#
CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE
is not set
# CONFIG_IP_MROUTE is not
set
CONFIG_IP_ALIAS=y
CONFIG_SYN_COOKIES=y
# CONFIG_INET_RARP is not
set
CONFIG_SKB_LARGE=y
CONFIG_IPX=y
# CONFIG_IPX_INTERN is not
set
CONFIG_ATALK=y

#
# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
#
CONFIG_CHR_DEV_ST is not
set
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y
#
CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
#
CONFIG_SCSI_LOGGING is not set

#
# SCSI low-level drivers
#
#
CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
#
CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
#
CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AIC7XXX is not set
#
CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
#
CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID is not set
#
CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DTC3280 is not set
#
CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_DMA 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_GENERIC_NCR5380 is not set
#
CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
#
CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_SYM53C416 is not set
#
CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_NCR53C8XX is not set
#
CONFIG_SCSI_SYM53C8XX is not set
# CONFIG_SCSI_PAS16 is not set
#
CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
#
CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
#
CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
#
CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_DC390T is not set
#
CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
#
CONFIG_SCSI_ULTRASTOR is not
set
CONFIG_SCSI_MESH=y
CONFIG_SCSI_MESH_SYNC_RATE=5
CONFIG_SCSI_MAC53C94=y

#
#
Network device support
#
CONFIG_NETDEVICES=y
# CONFIG_ARCNET is not set
#
CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not
set
CONFIG_NET_ETHERNET=y
CONFIG_MACE=y
# CONFIG_BMAC is not set
#
CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
#
CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
#
CONFIG_NET_ISA is not set
# CONFIG_NET_EISA is not set
# CONFIG_NET_POCKET
is not set
# CONFIG_FDDI is not set
# CONFIG_DLCI is not set
# CONFIG_LTPC
is not set
# CONFIG_COPS is not set
# CONFIG_IPDDP is not
set
CONFIG_PPP=y
# CONFIG_SLIP is not set
# CONFIG_NET_RADIO is not set
#
CONFIG_TR is not set
# CONFIG_HOSTESS_SV11 is not set
# CONFIG_COSA is not
set
# CONFIG_RCPCI is not set

#
# Amateur Radio support
#
#
CONFIG_HAMRADIO is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not
set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is
not set

#
# Console drivers
#
CONFIG_DUMMY_CONSOLE=y
CONFIG_FB_OF=y
#
CONFIG_FB_CONTROL is not set
CONFIG_FB_PLATINUM=y
# CONFIG_FB_VALKYRIE is
not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_IMSTT is not set
#
CONFIG_FB_CT65550 is not set
# CONFIG_FB_S3TRIO is not set
#
CONFIG_FB_VIRTUAL is not set
# CONFIG_FBCON_ADVANCED is not
set
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB32=y
#
CONFIG_FBCON_FONTWIDTH8_ONLY is not set
CONFIG_FBCON_FONTS=y
#
CONFIG_FONT_8x8 is not
set
CONFIG_FONT_8x16=y
CONFIG_FONT_SUN8x16=y
CONFIG_FONT_SUN12x22=y
#
CONFIG_FONT_6x11 is not set
# CONFIG_FONT_PEARL_8x8 is not set
#
CONFIG_FONT_ACORN_8x8 is not set

#
# Character
devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
# CONFIG_SERIAL is not set
#
CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not
set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
# CONFIG_MOUSE is not
set
# CONFIG_QIC02_TAPE is not set
# CONFIG_WATCHDOG is not
set
CONFIG_NVRAM=y
# CONFIG_RTC is not set

#
# Video For Linux
#
#
CONFIG_VIDEO_DEV is not set

#
# Joystick support
#
# CONFIG_JOYSTICK is
not set
# CONFIG_DTLK is not set

#
# Ftape, the floppy tape device
driver
#
# CONFIG_FTAPE is not set

#
#
Filesystems
#
CONFIG_QUOTA=y
CONFIG_AUTOFS_FS=y
# CONFIG_AFFS_FS is not
set
CONFIG_HFS_FS=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
# CONFIG_UMSDOS_FS is
not set
CONFIG_VFAT_FS=m
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
#
CONFIG_MINIX_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_HPFS_FS is
not
set
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
CONFIG_ROMFS_FS=y
CONFIG_EXT2_FS=y
CONFI
G_SYSV_FS=y
CONFIG_UFS_FS=y
# CONFIG_UFS_FS_WRITE is not set

#
# Network
File Systems
#
# CONFIG_CODA_FS is not
set
CONFIG_NFS_FS=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_SMB_FS=y
#
CONFIG_NCP_FS is not set

#
# Partition Types
#
# CONFIG_BSD_DISKLABEL is
not set
CONFIG_MAC_PARTITION=y
# CONFIG_SMD_DISKLABEL is not
set
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_NLS=y

#
# Native Language
Support
#
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
#
CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
#
CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
#
CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
#
CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
#
CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
#
CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
#
CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_874 is not
set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
#
CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
#
CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
#
CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_8 is not set
#
CONFIG_NLS_ISO8859_9 is not set
CONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R
is not set

#
# Sound
#
CONFIG_SOUND=y
CONFIG_DMASOUND=y
#
CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
#
CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_MSNDCLAS is not set
#
CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_OSS is not set

#
# Kernel
hacking
#
# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_KGDB is not set
#
CONFIG_XMON is not set


--
Paul Barrette
Ph.D. candidate, dept. of Classics
System Administrator
McMaster University

umbra loco deerat; qua postquam parte resedit
Dis genitus vates et fila sonantia movit,
umbra loco venit.                  (Ov. Met. 10. 88 ff.)
http://www.humanities.mcmaster.ca/~barrette/



[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]





More information about the Linuxppc-dev mailing list