Backport #8170 Makefile references wrong TARGET

Added by David Edelsohn over 3 years ago. Updated about 3 years ago.



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

dldflags = -eInit_$(TARGET)

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 Backport193 - Backport #6709: building ruby-1.9.3-p194 on AIX 6.1 TL05 SP06 Closed
Duplicates Backport193 - Backport #6734: pkg-config on aix Closed


#1 Updated by Nobuyoshi Nakada about 3 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby trunk to Backport193
  • Status changed from Open to Assigned
  • Assignee set to Usaku NAKAMURA

#2 Updated by Usaku NAKAMURA about 3 years 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]

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

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

#3 [ruby-core:53896] Updated by David Edelsohn about 3 years 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 [ruby-core:53967] Updated by Zachary Scott about 3 years ago

  • Status changed from Closed to Assigned

usa, please check r36338 as requested by edelsohn

#5 [ruby-core:53976] Updated by Usaku NAKAMURA about 3 years ago

  • Status changed from Assigned to Closed

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

Also available in: Atom PDF