Commit Graph

107 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
b4c2374b8c 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
24cec8137f 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
40b8155c12 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
74d977428d Bug 683975 - Need infra for developer contributed compilers. r=rail. 2012-01-25 19:37:33 -05:00
Rafael Ávila de Espíndola
5e7c523523 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
ef6791b344 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
6570e01e9f 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
0374237412 Add MIPS support to JaegerMonkey (bug 678154, r=dvander).
--HG--
extra : rebase_source : 8f174670ae068741a1536696e17e3a2a6bb4c7e5
2012-01-12 19:18:05 -08:00
Mike Hommey
3ad15e8414 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
68989ab00b Bug 706180 - Use /tools/gcc-4.5-0moz3. r=rail. 2011-12-05 13:45:16 -05:00
Ed Morley
09cdc2c7f9 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
88cee3b620 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
0fc95e2bbf Bug 699734 - Export the _IO_stdin_used symbol. r=ted 2011-11-18 08:54:41 +01:00
Nicholas Nethercote
63194d0020 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
Mike Hommey
910fe37b7c Bug 681588 - Cleanup wrap malloc and its use on Android. r=ted 2011-08-29 19:21:22 +02:00
Mike Hommey
394b75114c Bug 676252 part 2 - Use a different object file extension for the first PGO build pass with GCC. r=ted 2011-08-29 07:34:12 +02:00
Mike Hommey
7fc6b6d52b Backed out changeset 480f913edf3f (bug 676252) because of build failure 2011-08-29 08:31:58 +02:00
Mike Hommey
5a8b4a9df8 Bug 676252 part 2 - Use a different object file extension for the first PGO build pass with GCC. r=ted 2011-08-29 07:34:12 +02:00
Mike Hommey
60b73b4219 Bug 676252 part 1 - Don't use $(OBJ_SUFFIX) before including config.mk. r=ted 2011-08-29 07:34:02 +02:00
Rafael Ávila de Espíndola
741eacee7a Bug 678008 - Fix elfhack build in c++0x mode. r=mh+mozilla
In c++0x it is not valid to use a negative number in a unsigned
position in an initializer list. Add explicit casts and change
the size method to return an unsigned int.
2011-08-17 10:12:46 -04:00
Kyle Huey
77bcd4d8bb Merge b-s to m-c. 2011-08-10 11:12:30 -04:00
Mike Hommey
9489006cda Bug 675898 - Test what we can test of elfhack when cross-building. r=ted 2011-08-09 09:05:49 +02:00
Joey Armstrong
029c8a6e4a Bug 661855 - uniq.pl quote regex dot chars in path. r=ted 2011-06-20 15:38:46 -04:00
Mike Hommey
a20e153d7b Bug 674888 - Allow elfhack to move .interp sections. r=tglek 2011-08-03 10:28:47 +02:00
Mike Hommey
fd1b14508e Bug 674467 - Keep test.so around when elfhack test fails. r=ted 2011-07-28 09:05:15 +02:00
Mike Hommey
49813e1741 Bug 673921 - Make build/unix/check_debug_ranges.py properly handle objdump addresses output. r=ted 2011-07-26 09:54:01 +02:00
Mike Hommey
1f36dcf2d2 Bug 670659 - Detect GNU ld bug with debugging symbols when using --gc-sections and don't use it then. r=ted 2011-07-19 08:51:22 +02:00
Mike Hommey
c8d8da9ffd Bug 671188 - Don't fail on R_*_NONE relocations with an empty r_offset. r=tglek 2011-07-15 10:15:28 +02:00
Mike Hommey
104f039d49 Bug 537857 part 2 - Avoid --gc-sections removing anything from elfhack test case. r=tglek 2011-06-28 08:25:48 +02:00
Mike Hommey
7356e15a3b Bug 651892 part 3 - Remove __cxa_pure_virtual relocations. r=tglek 2011-06-23 04:08:03 +02:00
Mike Hommey
745c034862 Bug 651892 part 2 - Add a constructor to serializable that takes a buffer instead of an istream. r=tglek 2011-06-23 04:07:57 +02:00
Mike Hommey
67da11fe96 Bug 651892 part 1 - Add a helper function to lookup symbols in a ElfSymtab_Section. r=tglek 2011-06-23 04:07:30 +02:00
Mike Hommey
b4e213b6c3 Bug 664367 - Pass LDFLAGS when linking elfhack's test.so. r=khuey 2011-06-15 08:54:45 +02:00
Mike Hommey
cd6f6142bf Bug 661800 - Avoid elfhack considering non SHF_TLS sections as part of PT_TLS segment. r=tglek 2011-06-07 08:26:17 +02:00
Mike Hommey
f57afc91de Bug 661800 part 0 - Add a dependency of host_elf*.o upon elfxx.h, to circumvent bug 664362. r=ted 2011-06-16 06:28:59 +02:00
Mike Hommey
7a642d7c07 Bug 649965 - Remove inlines on Elf_*::swap functions. r=tglek 2011-06-03 01:21:07 +02:00
Mike Hommey
8f2127c0fd Bug 657396 - Move LDFLAGS after other flags when building elfhack test case. r=ted 2011-05-17 09:34:20 +02:00
Mike Hommey
f2e0cbff28 Bug 643690 part 1 - Avoid requiring libstdc++ symbol versions > GLIBCXX_3.4.8 (gcc > 4.1). r=ted,r=tglek 2011-04-15 11:03:17 +02:00
Matheus Kerschbaum
355ae99518 Bug 640838: Remove OpenVMS support. r=khuey 2011-03-26 11:51:35 -04:00
Mike Hommey
868fcd03ab Bug 637341 - Don't try to do anything on binaries that have already been elfhacked. r=tglek 2011-03-14 14:41:41 +01:00
Mike Hommey
c8b9ee74d8 Bug 637341 - Apply elfhack to dist/bin when packaging and when building symbols. r=ted 2011-03-14 14:41:41 +01:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Mike Hommey
6b2bd8ac5a Bug 635966 - Avoid elfhack failure with llvm. r=khuey,a=shaver 2011-02-23 10:06:26 +01:00
Mike Hommey
54eba416f4 Bug 632920 part 2 - Add support for R_ARM_THM_JUMP24 relocation in elfhack. r=tglek,a=bsmedberg 2011-02-16 17:27:35 +01:00
Mike Hommey
1d6efc259c Bug 632920 part 1 - Refactor relocations application to avoid error-prone duplication of code in elfhack. r=tglek,a=bsmedberg 2011-02-16 17:25:51 +01:00
Mike Hommey
4bd909605b Bug 629635 part 5 - Gracefully abort elfhack when injected code+data is bigger than original relocation section. r=tglek,a=blocking2.0:final 2011-02-12 10:28:34 +01:00
Mike Hommey
ea18252b06 Bug 629635 part 4 - Make elfhack keep PT_GNU_RELRO segments as they were originally. r=tglek,a=blocking2.0:final 2011-02-12 10:28:34 +01:00