Hello,
I'm trying to build SM 2.53.2b1 on FreeBSD. On FreeBSD 12.0, SM can be
built without trouble (only an error that comes from parallel build). It
is built with default compilers (clang) and it runs as expected.
I have to patch tree to build SM on FreeBSD 12.1. In a first time, I
have to force CC and CXX to clang and clang++. If gcc9/g++9 can
successfully build SM, executable aborts as it tries to open GNU libc++
and complains about internal revision (libxul tries to open libstdc++
provided by gcc6 at runtime). I haven't found any explanation. This, I
have rebuilt SM in another tree with default compilers.
Thus, on FreeBSD, configure script should avoid gcc/g++ usage even if
gcc/g++ are available in ports or /usr/local.
clang returns an error in
mozilla/media/mtransport/third_party/nICEr/src/stun/stun.h and I have
patched this file. Please apply patch:
--- stun.h.orig 2020-04-22 10:09:19.650577108 +0200
+++ stun.h 2020-04-22 10:07:05.328570638 +0200
@@ -41,7 +41,7 @@
#include <sys/socket.h>
#ifndef LINUX
#include <net/if.h>
-#if !defined(__OpenBSD__) && !defined(__NetBSD__)
+#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__)
#include <net/if_var.h>
#endif
#include <net/if_dl.h>
Regards,
JKB
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey