Re: smp/up alternatives crash when CONFIG_HOTPLUG_CPU

From: Chuck Ebbert
Date: Fri Apr 21 2006 - 19:33:26 EST


In-Reply-To: <20060421074858.GA28858@xxxxxxx>

On Fri, 21 Apr 2006 09:48:58 +0200, Ingo Molnar wrote:

> you can also try the mutex.bad.s file i attached:
>
> $ as mutex.s.bad
> mutex.s.bad: Assembler messages:
> mutex.s.bad:267: Warning: .space or .fill with negative value, ignored
> mutex.s.bad:355: Warning: .space or .fill with negative value, ignored
> mutex.s.bad:412: Warning: .space or .fill with negative value, ignored
> mutex.s.bad:574: Warning: .space or .fill with negative value, ignored
> mutex.s.bad:627: Warning: .space or .fill with negative value, ignored

There are six of those in the file: the first one works and the rest fail.
This causes 5 * 16 bytes of fill to be missing from the output file.

Trying to get an assembler listing makes the problem go away:

$ as -o mutex.bad.o mutex.s
mutex.s: Assembler messages:
mutex.s:267: Warning: .space or .fill with negative value, ignored
mutex.s:355: Warning: .space or .fill with negative value, ignored
mutex.s:412: Warning: .space or .fill with negative value, ignored
mutex.s:574: Warning: .space or .fill with negative value, ignored
mutex.s:627: Warning: .space or .fill with negative value, ignored
$ as -al -o mutex.good.o mutex.s >mutex.lst
$ ll mutex*.o
-rw-rw-r-- 1 me me 5028 Apr 21 19:24 mutex.bad.o
-rw-rw-r-- 1 me me 5108 Apr 21 19:25 mutex.good.o
$ as --version
GNU assembler 2.15.90.0.3 20040415


--
Chuck
"Penguins don't come from next door, they come from the Antarctic!"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/