Commit Graph

573 Commits

Author SHA1 Message Date
Mike Hommey
245ca066a4 Bug 716544 - Only define android bionic headers as system headers, and only use stlport includes when compiling C++. r=khuey 2012-03-13 09:47:02 +01:00
Mike Hommey
c17402ac1f Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red 2012-03-13 10:29:26 +01:00
Mike Hommey
f3c213484d Backout changeset 03394bda1d0f (bug 733773) because of Windows red. 2012-03-13 10:05:38 +01:00
Mike Hommey
b71a0c557f Bug 733773 - Reset default values for thumb, float-abi, etc. when --with-arch is specified. r=ted 2012-03-13 09:47:03 +01:00
Mike Hommey
2639f093a6 Bug 716544 - Only define android bionic headers as system headers, and only use stlport includes when compiling C++. r=khuey 2012-03-13 09:47:02 +01:00
Christian Holler
1c16cd9f04 Bug 733493 - Improve JS shell OOM testing code, now with 100% less bustage. r=jorendorff 2012-03-10 15:53:03 -05:00
Gary Kwong
38ac40f69f Backed out changeset 6169d8aa7a9d, a=tbplFire 2012-03-10 12:12:54 -08:00
Christian Holler
4cec72af96 Bug 733493 - Improve JS shell OOM testing code, r=jorendorff 2012-03-10 11:50:26 -08:00
Mike Hommey
afd6044b69 Bug 603370 - Add an option to expandlibs-exec to allow to reorder the symbols when linking. r=khuey 2012-03-08 08:56:27 +01:00
Christian Holler
c21903dcff Bug 727445 - Add --enable-address-sanitizer for ASan specific workarounds. Add --enable-llvm-hacks to pass CFLAGS to NSS and omit -Wl,-z,defs for shared libs. r=khuey,kaie 2012-03-07 15:11:15 -08:00
Mike Hommey
3dfdf56522 Bug 731151 - Avoid creating (and leaving around) an a.out during configure. r=khuey 2012-02-28 10:48:16 +01:00
Mike Hommey
0d8f2ba3a8 Bug 716544 - Define android NDK headers as system headers. r=khuey 2012-02-27 08:22:27 +01:00
Makoto Kato
2bfc9b451e Bug 730212 - Set _WIN32_IE to 0x0603 (XPSP2). r=jimm 2012-02-26 00:20:36 +09:00
Mike Hommey
20edc525ae Bug 729666 - Remove clock_gettime check in js/src/configure.in. r=khuey 2012-02-23 11:01:31 +01:00
Mark Capella
7c9075ff14 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Makoto Kato
01e301067a Bug 722933 - add -MACHINE option for link.exe. r=khuey 2012-02-21 16:19:23 +09:00
Rafael Ávila de Espíndola
49845c6bf7 Bug 727145 - Pass -Wno-return-type-c-linkage to clang. r=glandium. 2012-02-16 09:53:08 -05:00
Landry Breuil
68710b975e Bug 653551 - Jaegermonkey Sparc back-end broken on sparc64. r=leon.sha 2012-02-02 15:31:56 +09:00
Terrence Cole
a2169b9117 Bug 716136 - Add a configure flag to enable Generational GC; r=billm
These are already in the tree in several places to protect (empty) post write
barriers.  This will make it easier to test this functionality on more
platforms going forward.

--HG--
extra : rebase_source : d9c7f4f46392abbd608da94d02a7bc45f9fe8613
2012-01-06 17:05:33 -08:00
Justin Wood
e83aeba18f Merge backout 2012-01-27 10:11:46 -05:00
Justin Wood
0ad80f2ca4 Bug 721625 - Backed out changeset 886f040f2844 for regression from Bug 719659 2012-01-27 10:11:23 -05:00
Siddharth Agarwal
53f59d57c2 Followup to bug 699385: remove a bit from js/src/configure.in I forgot to tackle in the original patch. 2012-01-27 00:04:09 +05:30
Siddharth Agarwal
c47136a8ae Bug 699385 - Remove support for pre-Windows 7 SDKs. r=ted
--HG--
extra : rebase_source : 65ad2481c16199bfba9cebe89965d2065e90dd42
2012-01-26 22:05:34 +05:30
Jeff Walden
28157cc3ba Bug 719659 - Add -std=gnu99 to CFLAGS so that gcc and friends permit use of C99 constructs without warnings. This doesn't mean that everything in C99 is permitted now -- only the stuff supported by all the compilers we care about, including MSVC. r=espindola
--HG--
extra : rebase_source : 0788763db92464426eaab05cc92ba9d4baea152c
2012-01-20 19:00:55 -08:00
Gregory Szorc
1dda630b4c Bug 717713 - Add -Qunused-arguments to default Clang compiler flags; r=ted 2012-01-23 13:32:12 -08:00
Chao-ying Fu
2ee874bb61 Add MIPS support to JaegerMonkey (bug 678154, r=dvander).
--HG--
extra : rebase_source : 8f174670ae068741a1536696e17e3a2a6bb4c7e5
2012-01-12 19:18:05 -08:00
Rafael Ávila de Espíndola
137a526a8b Bug 715528 - Drop old bits about cross compiling from ppc to x86 and default OS X for ppc. r=ted. 2012-01-10 08:29:13 -05:00
Mike Hommey
1f4341fcce Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozglue.def.in
2011-12-28 08:24:02 +01:00
Landry Breuil
c4964fd0be Bug 714312 - Use <machine/endian.h> to get endianess on BSD systems, fixing the BSD build. r=ted
--HG--
extra : rebase_source : 8b418bdb2d713093d138ffed20bf1630c05f396b
2012-01-09 17:32:00 -06:00
Mounir Lamouri
90398cbe06 No bug - Fix build bustage. Follow up from bug 716541. r=mrbkap 2012-01-09 20:09:02 +01:00
Ed Morley
44179fc650 Bug 716139 - Don't try to generate js/src/analysis-tests/Makefile, since the directory no longer exists; rs=khuey 2012-01-07 01:00:29 +00:00
Mounir Lamouri
4974b40d0d Bug 703121 - Part 1 - Make warnings-as-errors opt-in instead of opt-out. r=khuey 2012-01-06 18:16:20 +01:00
Brian Hackett
95d4e2f5d9 Backed out changeset 4282a285d381 (bug 707049 backout). 2011-12-31 07:32:04 -07:00
Ms2ger
a0619211ee Backout 0d642e4e08cf (bug 707049); requested by evilpie. 2011-12-31 15:13:01 +01:00
Brian Hackett
157daeeaa6 Add dynamic analysis for identifying moving GC hazards, autorooter classes, some VM rooters, bug 707049. r=billm 2011-12-30 20:12:45 -07:00
Kyle Huey
c8de934380 Back out Bug 711895 for breaking l10n builds. 2011-12-29 15:45:51 -05:00
Nicholas Nethercote
da987c9b3a Bug 711895 - Tweak the warning options used for GCC builds. r=waldo, derf.
--HG--
extra : rebase_source : bbe982c5feceac25fb4c0ccd03ced3a874205c38
2011-12-28 19:59:19 -08:00
Ed Morley
5676601bd2 Bug 709792 - Remove deprecated --enable-tracejit; r=khuey 2011-12-20 12:19:36 +00:00
Jeff Walden
95c80127e7 Bug 711775 - Implement MOZ_NORETURN to encapsulate this-function-doesn't-return semantics. r=cjones
--HG--
extra : rebase_source : d56f3ef47e11c42b5fe6a442e13fd6202208914f
2011-12-17 16:45:29 -05:00
Ralph Giles
1ea8cea5fd Bug 697881 - Fall back to gcc on darwin if there's no gcc-4.2. r=ted
Since Bug 513353, we've defaulted to gcc-4.2 on darwin.
Unfortunately the default was unconditional, and while
XCode 4.1 provided a gcc-4.2 alias, XCode 4.2 does not,
although 'gcc' is llvm-gcc 4.2.1. As such, the configure
script immediately fails.

The patch still prefers gcc-4.2, but falls back to plain
gcc if it's not available.

Note that we try $CC and $CXX from the environment first
so it is still possible to override this default.
2011-12-18 20:20:28 +01:00
Andrew Quartey
e51c16190c Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
Rafael Ávila de Espíndola
e0e8413832 Bug 708851 - Any gcc that supports firefox support -pipe. 2011-12-08 22:16:06 -05:00
Rafael Ávila de Espíndola
7227f67d0a Bug 708065 - Fix configure check for -pipe. r=ted.
With the shell used on OS X, the test we were trying to compile was

#include <stdio.h>
int main() { printf("Hello World
"); exit(0); }

which fails.
2011-12-08 17:01:21 -05:00
Ed Morley
cdb3765666 Bug 643167 - js/src configure should build js-config with MAKE, not GMAKE (based on patch by Kyle Huey); r=ted
* Switches js-config generation to use $MAKE rather than $GMAKE, since using
  make.exe on pymake builds causes issues:
  "config/autoconf.mk:354: *** Windows-style srcdir being used with GNU make"
* Ensures $MAKE is defined for configure when using client.mk
* For standalone js builds client.mk won't be used, so sets $MAKE manually if it
  isn't already defined, to avoid bug 605133 comment 22.
2011-12-08 20:02:26 +00:00
Ed Morley
178855ca6d Bug 707593 - Clean up makefile generation in js/src configure; r=ted
* Adds the omitted js/src/analysis-tests/Makefile
* Adds conditionals to prevent makefiles being generated where they won't be used
2011-12-08 20:02:25 +00:00
Jeff Walden
461e38f5e8 Bug 704313 - Implement mozilla/StdInt.h. r=cjones
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Nicholas Nethercote
547f1793b5 No bug. Remove last trace of removed 'lirasm' directory. r=dvander. 2011-12-07 18:52:07 -08:00
Christian Holler
a3281271fb Bug 706433 - Add JS shell compile flag (--enable-more-deterministic) for more determinism, used for differential testing. r=jorendorff 2011-12-01 15:46:28 -08:00
Jacek Caban
1dac1965f5 Bug 706474 - Use -fno-keep-inline-dllexport in mingw builds r=khuey 2011-12-01 12:03:15 +01:00
Rafael Ávila de Espíndola
9799f824dd Bug 705466 - Use MOZ_CHECK_HEADERS to check for cpuid.h. r=ted.
--HG--
extra : rebase_source : ecd108d166017cbd64c5be459a76cb2522723dfb
2011-11-28 15:32:32 -05:00
Rafael Ávila de Espíndola
0ea58cfe7f Bug 705461 - Use MOZ_CHECK_HEADER(S) everywhere. r=neil. 2011-11-26 16:05:17 -05:00
David Anderson
df566990d3 Remove LeaveTrace and related structures (bug 698201 part 5, r=luke). 2011-11-22 17:41:43 -05:00
David Anderson
80b8c2deb8 Remove jstracer and nanojit (bug 698201 part 1, r=dmandelin). 2011-11-22 17:41:41 -05:00
Jeff Walden
24b1586811 Bug 701628 - Remove the empty _COMPILER_PREFIX configure.in variable and its uses. r=ted
--HG--
extra : rebase_source : 1803f6b912ee62790daae0687ae449cd3521f59a
2011-11-11 13:50:48 -08:00
Marco Bonardo
8c72c90eb0 Merge mozilla-central and mozilla-inbound 2011-11-11 11:09:58 +01:00
Gregory Szorc
3c849fad59 Merge b-s to m-c 2011-11-10 15:15:29 -08:00
Ed Morley
fddedbce14 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Gregory Szorc
efb8dac5a2 Bug 700519 - Remove -fpascal-strings from Darwin compiler flags; r=ted 2011-11-08 12:10:22 -08:00
Jeff Walden
b035f1b4a5 Bug 699185 - Building SpiderMonkey with clang warns up the wazoo. Disable the warning that's the primary cause of the spew, because the workarounds are gross and the issue is a purely theoretical spec deviation which no compiler implements. r=ted
--HG--
extra : rebase_source : 09469e9ca787f9dcec43cb4697034d20a61b476f
2011-11-09 01:35:05 -08:00
Michael Wu
34d5f356e4 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Ted Mielczarek
1f0befd9a5 bug 697709 - shuffle around some blocks in configure so we can choose the right STLport flavor for ARMv6 Android builds. r=glandium 2011-10-26 13:59:43 -04:00
Andrew Paprocki
74e88cc52c Bug 696957 - Add Sparc, POWER/PPC, IA64 big-endian detection to jscpucfg.h. r=ted.mielczarek. 2011-10-27 14:02:20 +08:00
Bill McCloskey
5ef98ce429 Bug 641027 - Add snapshot-at-the-beginning write barriers for incremental GC (r=luke,bhackett) 2011-10-25 16:07:42 -07:00
Ted Mielczarek
784b5ab386 bug 694499 - get rid of jscpucfg binary. r=jimb 2011-10-19 10:01:24 -04:00
Mitchell Field
149f79153c Bug 593768 - Remove --enable-cpp-exceptions configure option; r=ted 2011-10-21 18:56:25 +01:00
Jeff Walden
9732b0dd63 Bug 700910 - Implement MOZ_DELETE to encapsulate C++11 = delete syntax. r=cjones
--HG--
extra : rebase_source : 0fc4bc154923c84fd91e52be99fdac78f7c6dbc4
2011-11-08 19:19:44 -08:00
Kyle Huey
a3b76fdc50 Merge b-s to m-c. 2011-10-31 14:13:23 -04:00
Matheus Kerschbaum
11c92bf7ac Bug 697666 - Don't build the jstracer by default. r=dmandelin 2011-10-30 15:33:44 +01:00
Matheus Kerschbaum
b520783790 Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Matheus Kerschbaum
8368560bae Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Matt Brubeck
9a844008c2 Merge mozilla-central to mozilla-inbound 2011-10-11 14:11:09 -07:00
Gregory Szorc
364d4fb86e Bug 687225 - Detect MSVC 2011 compiler. r=ted 2011-10-03 21:57:00 -04:00
Felix Fung
fde9bb7c52 Bug 674012 - Remove checks for HAVE_GCC3_ABI. r=glandium
--HG--
extra : rebase_source : 934fd93abd8678d0215ee8296995cb5b296288bf
2011-09-28 11:32:39 -07:00
Teemu Mannermaa
36a83c702a Bug 689157 - Fix CC variables used in "cl -showIncludes" detection logic. r=khuey
--HG--
extra : rebase_source : 65e060c81a59c41912857e730059f2104c6f6068
2011-09-29 15:20:51 +02:00
Makoto Kato
760958734d Bug 681202 - Add Android x86 target. r=glandium 2011-09-29 13:39:03 +09:00
Rafael Ávila de Espíndola
28388b7197 Bug 674647 - Set MOZ_CAN_RUN_PROGRAMS in mozconfig.leopard and propagate it. r=khuey.
This patch sets MOZ_CAN_RUN_PROGRAMS in mozconfig.leopard so that the build
system knows it can run programs when producing 32 bit dmg files in a 64 bit
host (10.6).

The patch also propagates MOZ_CAN_RUN_PROGRAMS from the configure system to
Makefile.
2011-09-18 14:43:31 -04:00
Mike Hommey
28463360ac Bug 685130 - Build libffi with the same flags as the rest. r=ted 2011-09-16 10:01:03 +02:00
Kyle Huey
0bf2dfd277 Merge m-c to b-s. 2011-09-14 08:45:54 -07:00
Kyle Huey
775e4bf54d Merge m-c to b-s. 2011-09-11 05:32:38 -04:00
Mounir Lamouri
8cd289fd81 Bug 686350 - Check in configure script that the selected Android SDK is correct. r=glandium 2011-09-13 15:35:23 -07:00
Kyle Huey
614dad33a3 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Mike Hommey
d0a3d1bc2f Backout the backout of e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) 2011-09-03 08:19:06 +02:00
Mike Hommey
42fa5b0cd7 Merge m-c to b-s 2011-09-03 08:17:58 +02:00
Ed Morley
ed260633c7 Backout e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) for Win opt orange and purple galore, on a CLOSED TREE 2011-09-03 04:35:21 +01:00
Matheus Kerschbaum
e07b5a7ab9 Bug 682716 - Remove remaining support for Symbian. r=ted 2011-09-03 01:55:30 +01:00
Matheus Kerschbaum
be59d7a9a8 Bug 689920 part 2: Remove remaining Tru64/Alpha support. r=ted 2011-09-03 01:55:30 +01:00
Matheus Kerschbaum
f815f4bd6c Bug 689920 part 1: Remove build support for old Unix platforms. r=ted 2011-09-03 01:55:29 +01:00
Rafael Ávila de Espíndola
a8c970acc2 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.
2011-09-03 13:36:18 -04:00
Mike Hommey
cfd3ac70a2 Bug 677501 - Build a mozutils library containing jemalloc and other things. r=khuey
--HG--
rename : memory/jemalloc/Makefile.in => memory/mozutils/Makefile.in
rename : memory/jemalloc/fixcrt.py => memory/mozutils/fixcrt.py
rename : memory/jemalloc/jemalloc.def => memory/mozutils/mozutils.def.in
2011-09-01 14:12:10 +02:00
Mike Hommey
1fbab12774 Bug 680440 - Clean up jemalloc linkage. r=khuey 2011-09-01 14:11:56 +02:00
Kyle Huey
7b7b45a351 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Jacek Caban
9fa7965d5a Bug Bug 685554 - Set OS_TARGET to WINNT when crosscompiling on mingw r=glandium 2011-09-09 15:07:39 +02:00
Ehsan Akhgari
d81b657456 Keep changeset 11247af82311 backed out on the reverted tree 2011-09-02 09:05:37 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Rafael Ávila de Espíndola
e281bb7586 revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Rafael Ávila de Espíndola
2f0d1d2073 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.

--HG--
extra : rebase_source : 58a64b71a23812910072c81bbf84b3721b961abb
2011-09-01 12:19:06 -04:00
Ed Morley
2e49ad6665 Merge mozilla-central to mozilla-inbound 2011-08-30 14:28:34 +01:00
Rafael Ávila de Espíndola
01691bce29 Bug 680515 - Enable strict aliasing in js again. r=khuey. 2011-08-30 08:48:26 -04:00
Brian Hackett
604519588f Merge MC -> JM 2011-08-29 12:34:59 -07:00