aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-11-25configure: Define NO_JUMP_TABLE if all we have is llvm-gccBjörn Gustavsson
Commit dd24ca1cb76d attempts to fix the problem that LLVM-based compilers (such as llvm-gcc-4.2 and clang) miscompiles beam_emu.c. The idea was to force the use of gcc-4.2 if the default compiler was LLVM-based. Since that fix, Apple released Xcode 4.2 that does not include any version of gcc, only llvm-gcc-4.2 and clang. We could require gcc in order to be the system, but it would be nice if Erlang/OTP could be built out-of-box on MacOS X, albeit with reduced performance. Therefore, make sure that we set NO_JUMP_TABLE (use a switch statement instead of computed gotos in beam_emu.c) if no compiler that correctly handles computed gotos can be found. We know that clang based on the upcoming LLVM 3.0 will work, but older LLVM-based compilers will not, so we can test the version of clang. llvm-gcc has been discontinued in LLVM 3.0, so if the compiler is LLVM-based but not clang, we can assume that it does not handles computed gotos correctly.
2011-11-25beam_emu.c: Eliminate warnings when NO_JUMP_TABLE is definedBjörn Gustavsson
2011-11-25beam_emu.c: Use the correct void* type for computed gotosBjörn Gustavsson
gcc don't care about the type, but clang does and will issue a warning.
2011-11-25MacOS X: Completely remove obsolete -no-cpp-precomp optionBjörn Gustavsson
clang does not recognize the -no-cpp-precomp option and generates a warning. -no-cpp-precomp is an obsolete Apple-specific gcc option, which last had any effect in gcc 3.1 for Jaguar. Since we cannot build for Jaguar anyway, the configure test added in 8412a400e92d5cbcd is not needed.
2011-11-25Merge branch 'siri/sasl/no-warn-missing-sasl/OTP-9738'Siri Hansen
* siri/sasl/no-warn-missing-sasl/OTP-9738: Add +no_warn_sasl flag when compiling start_clean.rel Add option no_warn_sasl to systools:make_script
2011-11-25Merge branch 'siri/sasl/xxgrade_app-with-restart/OTP-9735'Siri Hansen
* siri/sasl/xxgrade_app-with-restart/OTP-9735: Fix release_handler:upgrade_app and downgrade_app when upgrading emulator
2011-11-25Merge branch 'siri/sasl/dialyzer/OTP-9719'Siri Hansen
* siri/sasl/dialyzer/OTP-9719: Fix dialyzer warnings in release_handler
2011-11-24Add +no_warn_sasl flag when compiling start_clean.relSiri Hansen
This suppresses the 'missing_sasl' warning from systools.
2011-11-24Update primary bootstrapBjörn Gustavsson
2011-11-24Merge branch 'bjorn/remove-regexp-module/OTP-9737'Björn Gustavsson
* bjorn/remove-regexp-module/OTP-9737: stdlib: Remove the deprecated regexp module
2011-11-23Add option no_warn_sasl to systools:make_scriptSiri Hansen
This option will suppress the 'missing-sasl' warning which otherwise is issued when compiling a .rel file which does not include the sasl application.
2011-11-23Merge branch 'ia/ssl/renegotiation-dos-attack/OTP-9739'Ingela Anderton Andin
* ia/ssl/renegotiation-dos-attack/OTP-9739: Mitigate Computational DoS attack
2011-11-23Update primary bootstrapBjörn Gustavsson
2011-11-23Avoid slow code loading of BEAM code in a hipe-enabled emulatorBjörn Gustavsson
On my Linux computer, building the entire Erlang/OTP system with hipe disabled took about 8 minutes. With hipe enabled, but without any native code, the build took about 23 minutes, i.e. more than 3 times slower. (The computer has 4 cores, and I used 'make -j6'.) On my eight-core Mac (running 'make -j10') there was only a slight slowdown when hipe was enabled. The culprit is hipe_unified_loader:post_beam_load/1, which will be called every time a module is loaded (even if the module contains no native code). If post_beam_load/1 is called in a hipe-enabled emulator, it will block multi-scheduling, even if no work needs to be done. Apparently the cost for blocking multi-scheduling can vary greatly, depending on the operating system and system load. As a quick and conservative fix, don't call post_beam_load/1 unless some native code has been previously loaded.
2011-11-23Fix release_handler:upgrade_app and downgrade_app when upgrading emulatorSiri Hansen
Changes to the mechanism for upgrading the emulator in OTP R15 was erronously not handled in release_handler:upgrade_app, downgrade_app, upgrade_script and downgrade_script. This has been corrected, including test and documentation.
2011-11-22Update system version to R15BBjörn-Egil Dahlberg
2011-11-22Revert "Update version numbers for pre-release of R15"Björn-Egil Dahlberg
This reverts commit e21ff9b0b69219ab3853be7e80813156113152b7.
2011-11-22Update version numbers for pre-release of R15OTP_R15ABjörn Gustavsson
2011-11-21Fix dialyzer warnings in release_handlerSiri Hansen
2011-11-21Mitigate Computational DoS attackIngela Anderton Andin
2011-11-19Merge branch 'dgud/observer/gui/OTP-4779'Dan Gudmundsson
* dgud/observer/gui/OTP-4779: [observer] Implemented basic tracing functionality [observer] Work around wxWidgets windows bug [observer] Rework tracing part of the gui [observer] Fix portability bugs [observer] Improve process_info window [observer] Misc cleanup and fixes [observer] Clean up code [observer] Add a [d]ets viewer, tv replacement [observer] Started on a wx gui
2011-11-18Merge branch 'pan/osx_gcc_fixes'Patrik Nyblom
* pan/osx_gcc_fixes: Fix typo in erts/configure.in Make OTP build w/alternative gcc on MacOS Lion OTP-9712
2011-11-18Merge branch 'pan/binary_match_scope/OTP-9701'Patrik Nyblom
* pan/binary_match_scope/OTP-9701: Remove remaining gcc 4.6 assigned-but-not-used warnings from erts Remove GCC 4.6 set-but-not-used warning from erl_bif_binary Make binary:match with scope return correct values
2011-11-18Merge branch 'sverk/hipe-without-fpe/OTP-9724'Sverker Eriksson
* sverk/hipe-without-fpe/OTP-9724: otp_build: Disable FPE by default on Linux stdlib: Make sure qlc_SUITE:otp_6964 restores backtrace_depth erts: Add test for inf/NaN intermediate float results hipe,erts: Allow hipe without floating point exceptions hipe: Fix bug in hipe_rtl_lcm:calc_killed_expr_bb erts: Rename macros used by float instructions without FPE
2011-11-18Merge branch 'sa/dialyzer-behaviours'Henrik Nord
* sa/dialyzer-behaviours: Wrap up behaviours patch for Dialyzer Detection of callback-spec discrepancies Allow none() as return value in callbacks Behaviour callback discrepancy detection for Dialyzer Add lookup function for callbacks Store callbacks in codeserver and PLT Collect callback definitions during compilation Update inets results OTP-9731
2011-11-18[observer] Implemented basic tracing functionalityDan Gudmundsson
Use ttb which does most of the work already.
2011-11-18Merge branch 'ia/public_key/ssl/git-ignore'Ingela Anderton Andin
* ia/public_key/ssl/git-ignore: Updated public_key and ssl ignores
2011-11-18Merge branch 'lukas/common_test/make_cth_non_alpha/OTP-9449'Björn-Egil Dahlberg
* lukas/common_test/make_cth_non_alpha/OTP-9449: Remove alpha notice since CTH are now final
2011-11-18Merge branch 'peppe/common_test/css_and_xhtml'Peter Andersson
* peppe/common_test/css_and_xhtml: Make absolute paths in log files relative Fix bad error printout Copy default CSS file to log directory before test run Add CSS stylesheet for the text and tables in Common Test and Test Server OTP-9706
2011-11-18Merge branch 'lars/orber/remove-seed-in-testcases/OTP-9728'Lars Thorsen
* lars/orber/remove-seed-in-testcases/OTP-9728: [orber] Remove usage of ssl:seed/1
2011-11-18Wrap up behaviours patch for DialyzerStavros Aronis
Enable warnings by default, add two options for suppressing them, fix warning formatting and update testsuites.
2011-11-18Detection of callback-spec discrepanciesStavros Aronis
2011-11-18Allow none() as return value in callbacksStavros Aronis
2011-11-18Behaviour callback discrepancy detection for DialyzerStavros Aronis
2011-11-18[orber] Remove usage of ssl:seed/1Lars Thorsen
2011-11-18Make absolute paths in log files relativePeter Andersson
2011-11-18Merge branch 'siri/sasl/upgrade-erts/OTP-9438'Siri Hansen
* siri/sasl/upgrade-erts/OTP-9438: Fix bug in erts upgrade on windows Add release vsn info to erts_vsn_changed warning Check for sasl application in systools:make_script and make_relup Add syntax check of relup to check_install_release and install_release Add documentation for upgrade from pre R15 to post R15 sasl Handle upgrade from pre R15 to post R15 sasl Step version of sasl to 2.2 for R15 Document upgrade instructions restart_new_emulator and restart_emulator Wait for two restarts in upgrade_restart test Add restart_new_emulator instruction to kernel, stdlib and sasl appups Distinguish restart_new_emulator from restart_emulator in upgrade instructions Upgrade erts: merge sys.config for tmp release instead of using old Allow regexp for version in .appup Restart emulator before running upgrade script when erts is upgraded Conflicts: lib/sasl/src/release_handler.erl lib/sasl/test/release_handler_SUITE.erl
2011-11-18Add lookup function for callbacksStavros Aronis
2011-11-18Store callbacks in codeserver and PLTStavros Aronis
2011-11-18Collect callback definitions during compilationStavros Aronis
2011-11-18Update inets resultsStavros Aronis
2011-11-18Merge branch 'lars/remove-docbuilder/OTP-9721'Lars Thorsen
* lars/remove-docbuilder/OTP-9721: [erl_docgen] Add an application ref page [erl_docgen] Added the info file. [erl_docgen] Tidy up the documentation moved from docbuilder to erl_docgen [erl_docgen] Add missing xhtml-special.ent and xhtml-symbol.ent Remove docbuilder application [erl_docgen] Update references to modules that changed name [erl_docgen] Move files from docbuilder to erl_docgen
2011-11-18[erl_docgen] Add an application ref pageLars Thorsen
2011-11-18[erl_docgen] Added the info file.Lars Thorsen
2011-11-18[erl_docgen] Tidy up the documentation moved from docbuilder to erl_docgenLars Thorsen
2011-11-18[erl_docgen] Add missing xhtml-special.ent and xhtml-symbol.entLars Thorsen
2011-11-18Remove docbuilder applicationLars Thorsen
2011-11-18[erl_docgen] Update references to modules that changed nameLars Thorsen
2011-11-18[erl_docgen] Move files from docbuilder to erl_docgenLars Thorsen
2011-11-18Merge branch 'lars/erl_docgen/eix-file-syntax-bug/OTP-9617'Lars Thorsen
* lars/erl_docgen/eix-file-syntax-bug/OTP-9617: Fix syntax bug in generated eix files