Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fixing Haiku build. #167

Closed
wants to merge 1 commit into from

3 participants

Takashi Toyoshima Don't Add Me To Your Organization a.k.a The Travis Bot NARUSE, Yui
Takashi Toyoshima
  • -lbe is not required for linking
  • stack protector doesn't work for now because of the default gcc's bug
  • haiku build undefine SIGBUS, bud has SA_ONSTACK and USE_SIGALTSTACK
Takashi Toyoshima toyoshim Fixing Haiku build.
 - -lbe is not required for linking
 - stack protector doesn't work for now because of the default gcc's bug
 - haiku build undefine SIGBUS, bud has SA_ONSTACK and USE_SIGALTSTACK
3aa0d29
Don't Add Me To Your Organization a.k.a The Travis Bot

This pull request passes (merged 3aa0d29 into 5571c73).

NARUSE, Yui
Collaborator

Merged in r36791, thanks!

NARUSE, Yui nurse closed this
Eric Hodel drbrain referenced this pull request from a commit
Eric Hodel drbrain * lib/rdoc/cross_reference.rb: Fixed matching of C#=== or #===. RDoc
  bug #164
* test/rdoc/test_rdoc_cross_reference.rb:  Test for above.

* lib/rdoc/parser/changelog.rb:  Fixed parsing of dates.  RDoc bug #165
* test/rdoc/test_rdoc_parser_changelog.rb:  Test for above.

* lib/rdoc/parser.rb:  Fixed parsing multibyte files with incomplete
  characters at byte 1024.  [ruby-trunk - Bug #6393]
  Fixed handling of -E.  [ruby-trunk - Bug #6392]
* test/rdoc/test_rdoc_options.rb:  Test for above.
* test/rdoc/test_rdoc_parser.rb:  ditto.
* test/rdoc/test_rdoc_parser_c.rb:  ditto.
* test/rdoc/test_rdoc_parser_changelog.rb:  ditto.
* test/rdoc/test_rdoc_parser_markdown.rb:  ditto.
* test/rdoc/test_rdoc_parser_rd.rb:  ditto.
* test/rdoc/test_rdoc_rdoc.rb:  ditto.

* lib/rdoc/tom_doc.rb:  Fixed parsing of [] in TomDoc arguments list.
  RDoc bug #167
* test/rdoc/test_rdoc_tom_doc.rb:  Test for above.

* lib/rdoc.rb:  Update version.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
f3b24b5
Sandor Szücs szuecs referenced this pull request from a commit in szuecs/ruby
NARUSE, Yui nurse * configure.in: Fixing Haiku build.
  - -lbe is not required for linking
  - stack protector doesn't work for now because of the default gcc's bug
  by Takashi Toyoshima <toyoshim@gmail.com>
  ruby#167

* signal.c (ruby_signal): haiku doesn't have SIGBUS.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
f896ad3
Aaron Patterson tenderlove referenced this pull request from a commit in tenderlove/ruby
NARUSE, Yui nurse * configure.in: Fixing Haiku build.
  - -lbe is not required for linking
  - stack protector doesn't work for now because of the default gcc's bug
  by Takashi Toyoshima <toyoshim@gmail.com>
  ruby#167

* signal.c (ruby_signal): haiku doesn't have SIGBUS.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
35b7d22
Aaron Patterson tenderlove referenced this pull request from a commit in tenderlove/ruby
Eric Hodel drbrain * lib/rdoc/cross_reference.rb: Fixed matching of C#=== or #===. RDoc
  bug #164
* test/rdoc/test_rdoc_cross_reference.rb:  Test for above.

* lib/rdoc/parser/changelog.rb:  Fixed parsing of dates.  RDoc bug #165
* test/rdoc/test_rdoc_parser_changelog.rb:  Test for above.

* lib/rdoc/parser.rb:  Fixed parsing multibyte files with incomplete
  characters at byte 1024.  [ruby-trunk - Bug #6393]
  Fixed handling of -E.  [ruby-trunk - Bug #6392]
* test/rdoc/test_rdoc_options.rb:  Test for above.
* test/rdoc/test_rdoc_parser.rb:  ditto.
* test/rdoc/test_rdoc_parser_c.rb:  ditto.
* test/rdoc/test_rdoc_parser_changelog.rb:  ditto.
* test/rdoc/test_rdoc_parser_markdown.rb:  ditto.
* test/rdoc/test_rdoc_parser_rd.rb:  ditto.
* test/rdoc/test_rdoc_rdoc.rb:  ditto.

* lib/rdoc/tom_doc.rb:  Fixed parsing of [] in TomDoc arguments list.
  RDoc bug #167
* test/rdoc/test_rdoc_tom_doc.rb:  Test for above.

* lib/rdoc.rb:  Update version.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
b2e68bc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 22, 2012
  1. Takashi Toyoshima

    Fixing Haiku build.

    toyoshim authored
     - -lbe is not required for linking
     - stack protector doesn't work for now because of the default gcc's bug
     - haiku build undefine SIGBUS, bud has SA_ONSTACK and USE_SIGALTSTACK
This page is out of date. Refresh to see the latest.
Showing with 8 additions and 4 deletions.
  1. +3 3 configure.in
  2. +5 1 signal.c
6 configure.in
View
@@ -601,7 +601,7 @@ if test "$GCC" = yes; then
# -fstack-protector
AS_CASE(["$target_os"],
- [mingw*|nacl], [
+ [mingw*|nacl|haiku], [
stack_protector=no
],
[
@@ -2304,8 +2304,8 @@ if test "$with_dln_a_out" != yes; then
],
[i586*], [
: ${LDSHARED='$(LD) -shared'}
- DLDFLAGS="$DLDFLAGS -L/boot/develop/lib/x86 -L/boot/home/config/lib \$(topdir)/_APP_ -lbe -lroot"
- LDFLAGS="$LDFLAGS -L/boot/develop/lib/x86 -L/boot/home/config/lib -lbe -lroot"
+ DLDFLAGS="$DLDFLAGS -L/boot/develop/lib/x86 -L/boot/home/config/lib \$(topdir)/_APP_ -lroot"
+ LDFLAGS="$LDFLAGS -L/boot/develop/lib/x86 -L/boot/home/config/lib -lroot"
])
: ${LIBPATHENV=LIBRARY_PATH}
rb_cv_dlopen=yes],
6 signal.c
View
@@ -463,8 +463,12 @@ ruby_signal(int signum, sighandler_t handler)
sigact.sa_flags |= SA_NOCLDWAIT;
#endif
#if defined(SA_ONSTACK) && defined(USE_SIGALTSTACK)
- if (signum == SIGSEGV || signum == SIGBUS)
+ if (signum == SIGSEGV)
sigact.sa_flags |= SA_ONSTACK;
+#ifdef SIGBUS
+ if (signum == SIGBUS)
+ sigact.sa_flags |= SA_ONSTACK;
+#endif
#endif
if (sigaction(signum, &sigact, &old) < 0) {
if (errno != 0 && errno != EINVAL) {
Something went wrong with that request. Please try again.