Bug#886110: kamailio: FTBFS on arm64 and mips64el - error: unrecognized command line option '-m64'
James Cowgill
jcowgill at debian.org
Tue Jan 2 12:04:52 UTC 2018
Source: kamailio
Version: 5.1.0-1
Severity: serious
Tags: sid buster
Hi,
kamailio FTBFS on arm64 and mips64el with the error:
> /usr/bin/make --no-print-directory -C ./squirrel/squirrel CC_EXTRA_FLAGS="-fPIC" \
> OUT="../../libsquirrel.a" sq64
> gcc -O2 -m64 -D_SQ64 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c sqapi.cpp sqbaselib.cpp sqfuncstate.cpp sqdebug.cpp sqlexer.cpp sqobject.cpp sqcompiler.cpp sqstate.cpp sqtable.cpp sqmem.cpp sqvm.cpp sqclass.cpp -I../include -I. -Iinclude -fPIC
> gcc: error: unrecognized command line option '-m64'
> Makefile:50: recipe for target 'sq64' failed
> make[4]: *** [sq64] Error 1
> Makefile:23: recipe for target 'libsquirrel.a' failed
> make[3]: *** [libsquirrel.a] Error 2
> Makefile:513: recipe for target 'modules' failed
> make[2]: *** [modules] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Makefile:27: recipe for target 'all' failed
> make[1]: *** [all] Error 2
In general, Debian packages should not use -m64 at all to ensure
packages are built for the correct architecture.
Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20180102/47e2be07/attachment.sig>
More information about the Pkg-voip-maintainers
mailing list