Subject: shoelace; compiling regex.c From: David Fenyes <dfenyes@thesis1.med.uth.tmc.edu> To: linux-activists@joker.cs.hut.fi Date: Mon, 30 Dec 91 14:01:59 CST Hello Linuxers, I wanted to compare notes with some others who are running Linux, since I'm new here :-) summary: 386sx/4meg/20meg partition on drive 1. no Minix. 1) Linux installson drive 1, but didn't want to work on drive 2. both are RLL, same controller. 2) Does anyone have a compiled shoelace that can be made available? 3) gcc chokes on regex.c in the GNU dist, a) is this happening to other people? (see error msg below) b) can someone make available a working regex.o ? 4) Has anyone compiled Jove or Emacs? Jove chokes gcc also in a manner similar to that of regex.c. Maybe one of these editors could be made available. (I am now using uemacs). gcc choking on regex.c: gcc -O -g -I. -I../lib -I./lib -DSIGTYPE=int -DST_BLKSIZE_MISSING ]-DSTDC_HEADERS -DPOSIX -DUSG -c regex.c -o regex.o regex.c: In function regexec: regex.c:5285: The following insn was not recognizable: (insn/i 117 116 118 (parallel[ (set (reg:SI 2) (reg:SI 2)) (clobber (reg:QI 5)) ] ) -1 (nil) (expr_list:REG_DEAD (reg:QI 5) (nil))) gcc: Program cc1 got fatal signal 32. Thanks very much, David. -- David Fenyes dfenyes@thesis1.med.uth.tmc.edu University of Texas Medical School Houston, Texas
Subject: last call for 0.12 and gcc choking Date: Mon, 30 Dec 1991 23:47:03 +0200 From: Linus Benedict Torvalds <torvalds@cc.helsinki.fi> To: Linux-activists@joker.cs.hut.fi David Fenyes: "shoelace; compiling regex.c" (Dec 30, 14:01): > > 1) Linux installson drive 1, but didn't want to work on drive 2. > both are RLL, same controller. Interesting.. Can anybody else report similar findings? What does linux say on bootup - does it say "partition table" or "tables" (note the "s")? What does fdisk report? > 3) gcc chokes on regex.c in the GNU dist, > a) is this happening to other people? (see error msg below) yes. I f**ked up when I did some minor "enhancements" to gcc. > b) can someone make available a working regex.o ? compile without "-O", that should solve it. > 4) Has anyone compiled Jove or Emacs? Jove chokes gcc also in > a manner similar to that of regex.c. Maybe one of these > editors could be made available. (I am now using uemacs). Gcc choking is probably due to the small hack I tried out on it - the string instruction recognition. When I get gcc 2.0 going, I'll leave it as-is, so that these kinds of bugs don't show up. In the meantime, not using "-O" for the files that result in errors usually cures the problem. I have also been adding 387-emulation to the kernel (+,-,*,/ and comparisons mostly work now), so hopefully gcc 2.0 won't need even the soft-float patches, but will compile and work without changes. Linux 0.12 won't have complete emulation yet, but I hope it will be good enough for most things (ie no trig, exp, but most easy maths). I also don't handle overflows/NaNs etc at all now. And finally I just wanted to remind everyone that January 5th is the deadline for things to be in 0.12 - I'll accept /small/ patches after that, but nothing major. Note that if you have started on something, don't feel forced to send in a half-ready patch - I'm sure there will be more revisions to the kernel, 0.12 doesn't have to have everything that people are working on right now. Linus