# uname -a SunOS tinkerbell 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-5_10 # cc -V cc: C Development Set (CDS) SPARCompilers 2.0.1 03 Sep 1992 Compiling smbd/fileio.c smbd/fileio.c, line 220: compiler error: no table entry for op REG cc: iropt failed, iropt & cg passes skipped for smbd/fileio.c Please don't suggest we use gcc instead; We use spro because it produces faster and tighter code than gcc ever will. Can this be fixed? grant.
[Grant Beattie <grant@grunta.com>]> smbd/fileio.c, line 220: compiler error: no table entry for op REG > cc: iropt failed, iropt & cg passes skipped for smbd/fileio.cExact version of Samba? The line number, by itself, means little. My version of Samba doesn't seem to have anything suspicious on line 220 of that file.... Alternatively, give us just a little context of the line it barfed on so we can locate it: head -225 smbd/fileio.c | tail -10> Please don't suggest we use gcc instead; We use spro because it > produces faster and tighter code than gcc ever will.Your compiler reports itself to be exactly 8 years old. (Frankly, I find it hard to believe that such a compiler would generate sun4u code at all.) When did you last evaluate gcc? How much worse did it do at the time? Just curious. Peter
Compiling smbd/fileio.c smbd/fileio.c, line 220: compiler error: no table entry for op REG cc: iropt failed, iropt & cg passes skipped for smbd/fileio.c In the short run, I'd turn off optimization on that .o file. In the long run, I'd use the 1998 compiler set, not the 1992 one: I'm running WorkShop Compilers 5.0 Dev 10/13/98 C 5.0 Dev Build build76, and samba compiles happily. --dave [The code optiomization advantage is primarily visible with level 5 optimization and profile feedback: gcc does pretty well up to about -O3, and I'm distinctly biased in favor of Sun CC] David Collier-Brown, | Always do right. This will gratify some people 185 Ellerslie Ave., | and astonish the rest. -- Mark Twain Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb@canada.sun.com