[MacPorts] #66745: smlnj uses clang and inconsistent flags in Rosetta, fails to build
MacPorts
noreply at macports.org
Sun Jan 22 19:18:41 UTC 2023
#66745: smlnj uses clang and inconsistent flags in Rosetta, fails to build
-------------------------------------------+--------------------------
Reporter: barracuda156 | Owner: tobypeterson
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Keywords: powerpc, leopard, snowleopard | Port: smlnj
-------------------------------------------+--------------------------
{{{
/usr/bin/clang -m64 -std=c99 -c -g -O2 -D_DARWIN_C_SOURCE -Os -arch ppc
-DARCH_AMD64 -DSIZE_64 -DOPSYS_UNIX -DOPSYS_DARWIN -DGNU_ASSEMBLER
-DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/error.c
clang: warning: not using the clang compiler for the 'powerpc'
architecture
/usr/bin/clang -m64 -std=c99 -c -g -O2 -D_DARWIN_C_SOURCE -Os -arch ppc
-DARCH_AMD64 -DSIZE_64 -DOPSYS_UNIX -DOPSYS_DARWIN -DGNU_ASSEMBLER
-DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/timers.c
clang: warning: not using the clang compiler for the 'powerpc'
architecture
/usr/bin/clang -m64 -std=c99 -c -g -O2 -D_DARWIN_C_SOURCE -Os -arch ppc
-DARCH_AMD64 -DSIZE_64 -DOPSYS_UNIX -DOPSYS_DARWIN -DGNU_ASSEMBLER
-DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/unix-timers.c
clang: warning: not using the clang compiler for the 'powerpc'
architecture
/usr/bin/clang -m64 -std=c99 -c -g -O2 -D_DARWIN_C_SOURCE -Os -arch ppc
-DARCH_AMD64 -DSIZE_64 -DOPSYS_UNIX -DOPSYS_DARWIN -DGNU_ASSEMBLER
-DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/qualify-name.c
clang: warning: not using the clang compiler for the 'powerpc'
architecture
/usr/bin/clang -m64 -std=c99 -c -g -O2 -D_DARWIN_C_SOURCE -Os -arch ppc
-DARCH_AMD64 -DSIZE_64 -DOPSYS_UNIX -DOPSYS_DARWIN -DGNU_ASSEMBLER
-DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/swap-bytes.c
clang: warning: not using the clang compiler for the 'powerpc'
architecture
/usr/bin/clang -m64 -std=c99 -c -g -O2 -D_DARWIN_C_SOURCE -Os -arch ppc
-DARCH_AMD64 -DSIZE_64 -DOPSYS_UNIX -DOPSYS_DARWIN -DGNU_ASSEMBLER
-DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../mach-dep/unix-fault.c
clang: warning: not using the clang compiler for the 'powerpc'
architecture
../mach-dep/unix-fault.c: In function ‘FaultHandler’:
../mach-dep/unix-fault.c:75: error: ‘struct __darwin_ppc_thread_state’ has
no member named ‘__rip’
../mach-dep/unix-fault.c:88: warning: cast to pointer from integer of
different size
../mach-dep/unix-fault.c:102: error: ‘struct __darwin_ppc_thread_state’
has no member named ‘__rip’
../mach-dep/unix-fault.c:102: warning: cast from pointer to integer of
different size
make[1]: *** [unix-fault.o] Error 1
make: *** [all] Error 2
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_smlnj/smlnj/work/smlnj-110.99.3/config/install.sh:
!!! Run-time system build failed for some reason.
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_smlnj/smlnj/work/smlnj-110.99.3"
&&
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_smlnj/smlnj/work/smlnj-110.99.3/config/install.sh
Exit code: 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66745>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list