Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
77db7e1
Working on v1.8.1
chrisdickinson Apr 17, 2015
e2d19b0
Revert "build: use %PYTHON% instead of python"
chrisdickinson Apr 18, 2015
278f16e
Revert "build: fix error message in configure"
chrisdickinson Apr 18, 2015
d6eeab3
Revert "deps: add docs to upgrade openssl"
chrisdickinson Apr 18, 2015
090f6e4
Revert "test: fix error message check for openssl-1.0.2a"
chrisdickinson Apr 18, 2015
acd8d14
Revert "build: enable ssl support on arm64"
chrisdickinson Apr 18, 2015
36375a3
Revert "deps: update asm files for openssl-1.0.2a"
chrisdickinson Apr 18, 2015
0f6df82
Revert "deps, build: add support older assembler"
chrisdickinson Apr 18, 2015
243f4e8
Revert "deps: update asm Makefile for openssl-1.0.2a"
chrisdickinson Apr 18, 2015
9afb269
Revert "deps: update openssl.gyp/gypi for openssl-1.0.2a"
chrisdickinson Apr 18, 2015
42977a7
Revert "deps: update opensslconf.h for 1.0.2a"
chrisdickinson Apr 18, 2015
118aa49
Revert "deps: add x32 and arm64 support for opensslconf.h"
chrisdickinson Apr 18, 2015
fdf3b56
Revert "deps: replace all headers in openssl"
chrisdickinson Apr 18, 2015
134ceaa
Revert "openssl: fix keypress requirement in apps on win32"
chrisdickinson Apr 18, 2015
fb558ac
Revert "deps: backport openssl patch of alt cert chains 1"
chrisdickinson Apr 18, 2015
1f3e55e
Revert "deps: fix asm build error of openssl in x86_win32"
chrisdickinson Apr 18, 2015
0da630f
Revert "deps: fix openssl assembly error on ia32 win32"
chrisdickinson Apr 18, 2015
95aff3e
Revert "deps: upgrade openssl to 1.0.2a"
chrisdickinson Apr 18, 2015
96b9d3c
src: revert NODE_MODULE_VERSION to 43
chrisdickinson Apr 18, 2015
59751f6
2015-04-18 io.js v1.8.1 Release
chrisdickinson Apr 18, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 22 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# io.js ChangeLog

## 2015-04-17, Version 1.8.0, @chrisdickinson
## 2015-04-18, Version 1.8.1, @chrisdickinson

### Notable changes

