You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I should add that this fix will fail if the build system does not set CFLAGS, but even though GCC (for example) ignores it, I don't know of any toolchain that doesn't use it at all.
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.
The text was updated successfully, but these errors were encountered: