Warnings with 1.3.3 elf patch.

Michael H. Price II (mhp1@ra.msstate.edu)
Sat, 24 Jun 1995 02:22:33 -0500

I finally got libc-5.1.2, ld.so-1.7.4, and gcc 2.7.0 (my compilation) up
and running on my machine and decided to go from 1.2.10 to 1.3.3. I also
used H.J.'s 1.3.3 elf patch. I'm running the kernel now and it appears to
be fine. I am passing on the warnings I received just in case anyone of
the main developers needs them for reference:

gcc -D__KERNEL__ -I/usr/src/linux-1.3.3/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -m386 -c sound_switch.c
sound_switch.c: In function `put_status':
sound_switch.c:61: warning: left-hand operand of comma expression has no effect

gcc -D__KERNEL__ -I/usr/src/linux-1.3.3/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -m386 -c binfmt_elf.c
binfmt_elf.c: In function `elf_core_dump':
binfmt_elf.c:1154: warning: long int format, different type arg (arg 2)

gcc -D__KERNEL__ -I/usr/src/linux-1.3.3/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -m386 -c ip.c
ip.c:1992: warning: `ip_mc_find_devfor' defined but not used

I also received the following but easily fixed it as it just appeared to be
a slight error in the elf patch for linux/arch/i386/Makefile:

ld -m elf_i386 -Ttext 0x1000 -e stext -o vmlinux head.o inflate.o unzip.o
misc.o piggy.o
ld: warning: cannot find entry symbol stext; defaulting to 00001000

I changed the Makefile to obtain this instead:

ld -m elf_i386 -Ttext 0x1000 -e startup_32 -o vmlinux head.o inflate.o
unzip.o misc.o piggy.o

Again, the kernel appears to be running fine. I'm editing this in emacs
19.29 in X windows, both of which are elf. The warnings above are just in
case the main developers need/want them.

Also, there is a BIG code drop in the kernel. 1.2.10 used 632k with gcc
2.6.3 and 624k with 2.7.0. 1.3.3 uses only 584k with gcc 2.7.0. The
configuration for 1.3.3 is the same one I used for 1.2.10 except that I
added EQUALIZER support. Again, everything works... this is just for
informative purposes.