forked from freebsd/freebsd-ports
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/node: Use binutils from ports with BUNDLED_SSL
www/node does not work well with with BUNDLED_SSL when DTRACE is on (default) and we are using an older binutils version. FreeBSD is using the last GPLv2 one, which does not provide options expected by a few python scripts. Use ports binutils and patch python scripts to use it. Signed-off-by: Johannes Meixner <johannes@perceivon.net>
- Loading branch information
Showing
5 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- deps/v8/tools/disasm.py.orig 2018-06-10 08:55:38 UTC | ||
+++ deps/v8/tools/disasm.py | ||
@@ -34,7 +34,7 @@ import tempfile | ||
|
||
|
||
# Avoid using the slow (google-specific) wrapper around objdump. | ||
-OBJDUMP_BIN = "/usr/bin/objdump" | ||
+OBJDUMP_BIN = "/usr/local/bin/objdump" | ||
if not os.path.exists(OBJDUMP_BIN): | ||
OBJDUMP_BIN = "objdump" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- deps/v8/tools/grokdump.py.orig 2018-06-10 08:55:46 UTC | ||
+++ deps/v8/tools/grokdump.py | ||
@@ -584,7 +584,7 @@ MD_CPU_ARCHITECTURE_ARM64 = 0x8003 | ||
MD_CPU_ARCHITECTURE_AMD64 = 9 | ||
|
||
OBJDUMP_BIN = None | ||
-DEFAULT_OBJDUMP_BIN = '/usr/bin/objdump' | ||
+DEFAULT_OBJDUMP_BIN = '/usr/local/bin/objdump' | ||
|
||
class FuncSymbol: | ||
def __init__(self, start, size, name): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- deps/v8/tools/ll_prof.py.orig 2018-06-10 08:55:52 UTC | ||
+++ deps/v8/tools/ll_prof.py | ||
@@ -869,7 +869,7 @@ if __name__ == "__main__": | ||
default="/tmp/__v8_gc__", | ||
help="gc fake mmap file [default: %default]") | ||
parser.add_option("--objdump", | ||
- default="/usr/bin/objdump", | ||
+ default="/usr/local/bin/objdump", | ||
help="objdump tool to use [default: %default]") | ||
parser.add_option("--host-root", | ||
default="", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- tools/genv8constants.py.orig 2018-06-10 09:22:07.876673000 +0000 | ||
+++ tools/genv8constants.py 2018-06-10 09:22:18.437062000 +0000 | ||
@@ -18,7 +18,7 @@ | ||
|
||
outfile = file(sys.argv[1], 'w'); | ||
try: | ||
- pipe = subprocess.Popen([ 'objdump', '-z', '-D', sys.argv[2] ], | ||
+ pipe = subprocess.Popen([ '/usr/local/bin/objdump', '-z', '-D', sys.argv[2] ], | ||
bufsize=-1, stdout=subprocess.PIPE).stdout; | ||
except OSError, e: | ||
if e.errno == errno.ENOENT: |