[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mozilla Software on Sparc64/Linux



Hello Adrian,

adding "CONFIGURE_FLAGS += --disable-warnings-as-errors" to debian/rules didn't remove the error.

Should i try to add -fpermissive to the CFLAGS?

Regards,
Connor


On Thu, Nov 18, 2021 at 7:57 PM John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
Hello!

On 11/18/21 19:48, Connor McLaughlan wrote:
> In file included from
> /<<PKGBUILDDIR>>/build-browser/js/src/Unified_cpp_js_src26.cpp:20:
> /<<PKGBUILDDIR>>/js/src/util/NativeStack.cpp:29:1: error: ‘pid_t gettid()’
> was declared ‘extern’ and later ‘static’ [-fpermissive]
>    29 | gettid()
>       | ^~~~~~

Try building with "--disable-warnings-as-errors":

--- debian/rules.orig   2018-10-03 09:18:06.000000000 +0200
+++ debian/rules        2021-11-18 19:57:12.041480785 +0100
@@ -87,6 +87,8 @@

 AUTOCONF_DIRS := build/autoconf

+CONFIGURE_FLAGS += --disable-warnings-as-errors
+
 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
        CONFIGURE_FLAGS += --disable-optimize
 endif

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: