FPU Emulation and 2.0.0

Stefan Reinauer (stepan@home.culture.mipt.ru)
Wed, 19 Jun 1996 20:10:36 +0200


This is a multi-part message in MIME format.

--------------6416F31031DA01F64D00CA32
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I wanted to use Linux 2.0.0 on my OKANO 486SX-33
Laptop. It has only 4MB RAM so I wanted to do it
on my P100/32MB. When I try to compile with FPU-
Emulation (which is neccessary), I get errors (see
below).
I am using gcc 2.7.2p snapshot 042696.

Is it my fault or is it a bug?

-- 
                                /\   /\
  Stefan Reinauer              /  \_/  \    Rebmannsweg 34h
  Tel: ++49 7621 140160       ( (O) (O) )    79539 Loerrach
------------------------oOOOo- (       ) -oOOOo--------------
  stepan@home.culture.mipt.ru    (   )
                                  (*)

--------------6416F31031DA01F64D00CA32 Content-Type: text/plain; charset=us-ascii; name="error.fpu" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="error.fpu"

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DPARANOID -fno-builtin -DPARANOID -fno-builtin -c -o fpu_trig.o fpu_trig.c /usr/src/linux/include/linux/sched.h: In function `select_wait': In file included from fpu_system.h:15, from fpu_trig.c:13: /usr/src/linux/include/linux/sched.h:475: warning: comparison between signed and unsigned /usr/src/linux/include/linux/mm.h: In function `expand_stack': In file included from fpu_system.h:17, from fpu_trig.c:13: /usr/src/linux/include/linux/mm.h:321: warning: comparison between signed and unsigned gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DPARANOID -fno-builtin -DPARANOID -fno-builtin -c -o load_store.o load_store.c /usr/src/linux/include/linux/sched.h: In function `select_wait': In file included from fpu_system.h:15, from load_store.c:23: /usr/src/linux/include/linux/sched.h:475: warning: comparison between signed and unsigned /usr/src/linux/include/linux/mm.h: In function `expand_stack': In file included from fpu_system.h:17, from load_store.c:23: /usr/src/linux/include/linux/mm.h:321: warning: comparison between signed and unsigned gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DPARANOID -fno-builtin -DPARANOID -fno-builtin -c -o get_address.o get_address.c /usr/src/linux/include/linux/sched.h: In function `select_wait': In file included from fpu_system.h:15, from get_address.c:26: /usr/src/linux/include/linux/sched.h:475: warning: comparison between signed and unsigned /usr/src/linux/include/linux/mm.h: In function `expand_stack': In file included from fpu_system.h:17, from load_store.c:23: /usr/src/linux/include/linux/mm.h:321: warning: comparison between signed and unsigned gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -DPARANOID -fno-builtin -DPARANOID -fno-builtin -c -o get_address.o get_address.c /usr/src/linux/include/linux/sched.h: In function `select_wait': In file included from fpu_system.h:15, from get_address.c:26: /usr/src/linux/include/linux/sched.h:475: warning: comparison between signed and unsigned /usr/src/linux/include/linux/mm.h: In function `expand_stack': In file included from fpu_system.h:17, from get_address.c:26: /usr/src/linux/include/linux/mm.h:321: warning: comparison between signed and unsigned get_address.c: In function `get_address': get_address.c:295: cannot take address of bitfield `selector' get_address.c:300: cannot take address of bitfield `selector' get_address.c: In function `get_address_16': get_address.c:411: cannot take address of bitfield `selector' get_address.c:416: cannot take address of bitfield `selector' make[2]: *** [get_address.o] Error 1 make[2]: Leaving directory `/usr/src/linux/arch/i386/math-emu' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux/arch/i386/math-emu' make: *** [linuxsubdirs] Error 2 Marx:[linux] #

--------------6416F31031DA01F64D00CA32 Content-Type: text/plain; charset=us-ascii; name="Laptop.Config" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Laptop.Config"

# # Automatically generated by make menuconfig: don't edit #

# # Code maturity level options # CONFIG_EXPERIMENTAL=y

# # Loadable module support # CONFIG_MODULES=y # CONFIG_MODVERSIONS is not set CONFIG_KERNELD=y

# # General setup # CONFIG_MATH_EMULATION=y CONFIG_NET=y CONFIG_MAX_16M=y # CONFIG_PCI is not set # CONFIG_PNP is not set CONFIG_SYSVIPC=y CONFIG_BINFMT_AOUT=y CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_JAVA is not set CONFIG_KERNEL_ELF=y CONFIG_M486=y

# # Floppy, IDE, and other block devices # CONFIG_BLK_DEV_FD=y CONFIG_BLK_DEV_IDE=y # CONFIG_BLK_DEV_HD_IDE is not set # CONFIG_BLK_DEV_IDECD is not set # CONFIG_BLK_DEV_IDETAPE is not set # CONFIG_BLK_DEV_IDE_PCMCIA is not set # CONFIG_BLK_DEV_CMD640 is not set # CONFIG_IDE_CHIPSETS is not set # CONFIG_BLK_DEV_LOOP is not set # CONFIG_BLK_DEV_MD is not set # CONFIG_BLK_DEV_RAM is not set # CONFIG_BLK_DEV_XD is not set

# # Networking options # # CONFIG_FIREWALL is not set # CONFIG_NET_ALIAS is not set CONFIG_INET=y CONFIG_IP_FORWARD=y CONFIG_IP_MULTICAST=y # CONFIG_IP_ACCT is not set # CONFIG_IP_ROUTER is not set # CONFIG_NET_IPIP is not set # CONFIG_IP_MROUTE is not set # CONFIG_INET_PCTCP is not set # CONFIG_INET_RARP is not set # CONFIG_NO_PATH_MTU_DISCOVERY is not set CONFIG_IP_NOSR=y CONFIG_SKB_LARGE=y # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_AX25 is not set # CONFIG_NETLINK is not set

# # SCSI support # # CONFIG_SCSI is not set

# # Network device support # CONFIG_NETDEVICES=y CONFIG_DUMMY=y # CONFIG_EQUALIZER is not set # CONFIG_DLCI is not set CONFIG_PLIP=y # CONFIG_PPP is not set # CONFIG_SLIP is not set # CONFIG_NET_RADIO is not set # CONFIG_NET_ETHERNET is not set # CONFIG_TR is not set # CONFIG_ARCNET is not set

# # ISDN subsystem # # CONFIG_ISDN is not set

# # CD-ROM drivers (not for SCSI or IDE/ATAPI drives) # # CONFIG_CD_NO_IDESCSI is not set

# # Filesystems # # CONFIG_QUOTA is not set # CONFIG_LOCK_MANDATORY is not set CONFIG_MINIX_FS=y # CONFIG_EXT_FS is not set CONFIG_EXT2_FS=y # CONFIG_XIA_FS is not set CONFIG_FAT_FS=y # CONFIG_MSDOS_FS is not set CONFIG_VFAT_FS=y # CONFIG_UMSDOS_FS is not set CONFIG_PROC_FS=y CONFIG_NFS_FS=y # CONFIG_ROOT_NFS is not set # CONFIG_SMB_FS is not set # CONFIG_ISO9660_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_UFS_FS is not set

# # Character devices # CONFIG_SERIAL=y # CONFIG_DIGI is not set # CONFIG_CYCLADES is not set # CONFIG_STALDRV is not set # CONFIG_RISCOM8 is not set CONFIG_PRINTER=y # CONFIG_MOUSE is not set # CONFIG_UMISC is not set # CONFIG_QIC02_TAPE is not set # CONFIG_FTAPE is not set # CONFIG_APM is not set # CONFIG_WATCHDOG is not set # CONFIG_RTC is not set

# # Sound # # CONFIG_SOUND is not set

# # Kernel hacking # # CONFIG_PROFILE is not set

--------------6416F31031DA01F64D00CA32--