Commit Graph

241 Commits

Author SHA1 Message Date
Mike Hommey
3e50893a22 Bug 822584 - Workaround in elfhack to accomodate for breakpad not handling the memory mapping induced by the elfhack/bionic linker combination. r=nfroyd 2013-01-02 10:17:32 +01:00
Rafael Ávila de Espíndola
6b262a1f04 Bug 823906 - Last clang update on the 3.2 branch. r=rail.
Update the build scripts.
2012-12-24 09:53:55 -05:00
Rafael Ávila de Espíndola
764158ba76 Bug 822464 - Upgrade clang to 170377 in the 3.2 branch. r=rail.
Update the build script.

--HG--
extra : rebase_source : 473cc8ec76dcfa53eb2e521f4bd9e8db78835c51
2012-12-18 16:22:38 -05:00
Rafael Ávila de Espíndola
8490659853 Bug 820256 - Upgrade clang to 169730 in the 3.2 branch. r=rail.
Update the build scripts.
2012-12-11 21:44:15 -05:00
Mike Hommey
fd460ff7b9 Bug 816494 part 4 - Add a -r option to elfhack that re-merges the split PT_LOADs. r=nfroyd
Sections are positioned accordingly, which means the resulting ELF binary will
have a big gap full of zero between .rel.plt and .plt.
2012-12-10 10:33:08 +01:00
Mike Hommey
839c07875b Bug 816494 part 3 - Allocate Elf instance on stack in do_file(). r=nfroyd 2012-12-10 10:33:08 +01:00
Mike Hommey
fa48cc05a3 Bug 816494 part 2 - Move the PT_LOAD splitting logic in elfhack.cpp. r=nfroyd
Also, section offsets are not adjusted until the split is done.
2012-12-10 10:33:08 +01:00
Mike Hommey
56921c1ab9 Bug 816494 part 1 - When inserting a section before or after another, also insert it in the segments containing that other. r=nfroyd 2012-12-10 10:33:08 +01:00
Rafael Ávila de Espíndola
f7c5462da3 Bug 817710 - Upgrade clang to 169139 in the 3.2 branch. r=rail.
Update the build script.
2012-12-04 13:38:55 -05:00
Rafael Ávila de Espíndola
8113c0dd8a Bug 815216 - Upgrade clang to 168596 in the 3.2 branch. r=rail.
Update the build script.

--HG--
extra : rebase_source : 9ed24736739a8abb775cce8ff90c456300098942
2012-11-29 09:49:15 -05:00
Rafael Ávila de Espíndola
3f87ed183c Bug 813076 - Upgrade clang to 168304 in the 3.2 branch. r=rail.
Update the build script.
2012-11-20 10:51:56 -05:00
Rafael Ávila de Espíndola
5e62216110 Bug 811081 - Switch the clang packages to the 3.2 release branch. r=rail.
build script changes.
2012-11-13 09:37:38 -05:00
Rafael Ávila de Espíndola
0f41bef6be Bug 799572 - clang update broke NSS. r=rail. 2012-10-20 20:50:10 -04:00
Rafael Ávila de Espíndola
0e423c0d5a Bug 793109 - Stacks truncated near nsDocLoader::DoFireOnStateChange. r=rail.
Update the build script.

--HG--
extra : rebase_source : 490759f884a9576ab7307a4710b1af2cfab09db6
2012-10-09 21:58:27 -04:00
Rafael Ávila de Espíndola
d0a5f773b6 Bug 797525 - Upgrade clang to version >= r163716 to fix ASan issue 109. r=rail. 2012-10-06 08:28:39 -04:00
Rafael Ávila de Espíndola
bdefb19106 Bug 784691 - Upgrade clang to r162360. r=rail.
build the new version.

--HG--
extra : rebase_source : 8a743e450a40b68b9d49db591cb694083c0f1eeb
2012-10-04 22:09:48 -04:00
Rafael Ávila de Espíndola
cb8a3508fd Bug 793319 - Backport patches to make the output order deterministic. r=rail. 2012-10-01 10:40:55 -04:00
Rafael Ávila de Espíndola
c84c23583f Bug 793317 - Only enable the x86,x86_64 and arm targets. r=rail. 2012-10-01 09:11:16 -04:00
Rafael Ávila de Espíndola
44fd89846a Bug 787302 - Most stacks are truncated (using minidump_stackwalk on a Mac Tinderbox debug build). r=rail.
Also apply the patch on OS X.
2012-09-18 16:58:03 -04:00
Rafael Ávila de Espíndola
52689aa21f Bug 791684 - Rename clang.tar.bz2 to its sha512 after building. r=rail.
--HG--
extra : rebase_source : b61abc1c5292a85d182f56aeaf01b399b7f2f222
2012-09-17 10:33:00 -04:00
Rafael Ávila de Espíndola
1e978504de Bug 787302 - Most stacks are truncated (using minidump_stackwalk on a
Mac Tinderbox debug build). r=catlee.
patch clang to always produce debug_frame.

--HG--
extra : rebase_source : 0ca24100e9451b5d4d585fa27c116183fa6c5864
2012-09-17 09:21:17 -04:00
Steve Fink
10a0ab1897 Bug 738612 - Include common mozconfigs so (eg) try pushes can modify them easily. r=ted
--HG--
rename : build/macosx/common => build/macosx/mozconfig.common
extra : rebase_source : fd63c04c9624177a75220a5a49f03fd0e8539e26
2012-09-05 12:09:50 -07:00
Ryan VanderMeulen
ffdda7b048 Backout bug 738612, with feeling this time. 2012-09-04 19:21:23 -04:00
Steve Fink
ebddc9de7e Bug 738612 - Include common mozconfigs so try pushes can modify them easily. r=ted 2012-08-21 11:37:12 -07:00
Rafael Ávila de Espíndola
2e83a27fe2 Bug 787568 - Upgrade clang to r161152. r=rail.
Update the build script.
2012-08-31 19:08:53 -04:00
Rafael Ávila de Espíndola
fbb36f93af Bug 786010 - create manifest as part of the clang build. r=rail. 2012-08-27 16:05:35 -04:00
Rafael Ávila de Espíndola
ad2430336c Bug 785772 - Don't use -O0 during stage1 on darwin. r=rail.
We only need to build stage1 with -O0 on linux because of a bug in the gcc
4.5 we use.
2012-08-27 10:20:46 -04:00
Rafael Ávila de Espíndola
acdd0b98aa Bug 784691 - Upgrade clang to r162360. Use a local copy of tooltool and setup.sh. 2012-08-23 12:52:50 -04:00
Mike Hommey
612724ed9b Bug 716295 part 6 - Create elfhack tests for both DT_INIT and DT_INIT_ARRAY. r=nfroyd 2012-08-09 16:34:26 +02:00
Mike Hommey
1c4cd1bc80 Bug 716295 part 5 - Add support for R_ARM_THM_CALL relocations. r=nfroyd 2012-08-09 16:34:25 +02:00
Mike Hommey
36ffb343ca Bug 716295 part 4 - Interpose elfhack injected code in DT_INIT_ARRAY's first entry when possible. r=nfroyd 2012-08-09 16:34:25 +02:00
Mike Hommey
a08ff58250 Bug 716295 part 3 - Add serialization into a buffer instead of an ostream. r=nfroyd 2012-08-09 16:34:25 +02:00
Mike Hommey
c4303b4973 Bug 716295 part 2 - Fix assertion in serializable::init and cleanup serializable constructor. r=nfroyd 2012-08-09 16:34:24 +02:00
Mike Hommey
1395ca626e Bug 716295 part 1 - Fail more gracefully when .dynamic section can't be grown. r=nfroyd 2012-08-09 16:34:24 +02:00
Mike Hommey
6286c820e1 Bug 703843 - Use mkdir_deps instead of order-only prerequisite in build/unix/elfhack/Makefile.in. r=ted 2012-08-09 16:34:24 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Rafael Ávila de Espíndola
771b94bb22 Bug 779259 - upgrade clang to r161022. r=rail.
Update the build script and set MACOSX_DEPLOYMENT_TARGET.
2012-08-01 10:15:33 -04:00
Rafael Ávila de Espíndola
5ff6ef0a83 Bug 779249 - Make the script executable. r=forgot to chmod on the previous push. 2012-07-31 20:56:12 -04:00
Rafael Ávila de Espíndola
410be21d4d Bug 779249 - checkin a script to create the tooltool manifests for clang. r=rail.
DONTBUILD.

--HG--
extra : rebase_source : db11a13de540c77e6c6317f302b840d00682b2d4
2012-07-31 16:44:14 -04:00
Justin Lebar
faacf0b575 Bug 776537 - Pass a valid environment to populate_virtualenv.py, unbreaking configure, by expanding HOST_CFLAGS and friends when they're created. r=glandium
Also fix up some Makefile.in's so they specify HOST_CFLAGS/CXXFLAGS correctly.

--HG--
extra : rebase_source : 5a6b983527bfb1cd7b551916dac286f130a736c6
2012-07-23 13:29:02 -04:00
Rafael Ávila de Espíndola
cf0d2b5fc6 Bug 774796 - upgrade clang to r160364. r=rail.
Update the build script.

--HG--
extra : rebase_source : ab552c6849c5b3bcb0d7e603555e5b67ce9fbf69
2012-07-17 15:13:06 -04:00
Rafael Ávila de Espíndola
e8eb9e9833 Bug 774414 - Disable sse by default on the 32 bit linux build of clang. r=rail.
DONTBUILD.

--HG--
extra : rebase_source : 82b0bbcb013de2b49a2af15be0a32318c3a854fb
2012-07-16 15:49:46 -04:00
Rafael Ávila de Espíndola
438ff765b6 Bug 774372 - build clang packages with --disable-assertions. r=rail.
--HG--
extra : rebase_source : bf59e8a827ec563170bc853a0c2d9de6211918f6
2012-07-16 15:02:41 -04:00
Rafael Ávila de Espíndola
f94882166a Bug 774121 - upgrade clang to r160227. r=rail.
Update the build script.
2012-07-16 08:26:17 -04:00
Rafael Ávila de Espíndola
7ef7d01c95 Bug 772853 - upgrade clang to r160176. r=rail.
Update the build script.

--HG--
extra : rebase_source : e534988eb9423a5459ebf91ec5cfdb4eb3c0b30d
2012-07-13 23:52:52 -04:00
Rafael Ávila de Espíndola
e33f94d51f Bug 772853 - upgrade clang to r160105. r=rail.
DONTBUILD.
2012-07-12 11:19:00 -04:00
Mike Hommey
6f6742ee6a Bug 771569 - Move elfhack sections before .rel{,a}.dyn to work around glibc 2.16 bug. r=nfroyd 2012-07-09 17:53:35 +02:00
Ed Morley
d6c92162c0 Backout 61038a15b7b7 (bug 771569) for elfhack errors 2012-07-09 15:14:18 +01:00
Mike Hommey
c6c182204b Bug 771569 - Move elfhack sections before .rel{,a}.dyn to work around glibc 2.16 bug. r=nfroyd 2012-07-09 15:47:24 +02:00
Rafael Ávila de Espíndola
bf89c65c24 Bug 769635 - Upgrade clang to 159409. r=rail.
--HG--
extra : rebase_source : 8731ed8c9523c8e988fe01d90b8e5f4c2e4a69ef
2012-06-29 14:53:41 -04:00
Rafael Ávila de Espíndola
06ed86876f Bug 768406 - Upgrade clang to r159219. r=rail.
Update the build scripts.
2012-06-27 09:27:50 -04:00
Christian Holler
35b81db4a4 Bug 768405 - Adjust Clang path in ASan mozconfig for use with tooltool 2012-06-26 12:26:57 -04:00
Rafael Ávila de Espíndola
4eebfa5f10 Bug 761421 - Upgrade clang to 158160. r=rail.
Add a setup.sh script for use with tooltool.
DONTBUILD
2012-06-21 15:02:13 -04:00
Rafael Ávila de Espíndola
b7f4b5daad Bug 761421 - Upgrade clang to 158160. r=rail.
Add support for OS X in the build script.
DONTBUILD
2012-06-21 11:13:04 -04:00
Rafael Ávila de Espíndola
841854eecb Bug 761421 - Small fixes to the build script. r=rail.
DONTBUILD
2012-06-21 08:48:09 -04:00
Randell Jesup
435602cf1a Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium 2012-06-20 07:27:43 -04:00
Rafael Ávila de Espíndola
98bfb45859 Bug 761421 - Upgrade clang to 158160. r=rail.
Part 1 of many, add a script to build a tar file with clang to be use with
tooltool. For now this is centos 5 only, but will be ported to OS X too.
2012-06-20 11:14:08 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Rafael Ávila de Espíndola
198e7cab05 Bug 683975 - Build zlib. r=rail. 2012-05-17 16:14:38 -04:00
Rafael Ávila de Espíndola
49a66015ce Bug 683975 - build gawk. r=rail. 2012-05-16 07:50:05 -04:00
Christian Holler
2104f9dff5 Bug 753135 - Add AddressSanitizer mozconfig files to the tree, r=catlee 2012-05-15 15:24:14 -07:00
Rafael Ávila de Espíndola
1f75546491 Bug 683975 - Do a 3 step bootstrap. r=rail.
--HG--
extra : rebase_source : 68560b4f98df1b7e8c499969a371ae0490e90bbe
2012-05-15 09:06:42 -04:00
Rafael Ávila de Espíndola
caeafd64ad Bug 683975 - backport libtool's 74c8993c178a1386ea5e2363a01d919738402f30. r=rail. 2012-05-08 10:12:07 -04:00
Rafael Ávila de Espíndola
d0cccb3a75 Bug 683975 - make lib a symlink to lib64.
--HG--
extra : rebase_source : 5118679596f0034ba0afe13c4be8e4bb973d4b77
2012-05-03 14:19:33 -04:00
Mike Hommey
1c35c5990f Fixup for bug 748739 for Linux PGO breakage. rs=edmorley 2012-04-30 10:17:56 +02:00
Mike Hommey
cb3f1cdb07 Bug 749573 - Declare run-mozilla.sh and xpcshell as SDK_BINARY. r=ted 2012-04-30 08:05:34 +02:00
Mike Hommey
4c9231de07 Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted
--HG--
rename : build/stdc++compat.cpp => build/unix/stdc++compat/stdc++compat.cpp
2012-04-30 08:03:59 +02:00
Rafael Ávila de Espíndola
faa400e6fb Bug 683975 - Disable zlib when building binutils. r=rail.
--HG--
extra : rebase_source : e9db18ff4789f2d5eaf15b5f0b8a88d12a0de21e
2012-04-02 14:58:20 -04:00
Rafael Ávila de Espíndola
852a07ccfb Bug 683975. Set PATH when building stage2. r=rail. 2012-03-27 07:12:44 -04:00
Rafael Ávila de Espíndola
4563894774 Bug 683975 - Disable lto. r=rail. 2012-03-23 16:56:36 -04:00
Mike Hommey
a6dd5a1d0c Bug 734237 - Make elfhack skip ELF files that aren't shared objects. r=tglek 2012-03-13 09:47:03 +01:00
Mike Hommey
544b7a606d Bug 695711 - Always add -ffunction-sections and -fdata-sections when building with GCC, and port bug 670659 and bug 675867 to js/src. r=khuey
--HG--
rename : build/unix/check_debug_ranges.py => build/autoconf/check_debug_ranges.py
rename : build/unix/check_debug_ranges.py => js/src/build/autoconf/check_debug_ranges.py
2012-02-27 16:35:44 +01:00
Rafael Ávila de Espíndola
204efe6b21 Bug 683975 - Disable fixinc and point FLAGS_FOR_TARGET to our headers. r=rail.
--HG--
extra : rebase_source : a6dcd942c43cd693eb89bff3b4f47ce7aab1b17a
2012-02-28 09:39:54 -05:00
Rafael Ávila de Espíndola
6f37fa1b2b Bug 683975 - swap the glibc and gcc build order during stage2. r=rail. 2012-02-27 14:34:47 -05:00
Rafael Ávila de Espíndola
78465f7b6c Bug 683975 - build unifdef. r=rail 2012-02-24 12:11:01 -05:00
Rafael Ávila de Espíndola
377aa6e649 Bug 683975 - Need infra for developer contributed compilers. r=rail.
fix some reproducibility problems.

--HG--
extra : rebase_source : 75a182e3a0b0117776a78c7069b608c32ef8607a
2012-02-21 08:57:11 -05:00
Mike Hommey
9d3287a8ab Bug 725284 - Preserve PT_LOAD alignment, except when it's the default on x86-64. r=tglek 2012-02-21 08:08:41 +01:00
Rafael Ávila de Espíndola
99a084de31 Bug 683975 - Need infra for developer contributed compilers. r=rail.
dowgrade glibc to 2.5.1, fix reproducibility problem.
2012-02-17 13:53:03 -05:00
Rafael Ávila de Espíndola
0687548083 Bug 683975 - Need infra for developer contributed compilers. r=rail.
dowgrade glibc to 2.6.1.
2012-02-17 10:12:21 -05:00
Rafael Ávila de Espíndola
b586df4f88 Bug 683975 - Need infra for developer contributed compilers. r=rail.
dowgrade glibc to 2.7.
2012-02-16 15:33:04 -05:00
Rafael Ávila de Espíndola
7053a7d905 Bug 683975 - Need infra for developer contributed compilers. r=rail.
Downgrade glibc to 2.9.
2012-02-16 13:09:33 -05:00
Rafael Ávila de Espíndola
985b12c103 Bug 683975 - Need infra for developer contributed compilers. r=rail.
Downgrade glibc to 2.10.1.
2012-02-16 11:33:26 -05:00
Rafael Ávila de Espíndola
6535660f86 Bug 683975 - Need infra for developer contributed compilers. r=rail.
downgrade glibc to 2.11.1.
2012-02-16 07:23:41 -05:00
Rafael Ávila de Espíndola
54d5191627 Bug 683975 - Need infra for developer contributed compilers. r=rail.
Downgrade glibc to 2.12.2.

