Backport #8170

dot.dot Makefile references wrong TARGET

Added by David Edelsohn about 1 year ago. Updated about 1 year ago.

[ruby-core:53747]
Status:Closed
Priority:Normal
Assignee:Usaku NAKAMURA

Description

ext/-test-/load/dot.dot produces a Makefile that includes the following definitions:

dldflags = -eInit_$(TARGET)
TARGET = dot.dot

However, the function defined in the source file does not match the file name and function name used to form the TARGET:

void Init_dot(void) {}

This causes a link error on AIX when building Ruby.


Related issues

Related to Backport93 - Backport #6709: building ruby-1.9.3-p194 on AIX 6.1 TL05 SP06 Closed
Duplicates Backport93 - Backport #6734: pkg-config on aix Closed

History

#1 Updated by Nobuyoshi Nakada about 1 year ago

  • Tracker changed from Bug to Backport
  • Project changed from ruby-trunk to Backport93
  • Status changed from Open to Assigned
  • Assignee set to Usaku NAKAMURA

#2 Updated by Usaku NAKAMURA about 1 year ago

  • Status changed from Assigned to Closed

This issue was solved with changeset r40053.
, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 36432: [Backport #6734]

* configure.in (EXTDLDFLAGS): split options for each extension
  libraries, and unused in ruby.pc.  [Bug #6734]

* lib/mkmf.rb (MakeMakefile#configuration): add EXTDLDFLAGS.

#3 Updated by David Edelsohn about 1 year ago

Nakamura-san, the backported patch is insufficient to fix the problem on AIX, it also needs to merge revision 36338 for Bug #6709.

#4 Updated by Zachary Scott about 1 year ago

  • Status changed from Closed to Assigned

usa, please check r36338 as requested by edelsohn

#5 Updated by Usaku NAKAMURA about 1 year ago

  • Status changed from Assigned to Closed

Thank you for your report.
I hope this resolved at r40093 (p409).

Also available in: Atom PDF