Skip to content

Test failure (darwin 64-bit PPC) with easy fix #452

@gsteemso

Description

@gsteemso

Installing Perl 5.38.2 on 64-bit PowerPC (under OS 10.5 / Darwin 9, the only one it can be done on), the make test step choked on “ExtUtils-MakeMaker/t/04-xs-rpath-darwin.t”. Examination showed that the tiny dummy library it compiles to test linking against was not being built for the correct architecture, causing a link failure.

The fix is to edit line 202 of that file (in the function “compile_mylib”) so that the command line being constructed includes “split(' ', $ENV{'CFLAGS'}), ”. Once this is done, the test library compiles for the same architecture etc. as Perl, and linkage succeeds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions