Subject: Problems with COMPAT_LINUX?
To: None <port-mac68k@netbsd.org>
From: John Klos <john@sixgirls.org>
List: port-mac68k
Date: 09/15/2001 15:41:14
Hello,

I would like to offer to some of my users the option of using GNU versions
of sommand line utilities like ls, so I figured I'd grab them from an
m68k Linux distro.

So I decided to use a couple of my Macs to test this before I set it up on
my colocated Amiga.

I tried compiling a new kernel with options COMPAT_LINUX, but got:
`fpsp.o' is up to date.
cpp -traditional -D_LOCORE -I. -I../../../../arch -I../../../.. -nostdinc
-DHZ="0x3c" -DNMBCLUSTERS="0x1000" -DM68040 -DLKM -DGRF_COMPAT
-DMAXUSERS=32 -D_KERNEL -Dmac68k
../../../../compat/linux/arch/m68k/linux_sig_machdep.S | sed -e 's/^#.*//'
| as -o linux_sig_machdep.o
{standard input}: Assembler messages:
{standard input}:289: Error: "instruction/operands mismatch" -- Statement
'moveq #LINUX_SYS_exit,%d0' ignored
*** Error code 1

Stop.

I also built a new kernel, using the same tree (release-1-5, supped
today), on the Amiga, and it compiled fine (but I won't be restarting that
machine any time soon).

So it's a Mac issue, or a non-Amiga issue. Any clues before I send a pr?

John
sixgirls.org
-- 
"On two occasions I have been asked [by members of Parliament!], `Pray,
Mr.  Babbage, if you put into the machine wrong figures, will the right
answers come out?'  I am not able rightly to apprehend the kind of
confusion of ideas that could provoke such a question."
                -- Charles Babbage