Sender: root AT delorie DOT com Message-ID: <34C59A4F.316F910C@regio.net> Date: Wed, 21 Jan 1998 07:50:09 +0100 From: Reinhold Jordan MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: SIGSEGV in bcsio20 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Hello, I have a little problem with Bill Curries serial port software. If I compile serio.s, I got an object-file which is one byte shorter than your original and the test-software did not run: >test.exe Exiting due to signal SIGSEGV Stack Fault at eip=0000924c eax=00000020 ebx=000501a0 ecx=00054000 edx=000002fb esi=00054000 edi=00054000 ebp=0004d6a4 esp=000020bc program=TEST.EXE cs: sel=00a7 base=10000000 limit=0005ffff ds: sel=00b7 base=10000000 limit=0005ffff es: sel=00af base=10000000 limit=0005ffff fs: sel=008f base=00017b70 limit=0000ffff gs: sel=00bf base=00000000 limit=ffffffff ss: sel=0033 invalid Call frame traceback EIPs: 0x0000924c 0x00001f52 The following error make me think, I have another compiler than him: >make gcc -m486 test.o serio.o -o test gcc -Wall -Werror -O2 -g -m486 -c term.c -o term.o cc1.exe: warnings being treated as errors term.c:273: warning: `contructor' attribute directive ignored term.c:273: warning: `lock_sections' defined but not used make.exe: *** [term.o] Error 1 I use gcc2721b from the delorie ftp server. I hope, you can help me. Thanks Reinhold -- Reinhold Jordan email: Reinhold DOT Jordan AT regio DOT net "In Zukunft koennte es Computer geben, die weniger als 1.5 Tonnen wiegen." Fachblatt 'Popular Mechanics', 1949