linux-origin
[Top] [All Lists]

Re: compiler bug?

To: Kanoj Sarcar <kanoj@xxxxxxxxxxxxxxxxxxx>
Subject: Re: compiler bug?
From: Ulf Carlsson <ulfc@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 25 Apr 2000 17:14:58 -0700 (PDT)
Cc: ralf@xxxxxxxxxxx, ulfc@xxxxxxxxxxxxxxxxxxx, linux-origin@xxxxxxxxxxx
In-reply-to: <200004251816.LAA60449@xxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-origin@xxxxxxxxxxx
> If any of you guys have a chance to track down what's going on, let me
> know. Otherwise, just aply this workaround while compiling an UP kernel.

Hm.. this is actually the code that makes it crash:

.macro COMMENT
# 1 "comment"
.endm

.ent foo, 0
COMMENT
nop
.end foo

.ent bar, 0
COMMENT
nop
.end bar

The preprocessor adds a source line comment when it finds the ifdef you've
added.  The same source line comment is being used several times when you use
the macros.  This nukes the assembler.  It's the same for both the current CVS
and the version we're using for the kernel compiles.  I'll see what I can do.

Ulf


<Prev in Thread] Current Thread [Next in Thread>