errors building firefox-44.0.2

Jan Beich jbeich at vfemail.net
Tue Mar 1 19:43:34 UTC 2016


Keith Seyffarth <weif at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-gecko/attachments/20160301/1f718a68/attachment.sig>


More information about the freebsd-gecko mailing list