On 2020-11-25, BERTRAND Joël wrote:

>       Hello,
>
>       I'm trying to build Semonkey on a FreeBSD workstation. I build for a
> long time seamonkey from sources without any trouble but this morning,
> compilation stage aborts with error :
>
> /usr/bin/clang++ -o nsReadableUtilsSSE2.o -c -fuse-ld=lld
> -I/root/seamonkey/seamonkey-2.53.5.1/obj-x86_64-unknown-freebsd12.2/dist/stl_wrappers
> -I/root/seamonkey/seamonkey-2.53.5.1/obj-x86_64-unknown-freebsd12.2/dist/system_wrappers
> -include /root/seamonkey/seamonkey-2.53.5.1/mozilla/config/gcc_hidden.h
> -DNDEBUG=1 -DTRIMMED=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE
> -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
> -I/root/seamonkey/seamonkey-2.53.5.1/mozilla/xpcom/string
> -I/root/seamonkey/seamonkey-2.53.5.1/obj-x86_64-unknown-freebsd12.2/xpcom/string
> -I/root/seamonkey/seamonkey-2.53.5.1/obj-x86_64-unknown-freebsd12.2/dist/include
> -I/root/seamonkey/seamonkey-2.53.5.1/obj-x86_64-unknown-freebsd12.2/dist/include/nspr
> -I/root/seamonkey/seamonkey-2.53.5.1/obj-x86_64-unknown-freebsd12.2/dist/include/nss
> -fPIC -DMOZILLA_CLIENT -include
> /root/seamonkey/seamonkey-2.53.5.1/obj-x86_64-unknown-freebsd12.2/mozilla-config.h
> -Qunused-arguments -I/usr/local/include -Qunused-arguments -Wall
> -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith
> -Wsign-compare -Wtype-limits -Wunreachable-code
> -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof
> -Wclass-varargs -Wloop-analysis -Wc++1z-compat -Wcomma
> -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete
> -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wformat
> -Wformat-security -Wno-gnu-zero-variadic-macro-arguments
> -Wno-unknown-warning-option -Wno-return-type-c-linkage -fno-exceptions
> -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -pipe -g
> -O -fomit-frame-pointer  -MD -MP -MF .deps/nsReadableUtilsSSE2.o.pp
> -msse2
> /root/seamonkey/seamonkey-2.53.5.1/mozilla/xpcom/string/nsReadableUtilsSSE2.cpp
> In file included from
> /root/seamonkey/seamonkey-2.53.5.1/obj-x86_64-unknown-freebsd12.2/xpcom/typelib/xpt/Unified_cpp_xpcom_typelib_xpt0.cpp:2:
> In file included from
> /root/seamonkey/seamonkey-2.53.5.1/mozilla/xpcom/typelib/xpt/xpt_arena.cpp:13:
> In file included from
> /root/seamonkey/seamonkey-2.53.5.1/mozilla/xpcom/typelib/xpt/xpt_arena.h:13:
> In file included from
> /root/seamonkey/seamonkey-2.53.5.1/obj-x86_64-unknown-freebsd12.2/dist/system_wrappers/stdlib.h:3:
> In file included from /usr/include/c++/v1/stdlib.h:100:
> In file included from
> /root/seamonkey/seamonkey-2.53.5.1/obj-x86_64-unknown-freebsd12.2/dist/system_wrappers/math.h:3:
> In file included from /usr/include/c++/v1/math.h:311:
> /root/seamonkey/seamonkey-2.53.5.1/obj-x86_64-unknown-freebsd12.2/dist/stl_wrappers/type_traits:54:6:
> error:
>       "STL code can only be used with infallible ::operator new()"
> #    error "STL code can only be used with infallible ::operator new()"
>      ^
> 1 error generated.
> gmake[4]: ***
> [/root/seamonkey/seamonkey-2.53.5.1/mozilla/config/rules.mk:1034:
> Unified_cpp_xpcom_typelib_xpt0.o] Error 1
>
>       I haven't found any recent explanation of this error.
>
>       My .mozconfig file contains :
>
> [root@pythagore ~/seamonkey/seamonkey-2.53.5.1]# cat .mozconfig
> ac_add_options --enable-application=suite
> ac_add_options --enable-optimize
> ac_add_options --disable-debug
>
> and I build Semonkey with following line :
>
> [root@pythagore ~/seamonkey/seamonkey-2.53.5.1]# CC=clang CXX=clang++
> gmake -f client.mk
>
>       I cannot test with gcc/g++. Maybe Seamonkey can be built with these
> compilers as Seamonkey is not runnable for a long time when it is build
> with GNU compiler on FreeBSD.
>
>       Best regards,
>
>       JKB

Just in case you haven't found it yet, this looks like what is reported
in bug 1677848:
https://bugzilla.mozilla.org/show_bug.cgi?id=1677848

-- 
Nuno Silva
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to