pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/games/liquidwar



On Mon, Dec 12, 2011 at 08:12:14PM +0100, John Marino wrote:
 >> This isn't a 32-bit program, it's an ordinary program that for some curious
 >> reason believes that "x86_64" is a 32-bit Intel platform. Fix that, and
 >> reenable Dragonfly.
 >
 > okay, that builds on dfly64, but what about the --32 flag to the assembler?
 > Is that ok? Between the i386 target and that assembler flag (and the i386
 > assembly code), that was enough to convince me the author really wanted
 > the i386 platform.

Well, it only runs the assembler when ASM is enabled, and that should
be only for 32-bit intel platforms, as the only assembly code in the
.s files is for 32-bit intel.

Somewhere/somehow upstream got the notion that x86_64 is a 32-bit
intel platform, or at least that you can can assemble and link in
32-bit asm. It doesn't work; the netBSD build of this thing has been
failing on that for some time.

My guess is that this notion arose on some Ubuntu-type platform that
claims it's x86_64 but builds 32-bit code by default; then probably
you need that --32 flag on the assembler to keep it from trying to
assemble it as 64-bit assembler, which wouldn't work. Or maybe someone
didn't have an x86_64 machine to test on and guessed what to do based
on things they heard... who knows.

I haven't tried running it, but as from the DESCR it sounds like it
might be fun, probably I should...

-- 
David A. Holland
dholland%netbsd.org@localhost



Home | Main Index | Thread Index | Old Index