On Tue, 28 May 2013, [email protected] wrote:
Author: jbeich
Date: Tue May 28 20:43:15 2013
New Revision: 1262
Log:
unbreak build with clang/libstdc++
Added:
trunk/www/firefox-nightly/files/patch-bug876156
Added: trunk/www/firefox-nightly/files/patch-bug876156
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/www/firefox-nightly/files/patch-bug876156 Tue May 28 20:43:15
2013 (r1262)
@@ -0,0 +1,13 @@
+diff --git mfbt/Atomics.h mfbt/Atomics.h
+index d79af6c..40b9336 100644
+--- mfbt/Atomics.h
++++ mfbt/Atomics.h
+@@ -27,7 +27,7 @@
+ */
+ #if defined(__clang__)
+ # if (__cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__)) && \
+- __has_include(<atomic>)
++ __has_include_next(<atomic>)
+ # define MOZ_HAVE_CXX11_ATOMICS
+ # endif
+ /*
_______________________________________________
FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #69 r251014: Sun May 26
19:28:49 CDT 2013 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64
../../dom/ipc/ContentChild.o: In function
`mozilla::dom::ContentChild::RecvSetProcessPrivileges(base::ChildPrivileges
const&)':
/usr/ports/www/FF_nightly/work/mozilla-central-f66d956d188e/dom/ipc/ContentChild.cpp:(.text._ZN7mozilla3dom12ContentChild24RecvSetProcessPrivilegesERKN4base15ChildPrivilegesE+0xf):
undefined reference to
`base::SetCurrentProcessPrivileges(base::ChildPrivileges)'
/usr/bin/ld: ../../dom/ipc/ContentChild.o: relocation R_X86_64_PC32
against `_ZN4base27SetCurrentProcessPrivilegesENS_15ChildPrivilegesE' can
not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
gmake[3]: *** [libxul.so] Error 1
gmake[3]: Leaving directory
`/usr/ports/www/FF_nightly/work/mozilla-central-f66d956d188e/obj-x86_64-portbld-freebsd10.0/toolkit/library'
gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory
`/usr/ports/www/FF_nightly/work/mozilla-central-f66d956d188e/obj-x86_64-portbld-freebsd10.0'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory
`/usr/ports/www/FF_nightly/work/mozilla-central-f66d956d188e/obj-x86_64-portbld-freebsd10.0'
gmake: *** [default] Error 2
*** Error code 1
Stop.
make: stopped in /usr/ports/www/FF_nightly
*** Error code 1
Stop.
make: stopped in /usr/ports/www/FF_nightly
*** Error code 1
Stop.
make: stopped in /usr/ports/www/FF_nightly
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"