Nikola Veljkovic
91091280f1
Revert "[MIPS] Do not use compact branches until GDB supports them"
...
This reverts commit 063ef33089
.
2015-06-17 17:22:26 +02:00
Elliott Hughes
96bd749a8e
am d2dd0641
: am 8ae7aa94
: Merge "Remove copy & paste cruft from the mips64 combo."
...
* commit 'd2dd0641949513a1f76aaf0f6ba0c19d6a8425b2':
Remove copy & paste cruft from the mips64 combo.
2015-06-16 22:54:32 +00:00
Elliott Hughes
c09eaa7a44
Remove copy & paste cruft from the mips64 combo.
...
libthread_db hasn't been in bionic for years.
Change-Id: Ibc036d894c6b6bf9ee4653f95ff7a000a223cb2e
2015-06-16 15:22:52 -07:00
Tim Murray
76b604b308
am b461acde
: Merge "Add support for cortex-a53 variants when building 64-bit." into mnc-dev
...
* commit 'b461acdedbc9a13b6f245138d8e454d93d4ca9de':
Add support for cortex-a53 variants when building 64-bit.
2015-06-12 19:03:31 +00:00
Tim Murray
b6b20af512
Add support for cortex-a53 variants when building 64-bit.
...
Change-Id: I3f1fb5dbde731d9c3d6db26a46bc7f0f54d8e071
2015-06-11 16:02:13 -07:00
Andrew Hsieh
d760d4676b
Revert "Revert "Enable linker -fix-cortex-a53-843419""
...
This reverts commit 32e1689684
.
Now that prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9 is also updated
Change-Id: Id95c1c4cc651c434461655e62b8f23afd56b53e4
2015-06-02 07:59:24 +08:00
Ying Wang
f4710290bf
am 9cc3b757
: am 91c2f705
: Merge "Add /lib[64] to host binary\'s rpath."
...
* commit '9cc3b7572c29184d77f477df2b0376fc2f4b589a':
Add $ORIGIN/lib[64] to host binary's rpath.
2015-06-01 18:50:00 +00:00
Ying Wang
30127bfdad
Add $ORIGIN/lib[64] to host binary's rpath.
...
Normally the binaries use the exsiting $ORIGIN/../lib[64] with binaries
in the bin subdirectory;
For historical reason the binaries in the SDK package don't have a bin
subdirectory. This workaround enables them to work in the existing SDK
directory structure.
Bug: 21301578
Change-Id: Ibebfbfb8b30e81e7bbaf13a21bb205f3f0282d24
(cherry-pick from commit 4fe7bfd373
)
2015-06-01 11:28:02 -07:00
Ying Wang
4fe7bfd373
Add $ORIGIN/lib[64] to host binary's rpath.
...
Normally the binaries use the exsiting $ORIGIN/../lib[64] with binaries
in the bin subdirectory;
For historical reason the binaries in the SDK package don't have a bin
subdirectory. This workaround enables them to work in the exsiting SDK
directory structure.
Bug: 21301578
Change-Id: Ibebfbfb8b30e81e7bbaf13a21bb205f3f0282d24
2015-06-01 10:43:29 -07:00
Chih-Hung Hsieh
e9bf6e7750
am 8b79abfb
: am c2be68e4
: Merge "Remove gcc 4.9 workaround."
...
* commit '8b79abfb4458193ee28949882a712b03e7828c53':
Remove gcc 4.9 workaround.
2015-05-29 20:36:19 +00:00
Chih-Hung Hsieh
128d51e67e
Remove gcc 4.9 workaround.
...
The gcc 4.9 devirtualization bug was fixed with a cherry pick of r212222.
BUG: 19872411
Change-Id: I6d9677f112402fe84d70da770f364392398e9cc9
(cherry picked from commit ad2494bb79
)
2015-05-29 12:06:36 -07:00
Chih-Hung Hsieh
ad2494bb79
Remove gcc 4.9 workaround.
...
The gcc 4.9 devirtualization bug was fixed with a cherry pick of r212222.
BUG: 19872411
Change-Id: I6d9677f112402fe84d70da770f364392398e9cc9
2015-05-29 10:27:58 -07:00
Elliott Hughes
9b7356cc6d
am a6b14661
: am 1a81a0ef
: Merge "[MIPS] Do not use compact branches until GDB supports them"
...
* commit 'a6b14661687d8da6a8f566dd2fb104986b411565':
[MIPS] Do not use compact branches until GDB supports them
2015-05-29 05:07:20 +00:00
Nikola Veljkovic
063ef33089
[MIPS] Do not use compact branches until GDB supports them
...
GDB does not yet have support for compact branches, and is unable to
set a breakpoint on them. Turn compact branch generation off, until
GDB is fixed.
Change-Id: Ie7d6fb891e9934f8fc645fe9cf8f706be15a5f77
2015-05-25 16:27:01 +02:00
Elliott Hughes
737d3dd396
am b6fb86dd
: am c340a306
: Merge "Explain __USE_MINGW_ANSI_STDIO."
...
* commit 'b6fb86dd7f1b2e8b4225513439546ff7694b3f25':
Explain __USE_MINGW_ANSI_STDIO.
2015-05-15 21:08:33 +00:00
Elliott Hughes
7c0bcfb61d
Explain __USE_MINGW_ANSI_STDIO.
...
Change-Id: I6900a7cddfb5aa4365c3e0f6f6f0fa9203c0fe43
2015-05-14 20:55:49 -07:00
Elliott Hughes
e990e929a4
am 385cdb78
: am 0dac6788
: Merge "Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the host."""
...
* commit '385cdb7855bfb3983d21fe7344d56d863f638985':
Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""
2015-05-13 21:34:09 +00:00
Elliott Hughes
0dac67880b
Merge "Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the host."""
2015-05-13 21:12:22 +00:00
Elliott Hughes
f05d960f41
am 463377d0
: am 2a3034b3
: Merge "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""
...
* commit '463377d0c43a7a0e096d5d428b161061863089bb':
Revert "Turn on _FORTIFY_SOURCE=2 for the host."
2015-05-13 20:29:40 +00:00
Elliott Hughes
3afd77941b
am 35fb49df
: am b58119ea
: Merge "Turn on _FORTIFY_SOURCE=2 for the host."
...
* commit '35fb49df32f0f115f93cce04f7e0fe1be2301b83':
Turn on _FORTIFY_SOURCE=2 for the host.
2015-05-13 20:29:38 +00:00
Elliott Hughes
7dd8ec1761
Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""
...
This reverts commit e27b214fc2
.
Change-Id: I3d739c0594dbe4ecd62c5b07064ada7de6cdaadb
2015-05-13 20:15:19 +00:00
Elliott Hughes
2a3034b336
Merge "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""
2015-05-13 19:33:17 +00:00
Elliott Hughes
e27b214fc2
Revert "Turn on _FORTIFY_SOURCE=2 for the host."
...
This reverts commit 224806d00e
.
Change-Id: I654157ec4be7ff95356ab4a25b27c44762793e74
2015-05-13 19:32:59 +00:00
Elliott Hughes
b58119eab4
Merge "Turn on _FORTIFY_SOURCE=2 for the host."
2015-05-13 19:10:37 +00:00
Andrew Hsieh
46cc3992cc
am 4b4c0df5
: am 75f3c5a8
: Merge "Revert "Revert "Enable linker -fix-cortex-a53-843419"""
...
* commit '4b4c0df54aa54693854fafd0dca1674ef90011fb':
Revert "Revert "Enable linker -fix-cortex-a53-843419""
2015-05-13 16:32:34 +00:00
Elliott Hughes
224806d00e
Turn on _FORTIFY_SOURCE=2 for the host.
...
Bug: http://b/20558757
Change-Id: Ic0c173d25dc6b2fa9c3122a523af5f37bc1b8c55
2015-05-12 21:41:52 -07:00
Andrew Hsieh
75f3c5a849
Merge "Revert "Revert "Enable linker -fix-cortex-a53-843419"""
2015-05-13 01:08:51 +00:00
Andrew Hsieh
0e0259cca6
Revert "Revert "Enable linker -fix-cortex-a53-843419""
...
This reverts commit 32e1689684
.
Now that prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9 is also updated
Change-Id: Id95c1c4cc651c434461655e62b8f23afd56b53e4
2015-05-11 06:03:07 +00:00
Dmitriy Ivanov
d189082a1a
am 826673b5
: am 8ace80b3
: Merge "Fix mips build"
...
* commit '826673b5176977d3806df1a8215b3cd70db8a5e2':
Fix mips build
2015-05-06 22:44:31 +00:00
Dan Albert
7f28965c23
am 6a944e5e
: am b9a8aa63
: Merge "Fix prebuilts for target builds with USE_MINGW=1."
...
* commit '6a944e5e0b9dde4aa086d83555adfe09df3f472e':
Fix prebuilts for target builds with USE_MINGW=1.
2015-05-06 22:44:27 +00:00
Chih-Hung Hsieh
0ba68bafa3
Upgrade x86 gcc to 4.9 and disable devirtualization.
...
Also filter out gcc-only flags -Wno-clobbered and -fno-devirtualize
when compiled with clang/llvm.
BUG: 19872411
Change-Id: I6de57583be04da607f569df65e93531787dbb789
(cherry picked from AOSP commit 90036610dd
)
2015-05-06 00:24:18 +00:00
Dmitriy Ivanov
392569c12c
Fix mips build
...
Change-Id: Ifbb2df36c173511c118f34cfa39bb01ca7f7d380
2015-05-04 18:10:47 -07:00
Chih-Hung Hsieh
f274888870
Merge "Upgrade x86 gcc to 4.9 and disable devirtualization."
2015-05-04 23:36:51 +00:00
Dan Albert
216ecac61e
Fix prebuilts for target builds with USE_MINGW=1.
...
USE_MINGW=1 mm didn't work in directories that contained target modules
because the build system would use the Windows locations and extensions
when trying to find the host GCC prebuilts. Windows is the target OS,
not the OS we're building from.
Change-Id: Ic994fed15388d0c7d393f71ba28fe7afdc659f5c
2015-05-04 22:44:39 +00:00
Chih-Hung Hsieh
90036610dd
Upgrade x86 gcc to 4.9 and disable devirtualization.
...
Also filter out gcc-only flags -Wno-clobbered and -fno-devirtualize
when compiled with clang/llvm.
BUG: 19872411
Change-Id: I6de57583be04da607f569df65e93531787dbb789
2015-05-04 14:04:58 -07:00
Chris Dearman
ab3a5f490c
Configure synci generation explicitly
...
The default for synci generation is compiler version dependent
Change-Id: I3f94cabd98c45aaa4e5149e8bb050dc47efa61ca
2015-04-30 13:22:16 -07:00
Dmitriy Ivanov
5924f142cc
Revert "Revert "Pack relocations for mips64""
...
This reverts commit 6399dcce59
.
Bug: http://b/20658994
(cherry picked from commit 8387d99ec3
)
2015-04-29 23:11:03 -07:00
Dmitriy Ivanov
8387d99ec3
Revert "Revert "Pack relocations for mips64""
...
This reverts commit 6399dcce59
.
Bug: http://b/20658994
2015-04-29 17:08:54 -07:00
Dmitriy Ivanov
0cabfed78e
Revert "Revert "Pack relocations for mips""
...
This reverts commit d05fd6fc82
.
Bug: http://b/20658994
Change-Id: Iccbd4846b310306ed11b87f4566b8aaadfa63ebb
(cherry picked from commit cb2b3d47ad
)
2015-04-29 15:44:20 -07:00
Dmitriy Ivanov
cb2b3d47ad
Revert "Revert "Pack relocations for mips""
...
This reverts commit d05fd6fc82
.
Bug: http://b/20658994
Change-Id: Iccbd4846b310306ed11b87f4566b8aaadfa63ebb
2015-04-29 15:32:10 -07:00
Dimitry Ivanov
8fb3350f1a
Merge "Revert "Pack relocations for mips"" into mnc-dev
2015-04-29 19:37:46 +00:00
Dimitry Ivanov
d896883bfe
Revert "Pack relocations for mips"
...
This reverts commit 9dc1a7359f
.
Bug: http://b/20658994
Change-Id: Ib10c764a7d06db823ee2fccfa47240e0a639d4bc
(cherry picked from commit d05fd6fc82
)
2015-04-29 12:33:19 -07:00
Dimitry Ivanov
3e037e36d0
Revert "Pack relocations for mips64"
...
This reverts commit 8bd30fe3cb
.
Bug: http://b/20658994
Change-Id: I6c31094559a12b824344802bf3993f91aee79a26
(cherry picked from commit 6399dcce59
)
2015-04-29 12:32:27 -07:00
Dimitry Ivanov
b755009325
Merge "Revert "Pack relocations for mips""
2015-04-29 19:14:17 +00:00
Dimitry Ivanov
dcf8bd8c07
Merge "Revert "Pack relocations for mips64""
2015-04-29 19:03:56 +00:00
Dimitry Ivanov
6399dcce59
Revert "Pack relocations for mips64"
...
This reverts commit 8bd30fe3cb
.
Bug: http://b/20658994
Change-Id: I6c31094559a12b824344802bf3993f91aee79a26
2015-04-29 18:59:05 +00:00
Dimitry Ivanov
d05fd6fc82
Revert "Pack relocations for mips"
...
This reverts commit 9dc1a7359f
.
Bug: http://b/20658994
Change-Id: Ib10c764a7d06db823ee2fccfa47240e0a639d4bc
2015-04-29 18:57:54 +00:00
Nick Kralevich
b126ae9e3a
am c98d6b35
: am 6612d4a0
: am edc3371a
: am f3a6b07b
: Merge "host compiler: enable compiler hardening flags"
...
* commit 'c98d6b35ba7e9381089b1b7c8b47f384e5772a4f':
host compiler: enable compiler hardening flags
2015-04-25 05:15:48 +00:00
Nick Kralevich
100acd1001
host compiler: enable compiler hardening flags
...
Enable the following compiler hardening flags:
* -Wl,-z,relro
* -Wl,-z,now
* -fstack-protector
relro / bind_now make the relro region read-only after linking,
preventing certain attacks against ELF data structures.
stack-protector adds stack canaries, which can detect exploits
which overwrite parts of the stack.
Explicitly not added in this change is FORTIFY_SOURCE=2. Adding that
option turns on glibc's warn_unused_result attributes. This generates
a huge number of new compile time warnings, and for the multiple
makefiles which have -Werror in them, turns those warnings into errors.
I'm not able to fix all the errors right away.
Bug: 20558757
Change-Id: I86791177c6695f5325233d9dd9a5dd3ccc2b1a2f
2015-04-24 21:26:08 -07:00
Dmitriy Ivanov
0be46e11a6
am 80421984
: am aac1b9d9
: am f674a67d
: am 573dfb7c
: Merge "Pack relocations for mips64"
...
* commit '804219841d7f581cf78f3f68e13381b6631513a0':
Pack relocations for mips64
2015-04-25 00:31:30 +00:00