Backport #8170

closed Makefile references wrong TARGET

Added by edelsohn (David Edelsohn) over 9 years ago. Updated about 9 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 2 (0 open2 closed)

Related to Backport193 - Backport #6709: building ruby-1.9.3-p194 on AIX 6.1 TL05 SP06Closedusa (Usaku NAKAMURA)Actions
Is duplicate of Backport193 - Backport #6734: pkg-config on aixClosedusa (Usaku NAKAMURA)Actions
Actions #1

Updated by nobu (Nobuyoshi Nakada) about 9 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport193
  • Status changed from Open to Assigned
  • Assignee set to usa (Usaku NAKAMURA)
Actions #2

Updated by usa (Usaku NAKAMURA) about 9 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.

Updated by edelsohn (David Edelsohn) about 9 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.

Updated by zzak (Zachary Scott) about 9 years ago

  • Status changed from Closed to Assigned

usa, please check r36338 as requested by edelsohn

Updated by usa (Usaku NAKAMURA) about 9 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