Date: Mon, 5 Aug 2013 17:06:09 -0400 (EDT) From: AN <andy@neu.net> To: freebsd-gecko@freebsd.org Subject: Re: [SVN-Commit] r1305 - trunk/Mk Message-ID: <alpine.BSF.2.00.1308051659570.85633@mail.neu.net> In-Reply-To: <201308051716.r75HGWGM069552@trillian.chruetertee.ch> References: <201308051716.r75HGWGM069552@trillian.chruetertee.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Aug 2013, svn-freebsd-gecko@chruetertee.ch wrote: > Author: jbeich > Date: Mon Aug 5 17:16:32 2013 > New Revision: 1305 > > Log: > apply r1158 to bundled nss as well > > Reported by: AN <andy@neu.net> > > Modified: > trunk/Mk/bsd.gecko.mk > > Modified: trunk/Mk/bsd.gecko.mk > ============================================================================== > --- trunk/Mk/bsd.gecko.mk Mon Aug 5 16:05:41 2013 (r1304) > +++ trunk/Mk/bsd.gecko.mk Mon Aug 5 17:16:32 2013 (r1305) > @@ -831,6 +831,10 @@ > > .if ${ARCH} == amd64 > CONFIGURE_TARGET=x86_64-unknown-${OPSYS:L}${OSREL} > +. if ${USE_MOZILLA:M-nss} && ${MOZILLA_VER:R:R} >= 20 > +USE_BINUTILS= # intel-gcm.s > +CFLAGS+= -B${LOCALBASE}/bin > +. endif > .elif ${ARCH:Mpowerpc*} > USE_GCC?= yes > CFLAGS+= -D__STDC_CONSTANT_MACROS > _______________________________________________ The build is still failing. # cat /usr/ports/Mk/bsd.gecko.mk | grep BINUTILS USE_BINUTILS= # intel-gcm.s FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #78 r253966: Mon Aug 5 14:42:05 CDT 2013 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 # svn up Updating '.': At revision 1306. # pkg info |grep binutils binutils-2.23.2 GNU binary tools What other info can I provide? cat /usr/ports/www/FF_nightly/work/mozilla-central-b743d65e81d8/obj-x86_64-unknown-freebsd10.0/config.log Full log: http://sebsauvage.net/paste/?51235dce7dc5fab7#ZFk0HGr9zAkxi8bnT+QpEz/7kW2jNgY8JvutIL9idu8= This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:1113: checking host system type configure:1134: checking target system type configure:1152: checking build system type configure:1227: checking for mawk configure:1401: checking Python environment is Mozilla virtualenv configure:1597: checking for /usr/local/bin/perl configure:2964: checking for gcc configure:3077: checking whether the C compiler (/usr/bin/clang -O2 -pipe -O3 -B/usr/local/bin -fno-strict-aliasing -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$$ORIGIN) works configure:3093: /usr/bin/clang -o conftest -O2 -pipe -O3 -B/usr/local/bin -fno-strict-aliasing -isystem/usr/local/include -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$$ORIGIN conftest.c 1>&5 configure:3090:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(){return(0);} ^~~~ 1 warning generated. configure:3119: checking whether the C compiler (/usr/bin/clang -O2 -pipe -O3 -B/usr/local/bin -fno-strict-aliasing -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$$ORIGIN) is a cross-compiler configure:3124: checking whether we are using GNU C configure:3133: /usr/bin/clang -E conftest.c configure:3152: checking whether /usr/bin/clang accepts -g configure:3193: checking for c++ configure:3225: checking whether the C++ compiler (/usr/bin/clang++ -O2 -pipe -O3 -B/usr/local/bin -fno-strict-aliasing -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$$ORIGIN) works configure:3241: /usr/bin/clang++ -o conftest -O2 -pipe -O3 -B/usr/local/bin -fno-strict-aliasing -isystem/usr/local/include -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$$ORIGIN conftest.C 1>&5 configure:3267: checking whether the C++ compiler (/usr/bin/clang++ -O2 -pipe -O3 -B/usr/local/bin -fno-strict-aliasing -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$$ORIGIN) is a cross-compiler configure:3272: checking whether we are using GNU C++ configure:3281: /usr/bin/clang++ -E conftest.C configure:3300: checking whether /usr/bin/clang++ accepts -g configure:3334: checking for ranlib configure:3366: checking for /usr/local/bin/as configure:3420: checking for ar configure:3455: checking for ld configure:3490: checking for strip configure:3525: checking for windres configure:4392: checking how to run the C preprocessor configure:4472: checking how to run the C++ preprocessor configure:4490: /usr/bin/clang++ -E -isystem/usr/local/include conftest.C >/dev/null 2>conftest.out configure:4574: checking for a BSD compatible install configure:4627: checking whether ln -s works configure:4650: checking for minimum required perl version >= 5.006 configure:4661: checking for full perl installation configure:4698: checking for doxygen configure:4747: checking for autoconf configure:4798: checking for unzip configure:4854: checking for zip configure:4908: checking for xargs configure:4960: checking for rpmbuild configure:5125: checking compiler version configure:5199: checking for gmake configure:5266: checking for X configure:5583: checking for dnet_ntoa in -ldnet configure:5602: /usr/bin/clang -o conftest -O2 -pipe -O3 -B/usr/local/bin -fno-strict-aliasing -isystem/usr/local/include -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$$ORIGIN conftest.c -ldnet 1>&5 /usr/local/bin/ld: cannot find -ldnet clang: error: linker command failed with exit code 1 (use -v to see invocation) configure: failed program was: #line 5591 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa(); .... int main() { CONFIGURE_STATIC_ASSERT(sizeof(wchar_t) == 2); CONFIGURE_STATIC_ASSERT((wchar_t)-1 > (wchar_t) 0) ; return 0; } configure:10670: checking for visibility(hidden) attribute configure:10698: checking for visibility(default) attribute configure:10726: checking for visibility pragma support configure:10751: checking For gcc visibility bug with class-level attributes (GCC bug 26905) configure:10779: checking For x86_64 gcc visibility bug with builtins (GCC bug 20297) configure:10834: checking for gcc PR49911 configure:10895: /usr/bin/clang++ -o conftest -O2 -Qunused-arguments -isystem/usr/local/include -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$$ORIGIN -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.C 1>&5 /usr/bin/ld: unrecognized option '--build-id' /usr/bin/ld: use the --help option for usage information clang++: error: linker command failed with exit code 1 (use -v to see invocation) configure: failed program was: #line 10851 "configure" #include "confdefs.h" #ifdef __cplusplus extern "C" void exit(int); #endif extern "C" void abort(void); typedef enum { eax, ecx, edx, ebx, esp, ebp, esi, edi } RegisterID; union StateRemat { RegisterID reg_; int offset_; }; static StateRemat FromRegister(RegisterID reg) { StateRemat sr; sr.reg_ = reg; return sr; } static StateRemat FromAddress3(int address) { StateRemat sr; sr.offset_ = address; if (address < 46 && address >= 0) { abort(); } return sr; } struct FrameState { StateRemat dataRematInfo2(bool y, int z) { if (y) return FromRegister(RegisterID(1)); return FromAddress3(z); } }; FrameState frame; StateRemat x; __attribute__((noinline)) void jsop_setelem(bool y, int z) { x = frame.dataRematInfo2(y, z); } int main(void) { jsop_setelem(0, 47); } configure:10928: checking for gcc pr39608 configure:10958: /usr/bin/clang++ -c -O2 -pipe -O3 -B/usr/local/bin -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -fno-tree-vrp -Qunused-arguments -isystem/usr/local/include conftest.C 1>&5 configure:10954:1: warning: expression result unused [-Wunused-value] true ^~~~ 1 warning generated. configure:10988: checking for llvm pr8927 configure:11028: /usr/bin/clang -o conftest -O2 -Qunused-arguments -isystem/usr/local/include -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$$ORIGIN -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c 1>&5 /usr/bin/ld: unrecognized option '--build-id' /usr/bin/ld: use the --help option for usage information clang: error: linker command failed with exit code 1 (use -v to see invocation) configure: failed program was: #line 11005 "configure" #include "confdefs.h" struct foobar { int x; }; static const struct foobar* foo() { static const struct foobar d = { 0 }; return &d; } static const struct foobar* bar() { static const struct foobar d = { 0 }; return &d; } __attribute__((noinline)) int zed(const struct foobar *a, const struct foobar *b) { return a == b; } int main() { return zed(foo(), bar()); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1308051659570.85633>