Commit Graph

3172 Commits

Author SHA1 Message Date
Ehsan Akhgari
35e2b2b169 Bug 1242722 - Remove clang-cl command-line argument workarounds; r=glandium
In https://llvm.org/bugs/show_bug.cgi?id=26090, we changed the default
behavior of clang-cl to accept unknown command line arguments.  This
patch removes the Firefox workaround for this issue.
2016-01-25 21:34:57 -05:00
Nathan Froyd
2c21dd53b4 Bug 1222578 - remove workaround for clang-cl not understanding -arch:IA32; r=glandium
LLVM bug 24335 is resolved as of the middle of October 2015.
2015-11-06 15:31:49 -05:00
Ted Mielczarek
f5f80df38e bug 1230117 - get rid of TARGET_MD_ARCH. r=glandium 2016-01-21 06:07:22 -05:00
Ted Mielczarek
b7fcd3f1ac bug 1230117 - get rid of {HOST,TARGET}_NSPR_MDCPUCFG. r=glandium 2016-01-21 06:13:06 -05:00
Ted Mielczarek
ae6bbb299b bug 1230117 - Stop using NSPR's configure. r=glandium 2016-01-21 06:04:11 -05:00
Nicholas Nethercote
0f2b743ea0 Bug 1144842 (part 2) - Make --enable-dmd imply --enable-profiling. r=glandium.
This requires moving the --enable-dmd code earlier, before MOZ_PROFILING starts
being used.
2016-01-21 16:58:50 -08:00
Nicholas Nethercote
b7ad9cb4e2 Bug 1144842 (part 1) - Don't use MOZ_PROFILING before all the places it can be set. r=glandium. 2016-01-19 16:03:06 -08:00
Mike Hommey
c022724c98 Bug 1239217 - Enable the hybrid FasterMake+RecursiveMake backend for artifact builds. r=gps 2016-01-22 15:43:27 +09:00
Wes Kocher
8aaca4f248 Merge inbound to m-c a=merge 2016-01-21 16:24:42 -08:00
Ryan VanderMeulen
1191b4467d Bug 1241121 - Upgrade SQLite to version 3.10.2. r=mak 2016-01-21 08:53:39 -05:00
Carsten "Tomcat" Book
0cfb6c0b29 Merge mozilla-central to fx-team 2016-01-21 12:30:07 +01:00
Mike Hommey
675c03a3d8 Bug 1240990 - Define all backends in one place. r=gps
When adding a backend, we currently have to add them in three different
places so that they appear in the right places.

Instead, keep the list in a single place.
2016-01-21 13:54:03 +09:00
Jean-Yves Avenard
47167615df Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-19 22:00:03 +11:00
Wes Kocher
e2c7402b41 Backed out 4 changesets (bug 1240630) for asan failures in mochitest(2) and mochitest(oth) CLOSED TREE
Backed out changeset dc949ca1e1ec (bug 1240630)
Backed out changeset 06abea99a292 (bug 1240630)
Backed out changeset 9d90d4b0b928 (bug 1240630)
Backed out changeset 6162c46b32ff (bug 1240630)
2016-01-20 13:47:41 -08:00
Nathan Froyd
3f7b328f8d Bug 1236577 - turn off -Wignored-attributes when compiling with clang-cl; r=glandium
Several JS engine header files, notable RootingAPI.h, do:

class JS_PUBLIC_API(...) { ... };

which sticks __declspec(dllimport) on the type.  clang-cl warns us that
it doesn't implement that, but since we're compiling with clang-cl as an
interesting side project, rather than shipping releases with it, we can
ignore that warning.
2016-01-04 11:30:22 -05:00
Jean-Yves Avenard
14c3c7d9af Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-19 22:00:03 +11:00
Carsten "Tomcat" Book
f2a3a4d6b7 Backed out changeset 1f5356e9679e (bug 1240630) 2016-01-20 16:10:49 +01:00
Jean-Yves Avenard
67b502b599 Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-20 23:55:36 +11:00
Ryan VanderMeulen
32ce528803 Bug 1237324 - Upgrade SQLite to version 3.10.1. r=mak 2016-01-04 22:54:15 -05:00
Chris Peterson
f93b45a17e Bug 1239539 - Enable clang's -Wclass-varargs warnings. r=glandium 2015-12-25 22:32:49 -07:00
Ralph Giles
a5ea2548ba Bug 1239366 - Remove leading 'v' from detected versions. r=mshal
The leading 'v' was intended to distinguish the detected from
the literal version string, but this is non-obvious, and could
be confused with the git tag convention.

Instead, make the strings match, but put the detected version
first since it's what configure is likely to act on.
2016-01-13 11:20:00 -08:00
Ralph Giles
090029fa62 Bug 1224408 - Print yasm version. r=mshal
Report the detected yasm version so logs show what was present.
2016-01-13 09:06:46 -08:00
Jed Davis
11c2c37592 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands 2016-01-11 14:17:01 -08:00
Jed Davis
dd3ff20e03 Back out 7f6bb9f7e60d (bug 1133073) for bustage. Sorry about that. 2016-01-11 13:29:53 -08:00
Jed Davis
5b44277caf Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands 2016-01-11 12:46:50 -08:00
Gijs Kruitbosch
69cd4c0d78 Bug 1236111 - part 1: avoid configure.in Windows-only goop when running with disable-compile-environment, r=gps 2016-01-05 14:45:19 +00:00
Robert Strong
6dd644777f Bug 1237040 - Add configure.in support for NSIS 3.0b3 and remove support for NSIS 2.46u and NSIS 3.0a1. r=gps 2016-01-08 07:01:25 -08:00
Nicholas Nethercote
18aae81f22 Bug 1237151 (part 4) - Turn on -Wignored-qualifiers for C++ code. r=mshal.
It's already on for C code.
2016-01-05 14:31:02 -08:00
Jean-Yves Avenard
53b2fd8ae5 Bug 1214462: P5. Enable ffvpx compilation and use. r=glandium 2016-01-06 23:03:53 +11:00
Nicholas Nethercote
88dd3dcc0e Bug 1232219 (part 4) - Enable -Wunused for C code, except where it's too annoying. r=glandium. 2015-12-16 22:59:42 -08:00
Chris Peterson
47efb0f45a Bug 1235717 - Enable clang's -Wunreachable-code warnings. r=glandium 2015-12-28 00:17:02 -07:00
Mike Conley
ebaada53a6 Bug 1221846 - Get Task Tracer building on desktop r=cyu. 2015-12-02 20:55:38 -05:00
Nicholas Nethercote
89443a697b Bug 1232224 - Streamline setting of compile warnings in configure.in. r=glandium,cpeterson.
The main changes are to the warnings, which are as follows.

- Kept -Wall.

- Part of -Wall or on by default; remove all mentions:
  * -Waddress
  * -Wchar-subscripts
  * -Wcomment
  * -Wconversion-null
  * -Wendif-labels
  * -Wenum-compare
  * -Wimplicit-function-declaration
  * -Wint-to-pointer-cast
  * -Wmissing-braces
  * -Wmultichar
  * -Wnonnull
  * -Wparentheses
  * -Wpointer-sign
  * -Wpointer-to-int-cast (C only)
  * -Wreorder
  * -Wreturn-type
  * -Wsequence-point
  * -Wsign-compare (C++ only)
  * -Wswitch
  * -Wtrigraphs
  * -Wuninitialized
  * -Wunknown-pragmas
  * -Wunused-label
  * -Wunused-value
  * -Wwrite-strings (C++ only)

- Part of -Wextra; kept where present, added where missing:
  * -Wempty-body
  * -Wignored-qualifiers (not added for C++ code; many fixes needed to enable)
  * -Wtype-limits

- Part of -pedantic; kept where present, added where missing:
  * -pointer-arith

- C++ only, kept:
  * -Wno-invalid-offsetof
  * -Woverloaded-virtual

- Clang-only, kept:
  * -Wnon-literal-null-conversion (affected by a clang bug; see the big comment
    in the code)
  * -Wrange-loop-analysis (C++ only)
  * -Wno-unused-local-typedef

- This no longer exists?  I kept it to be safe:
  * -Winline-new-delete

A consequence of this is that, when --enable-warnings-as-errors is on, in
directories which have ALLOW_COMPILER_WARNINGS specified we no longer have any
fatal warnings. (We previously did have all the explicitly-mentioned
-Werror=foo ones.) This is a sensible change; if we are going to allow warnings
in a directory we should allow all of them, not just some of them.

Other changes:

- Some C warnings incorrectly used the CXX macros. Fixes that.

- Moves comments about warnings closer to the lines where they are defined, to
  make it easier to keep the comments consistent with the code.

- Reorders things a little, e.g. so that all enabled warnings are before all
  disabled warnings.

The C and C++ warnings are now very similar, in both configure.in and
js/src/configure.in.
2015-12-16 18:39:50 -08:00
Felix Janda
100705a4c7 Bug 1203272 - Fix build of nsMemoryReporterManager on linux systems without mallinfo(). r=glandium,njn. 2016-01-01 11:10:54 +01:00
Ryan VanderMeulen
f0dc54f9b2 Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Nick Alexander
2d12810664 Bug 1207890 - Post: Hacks to make --disable-compile-environment work on Mac OS X. r=glandium 2015-12-23 16:50:47 -08:00
Nick Alexander
5e6f69cdeb Bug 1216817 - Part 4: Add --enable-artifact-builds and MOZ_ARTIFACT_BUILDS. r=glandium
This is a clear statement of intent, where-as
--disable-compile-environment has other, non-artifact build, uses.
2015-10-30 13:35:35 -07:00
Lee Salzman
f8af005532 Bug 1234494 - part 2 - disable Skia GPU support by default on certain *BSDs, r=glandium 2015-12-30 12:17:06 -05:00
Phil Ringnalda
56c57ae873 Back out 6 changesets (bug 1214462) for Win PGO build bustage, reftest failures and mochitest failures
CLOSED TREE

Backed out changeset 803dba2adb27 (bug 1214462)
Backed out changeset e1b318c9c1db (bug 1214462)
Backed out changeset 3a421412b161 (bug 1214462)
Backed out changeset 2b388a17f4be (bug 1214462)
Backed out changeset 6a290f27f9bc (bug 1214462)
Backed out changeset 3dbf22bf17a4 (bug 1214462)
2015-12-30 20:37:08 -08:00
Jean-Yves Avenard
f715f2529c Bug 1214462: P5. Enable ffvpx compilation and use. r=glandium 2015-12-31 13:17:24 +11:00
Mike Hommey
122ab4c005 Bug 1235733 - Use absolute paths for include paths. r=gps
Limit ourselves to include paths for now, because there are tricky things
involved in making this globally.

While here, use shell_quote instead of manual quoting for those paths.
2015-12-31 08:10:02 +09:00
Mike Hommey
e27f35029e Bug 1235743 - Move compiler flags used for dependency generation to a separate variable. r=gps
This might seem like going in the opposite direction of what we tend to do
to move to moz.build land, but those flags are irrelevant in many situations
and are better separated out.
2015-12-31 07:35:04 +09:00
Birunthan Mohanathas
d14c0f3c71 Bug 1204752 - Disable thread-safe statics on VS2015 to fix WinXP startup crash. r=glandium
VS2015 added thread-safe statics, but it causes a startup crash on XP. The
suggested workaround provided by Microsoft is to disable the feature enitrely:
https://connect.microsoft.com/VisualStudio/feedback/details/1789709/visual-c-2015-runtime-broken-on-windows-server-2003-c-11-magic-statics

Note that thread-safe statics were not available in VS2013 so disabling them
should not be considered a regression.

With this patch, Firefox runs fine in XP SP2 and XP SP3.

DONTBUILD because VS2015-only change.
2015-12-29 10:21:07 +02:00
Ryan VanderMeulen
61b0fac901 Merge fx-team to m-c. a=merge 2015-12-25 20:33:39 -05:00
Nathan Froyd
0792407b40 Bug 1232772 - suppress numerous clang-style warnings when using clang-cl; r=glandium
Suppressing these warnings significantly cuts down the warning spam on
clang-cl builds.
2015-12-15 15:35:27 -05:00
Carsten "Tomcat" Book
8b8104669f merge mozilla-inbound to mozilla-central a=merge 2015-12-23 12:00:09 +01:00
Nick Alexander
8aca08bb0d Bug 1220500 - Set ANDROID_PACKAGE_NAME correctly from MOZ_APP_NAME. r=glandium 2015-12-21 20:07:30 -08:00
Mike Hommey
fe18085248 Bug 1234106 - Avoid symbolic links in various directories used by the build system. r=gps
This doesn't change calls to pwd on Windows or for subdirectories of the
directories already using pwd -P.
2015-12-22 07:55:47 +09:00
Carsten "Tomcat" Book
0eca0c54c3 Backed out changeset 8b4bffb2ce7c (bug 1133073) for bustage on Android 2015-12-21 11:07:48 +01:00
Jed Davis
ab50338407 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands
This removes the Android-only in-Gecko version of PR_DuplicateEnvironment from bug 773414.
2015-12-17 10:10:00 +01:00