Project

General

Profile

Actions

Bug #10210

closed

LDSHARED and LDSHAREDXX set to null ('')

Added by smil3y (Ivailo Monev) over 9 years ago. Updated about 9 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
1.9.3-p547, 2.1.2
[ruby-core:64824]

Description

While attempting to build Ruby on custom linux setup versions from 1.9.3-p547 to 2.1.2 fail to build, setting LDSHARED to "gcc -shared" and LDSHAREDXX to "g++ -shared" kind of sorted the problem but I still see some messages in the build log like:

make[2]: o: Command not found
make[2]: [../../.ext/i686-linux/ripper.so] Error 127 (ignored)

I'm attaching the config.log. Also, I want to highlight that on this setup Busybox is used and during the configure step I see the following (stripped) message:

checking whether ELF binaries are produced... cat: invalid option -- 'e'
BusyBox v1.22.1 (2014-08-30 20:49:51 UTC) multi-call binary.
...
no

Files

config.log (837 KB) config.log smil3y (Ivailo Monev), 09/07/2014 07:49 PM

Updated by nobu (Nobuyoshi Nakada) over 9 years ago

  • Description updated (diff)
  • Category set to build
  • Target version set to 2.2.0
  • Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: REQUIRED, 2.1: REQUIRED

Updated by nobu (Nobuyoshi Nakada) over 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r48886.


configure.in: fix fox BusyBox

  • configure.in (rb_cv_binary_elf): get rid of -e option of cat
    which is not available on BusyBox, use tr instead.
    [ruby-core:64824] [Bug #10210]

Updated by usa (Usaku NAKAMURA) over 9 years ago

  • Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: DONE, 2.1: REQUIRED

Backported into ruby_2_0_0 at r49248.

Updated by nagachika (Tomoyuki Chikanaga) about 9 years ago

  • Backport changed from 2.0.0: DONE, 2.1: REQUIRED to 2.0.0: DONE, 2.1: DONE

Backported into ruby_2_1 at r49470.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0