summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Collins <ccollins@apache.org>2016-08-22 17:51:41 -0700
committerChristopher Collins <ccollins@apache.org>2016-08-22 17:51:41 -0700
commit665e22f5722d6348c1b260192e27f69d855b58fd (patch)
tree38e3aad8bc414bd5015495c0366a73bb8b4143a3
parent18c8837bdd7bca02771dcc9eaf783d9b2ce01764 (diff)
sim compiler - replace objsize with size
This appears to be a typo. There is no tool called objsize. size works fine. This only affects OS X. It hasn't been a problem in the past when gcc-5 was used because the invocation of gobjdump was crashing with a message like the following: 2016/08/22 17:50:54 [DEBUG] o=gobjdump(68189,0x7fff71813000) malloc: *** error for object 0x1016002a0: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug When gobjdump crashed, newt ignored the error, but did not invoke the size tool. When clang is used instead of gcc, gobjdump doesn't crash, so the incorrect size path is reported as a build failure.
-rw-r--r--compiler/sim/compiler.yml1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/sim/compiler.yml b/compiler/sim/compiler.yml
index 0eba2969..225a4e9a 100644
--- a/compiler/sim/compiler.yml
+++ b/compiler/sim/compiler.yml
@@ -42,7 +42,6 @@ compiler.ld.flags.LINUX: -lutil
compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5"
compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5 -x assembler-with-cpp"
compiler.path.objdump.DARWIN.OVERWRITE: "gobjdump"
-compiler.path.objsize.DARWIN.OVERWRITE: "objsize"
compiler.path.objcopy.DARWIN.OVERWRITE: "gobjcopy"
compiler.flags.base.DARWIN: >
-DMN_OSX