Re: FreeBSD 12.1 build

2020-04-22 Thread Frank-Rainer Grahl


Check if this one applies:

https://bugzilla.mozilla.org/show_bug.cgi?id=1575876

We are now finalizing patches for 2.53.2. Can put it in if it helps.

Under Linux gcc 6 to 8 and clang 7 and 8 are tested. clang 9 and probably 10 
support will arrive in 2.53.3. gcc 9 is looked into but clang is really 
preferred now


FRG


BERTRAND Joël wrote:

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 
  #ifndef LINUX
  #include 
-#if !defined(__OpenBSD__) && !defined(__NetBSD__)
+#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__)
  #include 
  #endif
  #include 

Regards,

JKB


___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


FreeBSD 12.1 build

2020-04-22 Thread BERTRAND Joël
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 
 #ifndef LINUX
 #include 
-#if !defined(__OpenBSD__) && !defined(__NetBSD__)
+#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__)
 #include 
 #endif
 #include 

Regards,

JKB
___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey