Skip to contentSkip to conversation

smp/up alternatives crash when CONFIG_HOTPLUG_CPU

DISCUSSION Chuck Ebbert 1 participant 1 message Apr 21, 2006

lore
Share & tools
lore
#0 lore raw

In-Reply-To: <[email protected]>

Quoted 9 lines · Ingo Molnar

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
Signature · 2 lines
Chuck
"Penguins don't come from next door, they come from the Antarctic!"