rpj@redcloud.cad.mcc.com (Rich Johns) (08/04/89)
Environment: sun3/60, sunOS 4.01, g++1.35.1 (not InterViews version) Micheal, listed below are some situations where using the -finline-functions flag causes a segmentation violation. In all cases, removing this flag allowed noraml completion. 1) InterViews2.5, making libgraphic: compiling ../objman.c rm -f objman.o g++ -finline-functions -fchar-charconst -c -I.. -I../Generated -I../../.././src -I../../.././src/InterViews/Std ../objman.c In method enum boolean ObjectMan::Retrieve (struct Ref *): ../objman.c:214: Segmentation violation g++: Program cc1plus got fatal signal 11. 2) InterViews2.5, making libtext: compiling ../emulator.c rm -f emulator.o g++ -finline-functions -fchar-charconst -c -I.. -I../Generated -I../../.././src -I../../.././src/InterViews/Std ../emulator.c In method void Emulator::Write (const char *, int): ../emulator.c:418: Segmentation violation g++: Program cc1plus got fatal signal 11. 3) InterViews2.5, the dclock application (/src/bin/dclock/SUN3): compiling ../segment.c rm -f segment.o g++ -finline-functions -fchar-charconst -c -I.. -I../Generated -I../../../.././src -I../../../.././src/InterViews/Std ../segment.c In method void Segment::Reconfig (struct Painter *): ../segment.c:52: Segmentation violation g++: Program cc1plus got fatal signal 11. 4) InterViews2.5, the graphics application (/src/bin/graphics/SUN3): compiling ../graphics.c rm -f graphics.o g++ -finline-functions -fchar-charconst -c -I.. -I../Generated -I../../../.././src -I../../../.././src/InterViews/Std ../graphics.c In function void GraphicsInitialize (struct RefList *): ../graphics.c:174: Segmentation violation g++: Program cc1plus got fatal signal 11. 5) InterViews2.5, the xlog application (/src/bin/xlog/SUN3): compiling ../replay.c rm -f replay.o g++ -finline-functions -fchar-charconst -c -I.. -I../Generated -I../../../.././src -I../../../.././src/InterViews/Std ../replay.c ../../../.././src/InterViews/Std/signal.h:17: warning: lazy prototyping frowned upon ../../../.././src/InterViews/Std/signal.h:40: warning: type declaration of sigvec shadowed In function void Wakeup (int): ../replay.c:78: Segmentation violation g++: Program cc1plus got fatal signal 11. Rich Johns, MCC CAD Program | 3500 W. Balcones Center Dr., Austin, TX 78759 ARPA: johns@mcc.com | Phone: [512] 338-3714 UUCP: {uunet,harvard,gatech,pyramid}!cs.utexas.edu!milano!cadillac!johns