[MacPorts] #66258: icu @72.1 does not build on PPC Tiger, Mac OS X 10.4.11, because of problems with assembly code

MacPorts noreply at macports.org
Tue Nov 29 22:22:29 UTC 2022


#66258: icu @72.1 does not build on PPC Tiger, Mac OS X 10.4.11, because of
problems with assembly code
------------------------+-----------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.0
Resolution:             |   Keywords:  tiger ppc
      Port:  icu        |
------------------------+-----------------------

Comment (by ballapete):

 Replying to [comment:42 kencu]:
 > newer cctools does NOT understand .balign or .p2align . The assembler is
 dated about 2006, and not updated much since.
 >
 > cctools passes assembly to clang on Intel systems, and clang does
 understand those, but not on ppc of course.
 >
 > so you’re wasting your time with that.

 That's alright. I am unemployed since a few weeks, and in February
 retirement is awaiting me…

 Ken, my Tiger runs on a PowerPC G4 processor. And when I use
 /opt/local/bin/as, configure (from manually building GCC 10.4 unpatched)
 tells me in stages 1 and 2 (hasn't come further yet) when performing its
 work in ./gcc:

 {{{
 checking assembler for .balign and .p2align... yes
 }}}

 instead of

 {{{
 checking assembler for .balign and .p2align... no
 }}}

 because /opt/local/bin/as is almost up-to-date:

 {{{
 -rw-r--r-- fredzlotnick/staff  26792 2020-02-28 19:02
 cctools-949.0.1/as/as.c
 }}}

 (According to my calendar.)

 OK, when this only works on PPC, then a patch is of course necessary in
 order to not discriminate intel CPUs.

 Besides, my effort is to find faults in the configure scripts. I reported
 them from the GCC 10.3 bootstrap builds and was asked to better report
 those from the recent version.

 To me it seems an improvement to start building GCC 10 with modern tools.
 In the end the installed software will be built by GCC 10 and not the
 system's tools. Maybe it's worth to create a variant for gcc10-bootstrap
 that just uses the system's installations of gmp, isl, mpfr, and mpc in
 order to save some disk space (there aren't so many 2,5" disks with PATA
 interface and more than 100 GB capacity):

 {{{
    183915   2436 -rw-r--r--   2 macports admin     2493916 Nov 19  2020
 distfiles/gcc/gmp-6.2.1.tar.bz2
    188589   2212 -rw-r--r--   2 macports admin     2261594 Jan  1  2022
 distfiles/gcc/isl-0.24.tar.bz2
    183577    820 -rw-r--r--   2 macports admin      838731 Okt 24  2020
 distfiles/gcc/mpc-1.2.1.tar.gz
    191530   1708 -rw-r--r--   1 macports admin     1747243 Nov 17 14:13
 distfiles/gcc/mpfr-4.1.0.tar.bz2
    183915   2436 -rw-r--r--   2 macports admin     2493916 Nov 19  2020
 distfiles/gmp/gmp-6.2.1.tar.bz2
    188589   2212 -rw-r--r--   2 macports admin     2261594 Jan  1  2022
 distfiles/isl/isl-0.24.tar.bz2
    183577    820 -rw-r--r--   2 macports admin      838731 Okt 24  2020
 distfiles/libmpc/mpc-1.2.1.tar.gz
    148931   1412 -rw-r--r--   1 macports admin     1441996 Feb 10  2019
 distfiles/mpfr/4.0.2/mpfr-4.0.2.tar.xz
    148932   1492 -rw-r--r--   1 macports admin     1525476 Okt  3  2020
 distfiles/mpfr/mpfr-4.1.0.tar.xz
 }}}

 Hard links created by me. (Could be cleaner, and closer to perfection, as
 I see now – by using more up-to-date compression.)

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


More information about the macports-tickets mailing list