[Swan-dev] Bug#853947: libreswan FTBFS on mips and mipsel: error: "_ABI64" is not defined [-Werror=undef]

Andrew Cagney andrew.cagney at gmail.com
Thu Feb 9 20:58:52 UTC 2017

On 9 February 2017 at 07:57, Radovan Birdic <Radovan.Birdic at imgtec.com> wrote:
> Maybe a better solution would be to make changes in nspr package.
> I have already suggested changes to the package:
> https://bugs.debian.org/854472


Here, for instance, is the NSS compile line for nssver.c (which is
little more than #include "nss.h"):

cc -o OBJS/nssver.o -c -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DLINUX2_1  -pipe
-ffunction-sections -fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux
-I/«PKGBUILDDIR»/dist/include -I/«PKGBUILDDIR»/dist/public/nss
-I/«PKGBUILDDIR»/dist/private/nss  nssver.c

it doesn't seem to include -Wundef (I don't think that is added by
-Wall) so it would appear at least NSS has been ignoring this issue.

More information about the Swan-dev mailing list