pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/56100: security/libgcrypt fails on NetBSD/m68k
The following reply was made to PR pkg/56100; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: john%ziaspace.com@localhost
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: pkg/56100: security/libgcrypt fails on NetBSD/m68k
Date: Fri, 9 Apr 2021 01:57:26 +0000
On Fri, Apr 09, 2021 at 01:40:00AM +0000, john%ziaspace.com@localhost wrote:
> Attempting to compile security/libgcrypt on NetBSD/m68k fails with:
> [...]
> mpih-add1-asm.S:51: Error: syntax error -- statement `movel d2,sp@-' ignored
Guesswork, but I suspect the following patch might help:
(stick it in patches/patch-local-aa or whatnot to test)
If it doesn't work, can you figure out which syntax defines it ought
to be picking?
------------
$NetBSD$
--- mpi/config.links~ 2021-01-28 12:53:52.000000000 +0000
+++ mpi/config.links
@@ -279,6 +279,18 @@ case "${host}" in
path="m68k"
mpi_cpu_arch="m68k"
;;
+ m680[234]0*-*-netbsd | \
+ m68k-*-netbsd)
+ echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
+ cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h
+ path="m68k"
+ mpi_cpu_arch="m68k"
+ ;;
+ m68060*-*-netbsd)
+ echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
+ cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h
+ mpi_cpu_arch="m68k"
+ ;;
m68k-atari-mint)
echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h
cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h
------------
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index