Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Mar 2016 20:42:55 +0100
From:      Jan Beich <jbeich@vfemail.net>
To:        Keith Seyffarth <weif@weif.net>
Cc:        gecko@freebsd.org
Subject:   Re: errors building firefox-44.0.2
Message-ID:  <d1re-gf28-wny@vfemail.net>
In-Reply-To: <84twkqax90.fsf@maxwell.cjones.org> (Keith Seyffarth's message of "Tue, 01 Mar 2016 11:06:35 -0700")
References:  <84twkqax90.fsf@maxwell.cjones.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

Keith Seyffarth <weif@weif.net> writes:

> In file included from ipc/contentproc/plugin-container.cpp:8:
> In file included from ../../dist/include/nsXULAppAPI.h:14:
> ../../dist/include/mozilla/Logging.h:103:26: error: constexpr constructor never
>       produces a constant expression [-Winvalid-constexpr]
>   explicit MOZ_CONSTEXPR LazyLogModule(const char* aLogName)
>                          ^
> ../../dist/include/mozilla/Logging.h:105:7: note: non-literal type
>       'Atomic<mozilla::LogModule *, ReleaseAcquire>' cannot be used in a constant
>       expression
>     , mLog(nullptr)
>       ^

Try adding -Wno-invalid-constexpr to CXXFLAGS. Usually, warnings don't
abort build unless there's -Werror somewhere or a bug in the compiler.

> i386-portbld-freebsd10.0

FreeBSD 10.0-RELEASE is no longer supported[1]. The error may not exist
in later versions of clang/libc++ shipped with base system. If you can't
upgrade right away try using lang/gcc or lang/clang37 but it's not
guaranteed there won't be more issues. Also, on 10.0+ systems lang/gcc*
need to be configured to use libc++ instead of libstdc++.

[1] https://www.freebsd.org/security/unsupported.html

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJW1fC/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3b7cAIAJ2IX1f1VtcSHApINmHqSP97
MUfahcwMqaBjQ7FUG6esJdxxcpijvqLNtgYzRb0m71CqJwuVBylRgnISXUVDDEPv
wHB2lm/xNF0FxxCrlBWmau91yf8oiiSv8hCed2NREM3NZKPJatAtX1dM6OKk2AvI
KqI9qnPHn45WDwrzulHOgT6B2RdwLJyawZU6tRgFNPmo1vMVM4bV3VvCaVhBAtVA
MzqdNOHNE8KkRkLCO/wLxszaeQyFiZRq38JQ4fLhYofCwTbNLdYAzQLw3k5qbY3E
8YxxkKaJO6XcTZyHl87CGvvGrSFXHrApXv1azM8QPK7qqN7cKvcYZv1Zm9Mn8jQ=
=d8V1
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d1re-gf28-wny>