--HG--
extra : rebase_source : a6a48053e3777ce51856df45e6c3295017e73946
2012-02-14 07:33:40 -05:00
Rafael Ávila de Espíndola
ab9f951d91 Bug 683975 - Need infra for developer contributed compilers. r=rail.
make sure the libc.so script doesn't refer to build dir.
2012-01-31 10:25:26 +01:00
Rafael Ávila de Espíndola
ff604053d5 Bug 683975 - Need infra for developer contributed compilers. r=rail.
--HG--
extra : rebase_source : b5b616042e629be4c9cd1c8bc7217bc15f4d4a1c
2012-01-27 10:31:44 -05:00
Rafael Ávila de Espíndola
e3f6a3f668 Bug 683975 - Need infra for developer contributed compilers. r=rail.
Don't build the c++ compiler on the first stage, saving some time

Build glibc with the compiler we just built (i.e. same stage). With this we
only have to worry about glibc building with one gcc version.

--HG--
extra : rebase_source : 917f2ec49da8f1d9e5e0c036258b4cd6b0189192
2012-01-26 09:02:15 -05:00
Rafael Ávila de Espíndola
d4fdbd7eb9 Bug 683975 - Need infra for developer contributed compilers. r=rail. 2012-01-25 19:37:33 -05:00
Rafael Ávila de Espíndola
c4a3c1712a Bug 683975 - Need infra for developer contributed compilers. r=rail.
Build glibc.
2012-01-24 09:41:25 -05:00
Rafael Ávila de Espíndola
a5af709441 Bug 683975 - Need infra for developer contributed compilers. r=rail.
A small update:
*) Add the patches that I forgot on the first patch.
*) Just patch binutils to have a deterministic ar.
*) Bootstrap and install the linker too.
2012-01-20 11:19:51 -05:00
Rafael Ávila de Espíndola
7ced183ce8 Bug 683975 - Need infra for developer contributed compilers. r=rail.
This is an early version of a new build script. Currently it is able to do
reproducible builds of gcc in one machine (they always get the same md5), but
builds done in two different distros are still different.
2012-01-18 13:17:18 -05: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
Mike Hommey
a88996da7d Bug 708567 - Remove jemalloc-standalone-linkage-version-script, as it's not used anymore. r=khuey 2011-12-20 13:24:35 +01:00
Rafael Ávila de Espíndola
10c0d79975 Bug 706180 - Use /tools/gcc-4.5-0moz3. r=rail. 2011-12-05 13:45:16 -05:00
Ed Morley
aee7a3d6be Bug 703898 - Remove unnecessary platform conditional from build/unix/Makefile.in; r=ted 2011-11-30 18:37:57 +00:00
Rafael Ávila de Espíndola
f4e2fdb961 Bug 705133 - move all linux CC and CXX lines to a central mozconfig snippet. r=catlee. 2011-11-24 14:58:06 -05:00
Mike Hommey
9025fb3d95 Bug 699734 - Export the _IO_stdin_used symbol. r=ted 2011-11-18 08:54:41 +01:00
Nicholas Nethercote
6313e20983 Bug 678977 - Teach sqlite to use jemalloc directly when applicable. code=nnethercote,khuey. r=khuey,sdwilsh,jlebar. 2011-11-03 20:53:41 -07:00
Ehsan Akhgari
0f6e3e18c4 Backed out changeset 020f14584a2a (bug 680246) because it broke builds on all platforms 2011-09-26 11:53:28 -04:00
Joey Armstrong
d1f0112849 Bug 680246 - makefile logic to support threadsafe mkdir -p; r=ted 2011-08-18 17:16:21 -04:00