[MacPorts] #64398: icu @67.1_4: ppc64 build fails

MacPorts noreply at macports.org
Fri Jan 14 11:05:03 UTC 2022


#64398: icu @67.1_4: ppc64 build fails
---------------------------+-------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  PowerPC, Leopard, ppc64
      Port:  icu           |
---------------------------+-------------------------------------

Comment (by barracuda156):

 Replying to [comment:12 kencu]:
 > Yeah, so same error exactly...
 >
 > Is there any gcc version you have that uses Iain's tools (cctools/ld64)?
 gcc11?
 >
 > At the moment, I don't know if this is a ppc64 linker bug, or something
 to do with the way that function is written in ICU.

 I tried to build R for ppc64 now outside Macports with Iain's gcc11 and
 got a very similar ld error:

 {{{

 /opt/svacchanda/gcc11/bin/gcc -m64 -O2 -dynamiclib
 -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module
 -multiply_defined suppress -fopenmp -L /opt/local/lib -L /usr/X11/lib
 -install_name libR.dylib -compatibility_version 4.1.0  -current_version
 4.1.2  -headerpad_max_install_names -o libR.dylib CommandLineArgs.o
 Rdynload.o Renviron.o RNG.o agrep.o altclasses.o altrep.o apply.o
 arithmetic.o array.o attrib.o bind.o builtin.o character.o coerce.o
 colors.o complex.o connections.o context.o cum.o dcf.o datetime.o debug.o
 deparse.o devices.o dotcode.o dounzip.o dstruct.o duplicate.o edit.o
 engine.o envir.o errors.o eval.o format.o gevents.o gram.o gram-ex.o
 graphics.o grep.o identical.o inlined.o inspect.o internet.o iosupport.o
 lapack.o list.o localecharset.o logic.o main.o mapply.o match.o memory.o
 names.o objects.o options.o paste.o patterns.o platform.o plot.o plot3d.o
 plotmath.o print.o printarray.o printvector.o printutils.o qsort.o
 radixsort.o random.o raw.o registration.o relop.o rlocale.o saveload.o
 scan.o seq.o serialize.o sort.o source.o split.o sprintf.o startup.o
 subassign.o subscript.o subset.o summary.o sysutils.o times.o unique.o
 util.o version.o g_alab_her.o g_cntrlify.o g_fontdb.o g_her_glyph.o
 xxxpr.o   `ls ../unix/*.o ../appl/*.o ../nmath/*.o` ../extra/tre/libtre.a
 ../extra/tzone/libtz.a -L"../../lib" -lRblas -lgfortran -lm -lef_ppc
 -lintl -Wl,-framework -Wl,CoreFoundation -lreadline  -L/opt/local/lib
 -lpcre2-8 -llzma -lbz2 -lz -licucore -ldl -lm -liconv
 ld: absolute addressing (perhaps -mdynamic-no-pic) used in
 _walker_ProbSampleReplace from random.o not allowed in slidable image. Use
 '-read_only_relocs suppress' to enable text relocs
 collect2: error: ld returned 1 exit status
 make[3]: *** [libR.dylib] Error 1
 make[2]: *** [R] Error 2
 make[1]: *** [R] Error 1
 make: *** [R] Error 1
 }}}

 Notice {{{ ld: absolute addressing (perhaps -mdynamic-no-pic) used in
 _walker_ProbSampleReplace from random.o not allowed in slidable image }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64398#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list