Project

General

Profile

Actions

Bug #9559

closed

build failure with clang 3.4

Added by swills (Steve Wills) about 10 years ago. Updated about 9 years ago.

Status:
Closed
Target version:
[ruby-core:61052]

Description

With clang 3.4 ruby has problems configuring / building dl.so. Please see:

http://lists.freebsd.org/pipermail/freebsd-ruby/2014-February/004085.html

The attached patch resolves it.

Updated by hsbt (Hiroshi SHIBATA) about 10 years ago

  • File deleted (patch-ext__dl__extconf.rb)

Updated by hsbt (Hiroshi SHIBATA) about 10 years ago

Hi Steve, Thank you for your report.
Our redmine could't serve your patch. Could you attached again?

Updated by nobu (Nobuyoshi Nakada) about 10 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport193

It has been fixed by r34523.
And 1.9.3 went into the state of the security maintenance phase at 24 Feb.

Updated by swills (Steve Wills) over 9 years ago

Sorry, didn't see this comment until now. The patch is:

http://svnweb.freebsd.org/ports/head/lang/ruby21/files/patch-ext__dl__extconf.rb?revision=345917&view=co

That's the 2.1 version. Though perhaps it is already patched in trunk, I'm not sure.

Updated by nagachika (Tomoyuki Chikanaga) over 9 years ago

  • Tracker changed from Backport to Bug
  • Project changed from Backport193 to Ruby master
  • Category set to ext
  • Status changed from Open to Assigned
  • Assignee set to nobu (Nobuyoshi Nakada)
  • Target version set to 2.2.0
  • ruby -v set to -
  • Backport set to 2.0.0: REQUIRED, 2.1: REQUIRED

The patch can be applied cleanly to trunk (and 2.0.0/2.1).
It can be a new issue.

I move this ticket to ruby-trunk.

Updated by hsbt (Hiroshi SHIBATA) about 9 years ago

  • Status changed from Assigned to Closed

DL has been removed from Ruby 2.2.0 or later.

but I think we need to backport this issue into Ruby 2.1 and 2.0.0

https://github.com/freebsd/freebsd-ports/blob/master/lang/ruby19/files/patch-ext__dl__extconf.rb

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0