* **NOTICE**: Skipped v1.8.0 due to issues with NODE_MODULE_VERSION and problems with
release tooling. See [#1436](https://github.com/iojs/io.js/issues/1436) for details.
* **build**: Support for building io.js as a static library (Marat Abdullin) [#1341](https://github.com/iojs/io.js/pull/1341)
* **deps**: Upgrade openssl to 1.0.2a (Shigeki Ohtsu) [#1389](https://github.com/iojs/io.js/pull/1389)
* **npm**: Upgrade npm to 2.8.3. See the [release notes](https://github.com/npm/npm/releases/tag/v2.8.3) for details. Includes improved git support. Summary:
* [`387f889`](https://github.com/npm/npm/commit/387f889c0e8fb617d9cc9a42ed0a3ec49424ab5d)
[#7961](https://github.com/npm/npm/issues/7961) Ensure that hosted git SSH
Expand Down Expand Up @@ -49,14 +50,32 @@ will be removed at a later point. (Roman Reiss) [#1363](https://github.com/iojs/

### Commits

* [[`acd8d14f8c`](https://github.com/iojs/io.js/commit/acd8d14f8c)] - ***Revert*** "**build**: enable ssl support on arm64" (Chris Dickinson)
* [[`278f16e0d3`](https://github.com/iojs/io.js/commit/278f16e0d3)] - ***Revert*** "**build**: fix error message in configure" (Chris Dickinson)
* [[`e2d19b0f25`](https://github.com/iojs/io.js/commit/e2d19b0f25)] - ***Revert*** "**build**: use %PYTHON% instead of python" (Chris Dickinson)
* [[`95aff3e678`](https://github.com/iojs/io.js/commit/95aff3e678)] - ***Revert*** "**deps**: upgrade openssl to 1.0.2a" (Chris Dickinson)
* [[`0da630fe7c`](https://github.com/iojs/io.js/commit/0da630fe7c)] - ***Revert*** "**deps**: fix openssl assembly error on ia32 win32" (Chris Dickinson)
* [[`1f3e55e165`](https://github.com/iojs/io.js/commit/1f3e55e165)] - ***Revert*** "**deps**: fix asm build error of openssl in x86_win32" (Chris Dickinson)
* [[`fb558acb49`](https://github.com/iojs/io.js/commit/fb558acb49)] - ***Revert*** "**deps**: backport openssl patch of alt cert chains 1" (Chris Dickinson)
* [[`fdf3b562ce`](https://github.com/iojs/io.js/commit/fdf3b562ce)] - ***Revert*** "**deps**: replace all headers in openssl" (Chris Dickinson)
* [[`118aa4928d`](https://github.com/iojs/io.js/commit/118aa4928d)] - ***Revert*** "**deps**: add x32 and arm64 support for opensslconf.h" (Chris Dickinson)
* [[`42977a724c`](https://github.com/iojs/io.js/commit/42977a724c)] - ***Revert*** "**deps**: update opensslconf.h for 1.0.2a" (Chris Dickinson)
* [[`9afb2697b7`](https://github.com/iojs/io.js/commit/9afb2697b7)] - ***Revert*** "**deps**: update openssl.gyp/gypi for openssl-1.0.2a" (Chris Dickinson)
* [[`243f4e8a61`](https://github.com/iojs/io.js/commit/243f4e8a61)] - ***Revert*** "**deps**: update asm Makefile for openssl-1.0.2a" (Chris Dickinson)
* [[`36375a3264`](https://github.com/iojs/io.js/commit/36375a3264)] - ***Revert*** "**deps**: update asm files for openssl-1.0.2a" (Chris Dickinson)
* [[`d6eeab3477`](https://github.com/iojs/io.js/commit/d6eeab3477)] - ***Revert*** "**deps**: add docs to upgrade openssl" (Chris Dickinson)
* [[`0f6df823da`](https://github.com/iojs/io.js/commit/0f6df823da)] - ***Revert*** "**deps, build**: add support older assembler" (Chris Dickinson)
* [[`134ceaa261`](https://github.com/iojs/io.js/commit/134ceaa261)] - ***Revert*** "**openssl**: fix keypress requirement in apps on win32" (Chris Dickinson)
* [[`96b9d3c515`](https://github.com/iojs/io.js/commit/96b9d3c515)] - **src**: revert NODE_MODULE_VERSION to 43 (Chris Dickinson)
* [[`090f6e45bd`](https://github.com/iojs/io.js/commit/090f6e45bd)] - ***Revert*** "**test**: fix error message check for openssl-1.0.2a" (Chris Dickinson)
* [[`431673ebd1`](https://github.com/iojs/io.js/commit/431673ebd1)] - **buffer**: fast-case for empty string in byteLength (Jackson Tian) [#1441](https://github.com/iojs/io.js/pull/1441)
* [[`1b22bad35f`](https://github.com/iojs/io.js/commit/1b22bad35f)] - **build**: fix logic for shared library flags (Jeremiah Senkpiel) [#1454](https://github.com/iojs/io.js/pull/1454)
* [[`91943a99d5`](https://github.com/iojs/io.js/commit/91943a99d5)] - **build**: use %PYTHON% instead of python (Rod Vagg) [#1444](https://github.com/iojs/io.js/pull/1444)
* [[`c7769d417b`](https://github.com/iojs/io.js/commit/c7769d417b)] - **build**: Expose xz compression level (Johan Bergström) [#1428](https://github.com/iojs/io.js/pull/1428)
* [[`a530b2baf1`](https://github.com/iojs/io.js/commit/a530b2baf1)] - **build**: fix error message in configure (Shigeki Ohtsu) [#1389](https://github.com/iojs/io.js/pull/1389)
* [[`92dfb794f9`](https://github.com/iojs/io.js/commit/92dfb794f9)] - **build**: enable ssl support on arm64 (Shigeki Ohtsu) [#1389](https://github.com/iojs/io.js/pull/1389)
* [[`7de0dcde83`](https://github.com/iojs/io.js/commit/7de0dcde83)] - **deps**: make node-gyp work with io.js (cjihrig) [#990](https://github.com/iojs/io.js/pull/990)
* [[`4870213f9e`](https://github.com/iojs/io.js/commit/4870213f9e)] - **deps**: upgrade npm to 2.8.3 (Forrest L Norvell)
* [[`4870213f9e`](https://github.com/iojs/io.js/commit/4870213f9e)] - **deps**: upgrade npm to 2.8.3 (Forrest L Norvell)
* [[`49bb7ded2c`](https://github.com/iojs/io.js/commit/49bb7ded2c)] - **deps**: fix git case sensitivity issue in npm (Chris Dickinson) [#1456](https://github.com/iojs/io.js/pull/1456)
* [[`4830b4bce8`](https://github.com/iojs/io.js/commit/4830b4bce8)] - **deps**: add docs to upgrade openssl (Shigeki Ohtsu) [#1389](https://github.com/iojs/io.js/pull/1389)
* [[`11bec72c87`](https://github.com/iojs/io.js/commit/11bec72c87)] - **deps**: update asm files for openssl-1.0.2a (Shigeki Ohtsu) [#1389](https://github.com/iojs/io.js/pull/1389)
Expand Down
90 changes: 18 additions & 72 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -357,63 +357,11 @@ def try_check_compiler(cc, lang):
return (True, is_clang, clang_version, gcc_version)


#
# The version of asm compiler is needed for building openssl asm files.
# See deps/openssl/openssl.gypi for detail.
# Commands and reglar expressions to obtain its version number is taken from
# https://github.com/openssl/openssl/blob/OpenSSL_1_0_2-stable/crypto/sha/asm/sha512-x86_64.pl#L112-L129
#
def get_llvm_version(cc):
try:
proc = subprocess.Popen(shlex.split(cc) + ['-v'], stdin=subprocess.PIPE,
stderr=subprocess.PIPE, stdout=subprocess.PIPE)
except OSError:
print '''io.js configure error: No acceptable C compiler found!

Please make sure you have a C compiler installed on your system and/or
consider adjusting the CC environment variable if you installed
it in a non-standard prefix.
'''
sys.exit()

match = re.search(r"(^clang version|based on LLVM) ([3-9]\.[0-9]+)",
proc.communicate()[1])

if match:
return match.group(2)
else:
return 0


def get_gas_version(cc):
try:
proc = subprocess.Popen(shlex.split(cc) + ['-Wa,-v', '-c', '-o',
'/dev/null', '-x',
'assembler', '/dev/null'],
stdin=subprocess.PIPE, stderr=subprocess.PIPE,
stdout=subprocess.PIPE)
except OSError:
print '''io.js configure error: No acceptable C compiler found!

Please make sure you have a C compiler installed on your system and/or
consider adjusting the CC environment variable if you installed
it in a non-standard prefix.
'''
sys.exit()

match = re.match(r"GNU assembler version ([2-9]\.[0-9]+)",
proc.communicate()[1])

if match:
return match.group(1)
else:
return 0

# Note: Apple clang self-reports as clang 4.2.0 and gcc 4.2.1. It passes
# the version check more by accident than anything else but a more rigorous
# check involves checking the build number against a whitelist. I'm not
# quite prepared to go that far yet.
def check_compiler(o):
def check_compiler():
if sys.platform == 'win32':
return

Expand All @@ -432,15 +380,6 @@ def check_compiler(o):
# to a version that is not completely ancient.
warn('C compiler too old, need gcc 4.2 or clang 3.2 (CC=%s)' % CC)

# Need llvm_version or gas_version when openssl asm files are compiled
if options.without_ssl or options.openssl_no_asm or options.shared_openssl:
return

if is_clang:
o['variables']['llvm_version'] = get_llvm_version(CC)
else:
o['variables']['gas_version'] = get_gas_version(CC)


def cc_macros():
"""Checks predefined macros using the CC command."""
Expand All @@ -451,7 +390,7 @@ def cc_macros():
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
except OSError:
print '''io.js configure error: No acceptable C compiler found!
print '''Node.js configure error: No acceptable C compiler found!

Please make sure you have a C compiler installed on your system and/or
consider adjusting the CC environment variable if you installed
Expand Down Expand Up @@ -594,6 +533,13 @@ def configure_node(o):

if target_arch == 'arm':
configure_arm(o)
elif (target_arch == 'arm64' and
not options.shared_openssl and
not options.without_ssl):
# FIXME(bnoordhuis) It's not possible to build the bundled openssl due to
# deps/openssl/asm/arm-elf-gas/modes/ghash-armv4.S, which is 32 bits only.
warn('not building openssl, arm64 not yet supported')
options.without_ssl = True
elif target_arch in ('mips', 'mipsel'):
configure_mips(o)

Expand Down Expand Up @@ -989,16 +935,8 @@ def configure_intl(o):
pprint.pformat(icu_config, indent=2) + '\n')
return # end of configure_intl

output = {
'variables': { 'python': sys.executable },
'include_dirs': [],
'libraries': [],
'defines': [],
'cflags': [],
}

# Print a warning when the compiler is too old.
check_compiler(output)
check_compiler()

# determine the "flavor" (operating system) we're building for,
# leveraging gyp's GetFlavor function
Expand All @@ -1007,6 +945,14 @@ if (options.dest_os):
flavor_params['flavor'] = options.dest_os
flavor = GetFlavor(flavor_params)

output = {
'variables': { 'python': sys.executable },
'include_dirs': [],
'libraries': [],
'defines': [],
'cflags': [],
}

configure_node(output)
configure_libz(output)
configure_http_parser(output)
Expand Down
Loading