[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
Mon Nov 14 20:05:28 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):
I think the file in question was compiled. TWICE:
{{{
/opt/local/bin/g++-mp-7 -DU_ATTRIBUTE_DEPRECATED=
-DU_TOOLUTIL_IMPLEMENTATION -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I.
-I../../common -I../../i18n "-DU_BUILD=\"powerpc-apple-darwin8.11.0\""
"-DU_HOST=\"powerpc-apple-darwin8.11.0\"" "-DU_CC=\"/opt/local/bin/gcc-
mp-7\"" "-DU_CXX=\"/opt/local/bin/g++-mp-7\""
-DUNISTR_FROM_CHAR_EXPLICIT=explicit
-DUNISTR_FROM_STRING_EXPLICIT=explicit -pipe -Os
-D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -W -Wall -pedantic -Wpointer-arith
-Wwrite-strings -Wno-long-long -std=c++11 -fvisibility=hidden -fno-common
-c -MMD -MT "pkg_genc.d pkg_genc.o pkg_genc.ao" -o pkg_genc.ao
pkg_genc.cpp
pkg_genc.cpp: In function 'uint32_t write32(FileStream*, uint32_t,
uint32_t)':
pkg_genc.cpp:584:23: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
for (i = 0; i < sizeof(uint32_t); i++)
~~^~~~~~~~~
/opt/local/bin/g++-mp-7 -DU_ATTRIBUTE_DEPRECATED=
-DU_TOOLUTIL_IMPLEMENTATION -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I.
-I../../common -I../../i18n "-DU_BUILD=\"powerpc-apple-darwin8.11.0\""
"-DU_HOST=\"powerpc-apple-darwin8.11.0\"" "-DU_CC=\"/opt/local/bin/gcc-
mp-7\"" "-DU_CXX=\"/opt/local/bin/g++-mp-7\""
-DUNISTR_FROM_CHAR_EXPLICIT=explicit
-DUNISTR_FROM_STRING_EXPLICIT=explicit -pipe -Os
-D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -W -Wall -pedantic -Wpointer-arith
-Wwrite-strings -Wno-long-long -std=c++11 -fvisibility=hidden -fno-common
-c -MMD -MT "pkg_gencmn.d pkg_gencmn.o pkg_gencmn.ao" -o pkg_gencmn.ao
pkg_gencmn.cpp
}}}
and then
{{{
/opt/local/bin/g++-mp-7 -DU_ATTRIBUTE_DEPRECATED=
-DU_TOOLUTIL_IMPLEMENTATION -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I.
-I../../common -I../../i18n "-DU_BUILD=\"powerpc-apple-darwin8.11.0\""
"-DU_HOST=\"powerpc-apple-darwin8.11.0\"" "-DU_CC=\"/opt/local/bin/gcc-
mp-7\"" "-DU_CXX=\"/opt/local/bin/g++-mp-7\""
-DUNISTR_FROM_CHAR_EXPLICIT=explicit
-DUNISTR_FROM_STRING_EXPLICIT=explicit -pipe -Os
-D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -W -Wall -pedantic -Wpointer-arith
-Wwrite-strings -Wno-long-long -std=c++11 -fvisibility=hidden -fno-common
-c -dynamic -MMD -MT "pkg_genc.d pkg_genc.o pkg_genc.ao" -o pkg_genc.o
pkg_genc.cpp
pkg_genc.cpp: In function 'uint32_t write32(FileStream*, uint32_t,
uint32_t)':
pkg_genc.cpp:584:23: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
for (i = 0; i < sizeof(uint32_t); i++)
~~^~~~~~~~~
/opt/local/bin/g++-mp-7 -DU_ATTRIBUTE_DEPRECATED=
-DU_TOOLUTIL_IMPLEMENTATION -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I.
-I../../common -I../../i18n "-DU_BUILD=\"powerpc-apple-darwin8.11.0\""
"-DU_HOST=\"powerpc-apple-darwin8.11.0\"" "-DU_CC=\"/opt/local/bin/gcc-
mp-7\"" "-DU_CXX=\"/opt/local/bin/g++-mp-7\""
-DUNISTR_FROM_CHAR_EXPLICIT=explicit
-DUNISTR_FROM_STRING_EXPLICIT=explicit -pipe -Os
-D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -W -Wall -pedantic -Wpointer-arith
-Wwrite-strings -Wno-long-long -std=c++11 -fvisibility=hidden -fno-common
-c -dynamic -MMD -MT "pkg_gencmn.d pkg_gencmn.o pkg_gencmn.ao" -o
pkg_gencmn.o pkg_gencmn.cpp
}}}
It's `-c -MMD -MT "pkg_genc.d pkg_genc.o pkg_genc.ao" -o pkg_genc.ao
pkg_genc.cpp` vs. `-c -dynamic -MMD -MT "pkg_genc.d pkg_genc.o
pkg_genc.ao" -o pkg_genc.o pkg_genc.cpp` – a fault? Not capable to find a
decision for either this or that? First output file is `pkg_genc.ao` and
second output file is `pkg_genc.o`
But in the end I see again:
{{{
gnumake[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source/data'
/bin/sh ../mkinstalldirs ./out
DYLD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$DYLD_LIBRARY_PATH
../bin/icupkg -tb ./in/icudt72l.dat ./out/icudt72b.dat
/bin/sh ../mkinstalldirs ./out/tmp ./out/build/icudt72b
mkdir ./out/tmp
mkdir ./out/build
mkdir ./out/build/icudt72b
Unpacking ./out/icudt72b.dat and generating out/tmp/icudata.lst (list of
data files)
DYLD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$DYLD_LIBRARY_PATH
../bin/icupkg -d ./out/build/icudt72b --list -x \* ./out/icudt72b.dat -o
out/tmp/icudata.lst
echo timestamp > build-local
DYLD_LIBRARY_PATH=../stubdata:../tools/ctestfw:../lib:$DYLD_LIBRARY_PATH
../bin/pkgdata -O ../data/icupkg.inc -q -c -s
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source/data/out/build/icudt72b
-d ../lib -e icudt72 -T ./out/tmp -p icudt72b -L icudata -m static -r
72.1 ./out/tmp/icudata.lst
./out/tmp/icudt72b_dat.S:7:Unknown pseudo-op: .balign
./out/tmp/icudt72b_dat.S:7:Rest of line ignored. 1st junk character valued
49 (1).
-- return status = 256
Error creating with assembly code. Failed command: /opt/local/bin/gcc-mp-7
-DU_ATTRIBUTE_DEPRECATED= -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1
-pipe -Os -arch ppc -std=c11 -Wall -pedantic -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -fno-common -c -I../common
-I../common -dynamic -o ./out/tmp/icudt72b_dat.o ./out/tmp/icudt72b_dat.S
Error generating assembly code for data.
pkgdata: /opt/local/bin/gcc-mp-7 -DU_ATTRIBUTE_DEPRECATED=
-DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -pipe -Os -arch ppc -std=c11
-Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-
strings -fno-common -c -I../common -I../common -dynamic -o
./out/tmp/icudt72b_dat.o ./out/tmp/icudt72b_dat.S
gnumake[1]: *** [packagedata] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66258#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list