gnupic: Re:gpasm segfaults (11) when compiling mpasm code


Previous by date: 19 Dec 2014 08:19:48 -0000 Re:gpasm segfaults (11) when compiling mpasm code, Joe Pfeiffer
Next by date: 19 Dec 2014 08:19:48 -0000 Specifying processor header file in Makefile/commandline with gpasm in --mpasm-compatible mode, Kustaa Nyholm
Previous in thread: 19 Dec 2014 08:19:48 -0000 Re:gpasm segfaults (11) when compiling mpasm code, Joe Pfeiffer
Next in thread:

Subject: Re:gpasm segfaults (11) when compiling mpasm code
From: "Kustaa Nyholm" ####@####.####
Date: 19 Dec 2014 08:19:48 -0000
Message-Id: <1418977183778.123153.14066@webmail7>

Hi Joe,

thank you very much for digging this up for me.

As those macros seem to be for debugging
and empty I can just remove the invocations.

I should probably file a bug report.

Thanks again.

br Kusti


On December 18, 2014, Joe Pfeiffer ####@####.#### wrote:
> I just tried it on a Linux box, and I can verify that it happens there
> too. I poked around a little, and found that the segfault happens at
> line 237 of parse.y, when parsing the macro at line 75 of boot.inc:
> 
> UD_INIT	macro
> endm
> UD_TX	macro	BYTE
> endm
> UD_TXB	macro	BYTE
> endm
> 
> I stuck an instruction in the macro and it segfaulted in the second
> macro; I stuck an instruction in that one and it stopped segfaulting:
> 
> UD_INIT	macro
> movlw	0
> endm
> UD_TX	macro	BYTE
> movlw	0
> endm
> UD_TXB	macro	BYTE
> endm
> 
> (that's right, I didn't need an instruction in the third empty macro).
> 
> So that's a workaround at some level....
> -- 
> Joseph J. Pfeiffer, Jr., Ph.D. <http://pfeifferfamily.net/>
> 1440 Tierra del Sol Dr 575.525.2764 (H)
> Las Cruces, NM 88007 575.496.3501 (C)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
> 

Previous by date: 19 Dec 2014 08:19:48 -0000 Re:gpasm segfaults (11) when compiling mpasm code, Joe Pfeiffer
Next by date: 19 Dec 2014 08:19:48 -0000 Specifying processor header file in Makefile/commandline with gpasm in --mpasm-compatible mode, Kustaa Nyholm
Previous in thread: 19 Dec 2014 08:19:48 -0000 Re:gpasm segfaults (11) when compiling mpasm code, Joe Pfeiffer
Next in thread:


Powered by ezmlm-browse 0.20.