#65498 closed defect (fixed)

gcc10-bootstrap fails on Rosetta due to wrong archs in dependencies

Reported by: barracuda156 Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, rosetta, snowleopard Cc:
Port: gcc10-bootstrap

Description

Referring from: https://trac.macports.org/ticket/65146#comment:16

The problem: when you try building gcc10-bootstrap on 10.6.8 Rosetta, it fails. Details: https://github.com/macports/macports-ports/pull/13995#issuecomment-1066014166https://github.com/macports/macports-ports/pull/13995#issuecomment-1066718196

I used 10.6.8 Server (standard release from Apple), Xcode 3.2.6, gcc10-bootstrap -universal. Macports configure has the following:

build_arch ppc
universal_archs
buildfromsource always
cxx_stdlib libstdc++

This failure is exclusive to Rosetta: neither Leopard nor 10.6 PPC has it (well, unsurprisingly, since in these cases PPC is also the actual cpu arch).

Attachments (1)

gcc10-bootstrap-rosetta.log (1.2 MB) - added by barracuda156 22 months ago.
So here is the log trying to build gcc10-bootstrap, no changes to the portfile

Download all attachments as: .zip

Change History (7)

Changed 22 months ago by barracuda156

Attachment: gcc10-bootstrap-rosetta.log added

So here is the log trying to build gcc10-bootstrap, no changes to the portfile

comment:1 Changed 22 months ago by catap (Kirill A. Korinsky)

Sergey, it's wired. Let me quote the log:

config.status: creating codegen_test.sh
config.status: creating pip_test.sh
no
configure: error: GMP_NUMB_BITS and sizeof(mp_limb_t) are not consistent.
You probably need to change some of the GMP or MPFR compile options.
See 'config.log' for details (search for GMP_NUMB_BITS).

Maybe you may share the end of config.log which contains an output of configure's test program?

comment:2 in reply to:  1 Changed 22 months ago by barracuda156

Replying to catap:

Maybe you may share the end of config.log which contains an output of configure's test program?

No surprise, test results are a mess (from gmp config.log):

configure:30523: summary of build options:

  Version:           GNU MP 6.2.1
  Host type:         none-apple-darwin10
  ABI:               standard
  Install prefix:    /opt/local/libexec/gcc10-bootstrap
  Compiler:          /usr/bin/gcc-4.2 -std=gnu99
  Static libraries:  yes
  Shared libraries:  no


## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=powerpc-apple-darwin10
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_restrict=__restrict
ac_cv_c_volatile=yes
ac_cv_env_ABI_set=
ac_cv_env_ABI_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_BUILD_set=set
ac_cv_env_CC_FOR_BUILD_value=/usr/bin/gcc-4.2
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/gcc-4.2
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -mdynamic-no-pic'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_FOR_BUILD_set=
ac_cv_env_CPP_FOR_BUILD_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-g -mdynamic-no-pic'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value='/usr/bin/g++-4.2 -std=gnu++98'
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -arch ppc'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_M4_set=set
ac_cv_env_M4_value=gm4
ac_cv_env_YACC_set=set
ac_cv_env_YACC_value='bison -y'
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=powerpc-apple-darwin10
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=none-apple-darwin10
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=none-apple-darwin10
ac_cv_func_alarm=yes
ac_cv_func_attr_get=no
ac_cv_func_clock=yes
ac_cv_func_cputime=no
ac_cv_func_getpagesize=yes
ac_cv_func_getrusage=yes
ac_cv_func_getsysinfo=no
ac_cv_func_gettimeofday=yes
ac_cv_func_localeconv=yes
ac_cv_func_memset=yes
ac_cv_func_mmap=yes
ac_cv_func_mprotect=yes
ac_cv_func_nl_langinfo=yes
ac_cv_func_obstack_vprintf=no
ac_cv_func_popen=yes
ac_cv_func_processor_info=yes
ac_cv_func_pstat_getprocessor=no
ac_cv_func_raise=yes
ac_cv_func_read_real_time=no
ac_cv_func_sigaction=yes
ac_cv_func_sigaltstack=yes
ac_cv_func_sigstack=no
ac_cv_func_strchr=yes
ac_cv_func_strerror=yes
ac_cv_func_strnlen=no
ac_cv_func_strtol=yes
ac_cv_func_strtoul=yes
ac_cv_func_sysconf=yes
ac_cv_func_sysctl=yes
ac_cv_func_sysctlbyname=yes
ac_cv_func_syssgi=no
ac_cv_func_times=yes
ac_cv_func_vsnprintf=yes
ac_cv_have_decl_fgetc=yes
ac_cv_have_decl_fscanf=yes
ac_cv_have_decl_optarg=yes
ac_cv_have_decl_sys_errlist=yes
ac_cv_have_decl_sys_nerr=yes
ac_cv_have_decl_ungetc=yes
ac_cv_have_decl_vfprintf=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_float_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_invent_h=no
ac_cv_header_langinfo_h=yes
ac_cv_header_locale_h=yes
ac_cv_header_machine_hal_sysinfo_h=no
ac_cv_header_memory_h=yes
ac_cv_header_nl_types_h=yes
ac_cv_header_readline_history_h=yes
ac_cv_header_readline_readline_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_attributes_h=no
ac_cv_header_sys_iograph_h=no
ac_cv_header_sys_mman_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_processor_h=no
ac_cv_header_sys_pstat_h=no
ac_cv_header_sys_resource_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_sysctl_h=yes
ac_cv_header_sys_sysinfo_h=no
ac_cv_header_sys_syssgi_h=no
ac_cv_header_sys_systemcfg_h=no
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_times_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=none-apple-darwin10
ac_cv_lib_lex='none needed'
ac_cv_lib_ncurses_tputs=yes
ac_cv_lib_readline_readline=yes
ac_cv_member_struct_pst_processor_psp_iticksperclktick=no
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_lt_DD=/bin/dd
ac_cv_prog_AR=ar
ac_cv_prog_AWK=awk
ac_cv_prog_CC=/usr/bin/gcc-4.2
ac_cv_prog_CPP='/usr/bin/gcc-4.2 -std=gnu99 -E'
ac_cv_prog_CXXCPP='/usr/bin/g++-4.2 -std=gnu++98 -E'
ac_cv_prog_DLLTOOL=dlltool
ac_cv_prog_DSYMUTIL=dsymutil
ac_cv_prog_LEX='touch lex.yy.c'
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_OTOOL=otool
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_STRIP=strip
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_LIPO=lipo
ac_cv_prog_ac_ct_NMEDIT=nmedit
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=-std=gnu99
ac_cv_prog_cc_g=yes
ac_cv_prog_lex_root=lex.yy
ac_cv_prog_lex_yytext_pointer=no
ac_cv_prog_make__usr_bin_make_set=yes
ac_cv_search_clock_gettime=no
ac_cv_sizeof_mp_limb_t=8
ac_cv_sizeof_unsigned=4
ac_cv_sizeof_unsigned_long=8
ac_cv_sizeof_unsigned_short=2
ac_cv_sizeof_void_p=8
ac_cv_type_intmax_t=yes
ac_cv_type_intptr_t=yes
ac_cv_type_long_double=yes
ac_cv_type_long_long=yes
ac_cv_type_ptrdiff_t=yes
ac_cv_type_quad_t=yes
ac_cv_type_signal=void
ac_cv_type_stack_t=yes
ac_cv_type_uint_least32_t=yes
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
cl_cv_as_noexecstack=no
gmp_cv_c_attribute_const=yes
gmp_cv_c_attribute_malloc=yes
gmp_cv_c_attribute_mode=yes
gmp_cv_c_attribute_noreturn=yes
gmp_cv_c_double_format='IEEE little endian'
gmp_cv_c_for_build_ansi=yes
gmp_cv_c_hidden_alias=no
gmp_cv_check_libm_for_build=-lm
gmp_cv_func_alloca=yes
gmp_cv_func_sscanf_writable_input=no
gmp_cv_func_vsnprintf=probably
gmp_cv_header_alloca=yes
gmp_cv_option_alloca=alloca
gmp_cv_prog_cpp_for_build='/usr/bin/gcc-4.2 -E'
gmp_cv_prog_exeext_for_build=
lt_cv_apple_cc_single_mod=yes
lt_cv_ar_at_file=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_exported_symbols_list=yes
lt_cv_ld_force_load=no
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
lt_cv_path_LDCXX=
lt_cv_path_NM=nm
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-fno-common -DPIC'
lt_cv_prog_compiler_pic_CXX=' -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=no
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=no
lt_cv_prog_gnu_ldcxx=
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_sys_global_symbol_pipe=
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl=
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=196608
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/bin/dd bs=4096 count=1'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ABI='standard'
ACLOCAL='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/gmp/missing aclocal-1.15'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AS='as'
ASMFLAGS=''
AUTOCONF='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/gmp/missing autoconf'
AUTOHEADER='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/gmp/missing autoheader'
AUTOMAKE='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/gmp/missing automake-1.15'
AWK='awk'
CALLING_CONVENTIONS_OBJS=''
CC='/usr/bin/gcc-4.2 -std=gnu99'
CCAS='/usr/bin/gcc-4.2 -std=gnu99 -c'
CC_FOR_BUILD='/usr/bin/gcc-4.2'
CFLAGS='-g -mdynamic-no-pic'
CPP='/usr/bin/gcc-4.2 -std=gnu99 -E'
CPPFLAGS=''
CPP_FOR_BUILD='/usr/bin/gcc-4.2 -E'
CXX='/usr/bin/g++-4.2 -std=gnu++98'
CXXCPP='/usr/bin/g++-4.2 -std=gnu++98 -E'
CXXFLAGS='-g -mdynamic-no-pic'
CYGPATH_W='echo'
DEFN_LONG_LONG_LIMB='/* #undef _LONG_LONG_LIMB */'
DEFS='-DHAVE_CONFIG_H'
DLLTOOL='dlltool'
DSYMUTIL='dsymutil'
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_STATIC_FALSE='#'
ENABLE_STATIC_TRUE=''
EXEEXT=''
EXEEXT_FOR_BUILD=''
FGREP='/usr/bin/grep -F'
GMP_LDFLAGS=''
GMP_LIMB_BITS='64'
GMP_NAIL_BITS='0'
GREP='/usr/bin/grep'
HAVE_CLOCK_01='1'
HAVE_CPUTIME_01='0'
HAVE_GETRUSAGE_01='1'
HAVE_GETTIMEOFDAY_01='1'
HAVE_HOST_CPU_FAMILY_power='0'
HAVE_HOST_CPU_FAMILY_powerpc='0'
HAVE_SIGACTION_01='1'
HAVE_SIGALTSTACK_01='1'
HAVE_SIGSTACK_01='0'
HAVE_STACK_T_01='1'
HAVE_SYS_RESOURCE_H_01='1'
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld'
LDFLAGS=' -arch ppc'
LEX='touch lex.yy.c'
LEXLIB=''
LEX_OUTPUT_ROOT='lex.yy'
LIBCURSES='-lncurses'
LIBGMPXX_LDFLAGS=''
LIBGMP_DLL='0'
LIBGMP_LDFLAGS=''
LIBM=''
LIBM_FOR_BUILD='-lm'
LIBOBJS=''
LIBREADLINE='-lreadline'
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO='lipo'
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
M4='gm4'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo --split-size=5000000 --split-size=5000000'
MANIFEST_TOOL=':'
MKDIR_P='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/gmp/install-sh -c -d'
NM='nm'
NMEDIT='nmedit'
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=':'
OTOOL='otool'
PACKAGE='gmp'
PACKAGE_BUGREPORT='gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html'
PACKAGE_NAME='GNU MP'
PACKAGE_STRING='GNU MP 6.2.1'
PACKAGE_TARNAME='gmp'
PACKAGE_URL='http://www.gnu.org/software/gmp/'
PACKAGE_VERSION='6.2.1'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
SPEED_CYCLECOUNTER_OBJ=''
STRIP='strip'
TAL_OBJECT='tal-reent.lo'
TUNE_LIBS=''
TUNE_SQR_OBJ=''
U_FOR_BUILD=''
VERSION='6.2.1'
WANT_CXX_FALSE=''
WANT_CXX_TRUE='#'
WITH_READLINE_01='1'
YACC='bison -y'
YFLAGS=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='powerpc-apple-darwin10'
build_alias='powerpc-apple-darwin10'
build_cpu='powerpc'
build_os='darwin10'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
gmp_srclinks=' mpn/add.c mpn/add_1.c mpn/add_n.c mpn/sub.c mpn/sub_1.c mpn/sub_n.c mpn/cnd_add_n.c mpn/cnd_sub_n.c mpn/cnd_swap.c mpn/neg.c mpn/com.c mpn/mul_1.c mpn/addmul_1.c mpn/submul_1.c mpn/add_err1_n.c mpn/add_err2_n.c mpn/add_err3_n.c mpn/sub_err1_n.c mpn/sub_err2_n.c mpn/sub_err3_n.c mpn/lshift.c mpn/rshift.c mpn/dive_1.c mpn/diveby3.c mpn/divis.c mpn/divrem.c mpn/divrem_1.c mpn/divrem_2.c mpn/fib2_ui.c mpn/fib2m.c mpn/mod_1.c mpn/mod_34lsub1.c mpn/mode1o.c mpn/pre_divrem_1.c mpn/pre_mod_1.c mpn/dump.c mpn/mod_1_1.c mpn/mod_1_2.c mpn/mod_1_3.c mpn/mod_1_4.c mpn/lshiftc.c mpn/mul.c mpn/mul_fft.c mpn/mul_n.c mpn/sqr.c mpn/mul_basecase.c mpn/sqr_basecase.c mpn/nussbaumer_mul.c mpn/mulmid_basecase.c mpn/toom42_mulmid.c mpn/mulmid_n.c mpn/mulmid.c mpn/random.c mpn/random2.c mpn/pow_1.c mpn/rootrem.c mpn/sqrtrem.c mpn/sizeinbase.c mpn/get_str.c mpn/set_str.c mpn/compute_powtab.c mpn/scan0.c mpn/scan1.c mpn/popcount.c mpn/hamdist.c mpn/cmp.c mpn/zero_p.c mpn/perfsqr.c mpn/perfpow.c mpn/strongfibo.c mpn/gcd_11.c mpn/gcd_22.c mpn/gcd_1.c mpn/gcd.c mpn/gcdext_1.c mpn/gcdext.c mpn/gcd_subdiv_step.c mpn/gcdext_lehmer.c mpn/div_q.c mpn/tdiv_qr.c mpn/jacbase.c mpn/jacobi_2.c mpn/jacobi.c mpn/get_d.c mpn/matrix22_mul.c mpn/matrix22_mul1_inverse_vector.c mpn/hgcd_matrix.c mpn/hgcd2.c mpn/hgcd_step.c mpn/hgcd_reduce.c mpn/hgcd.c mpn/hgcd_appr.c mpn/hgcd2_jacobi.c mpn/hgcd_jacobi.c mpn/mullo_n.c mpn/mullo_basecase.c mpn/sqrlo.c mpn/sqrlo_basecase.c mpn/toom22_mul.c mpn/toom32_mul.c mpn/toom42_mul.c mpn/toom52_mul.c mpn/toom62_mul.c mpn/toom33_mul.c mpn/toom43_mul.c mpn/toom53_mul.c mpn/toom54_mul.c mpn/toom63_mul.c mpn/toom44_mul.c mpn/toom6h_mul.c mpn/toom6_sqr.c mpn/toom8h_mul.c mpn/toom8_sqr.c mpn/toom_couple_handling.c mpn/toom2_sqr.c mpn/toom3_sqr.c mpn/toom4_sqr.c mpn/toom_eval_dgr3_pm1.c mpn/toom_eval_dgr3_pm2.c mpn/toom_eval_pm1.c mpn/toom_eval_pm2.c mpn/toom_eval_pm2exp.c mpn/toom_eval_pm2rexp.c mpn/toom_interpolate_5pts.c mpn/toom_interpolate_6pts.c mpn/toom_interpolate_7pts.c mpn/toom_interpolate_8pts.c mpn/toom_interpolate_12pts.c mpn/toom_interpolate_16pts.c mpn/invertappr.c mpn/invert.c mpn/binvert.c mpn/mulmod_bnm1.c mpn/sqrmod_bnm1.c mpn/div_qr_1.c mpn/div_qr_1n_pi1.c mpn/div_qr_2.c mpn/div_qr_2n_pi1.c mpn/div_qr_2u_pi1.c mpn/sbpi1_div_q.c mpn/sbpi1_div_qr.c mpn/sbpi1_divappr_q.c mpn/dcpi1_div_q.c mpn/dcpi1_div_qr.c mpn/dcpi1_divappr_q.c mpn/mu_div_qr.c mpn/mu_divappr_q.c mpn/mu_div_q.c mpn/bdiv_q_1.c mpn/sbpi1_bdiv_q.c mpn/sbpi1_bdiv_qr.c mpn/sbpi1_bdiv_r.c mpn/dcpi1_bdiv_q.c mpn/dcpi1_bdiv_qr.c mpn/mu_bdiv_q.c mpn/mu_bdiv_qr.c mpn/bdiv_q.c mpn/bdiv_qr.c mpn/broot.c mpn/brootinv.c mpn/bsqrt.c mpn/bsqrtinv.c mpn/divexact.c mpn/bdiv_dbm1c.c mpn/redc_1.c mpn/redc_2.c mpn/redc_n.c mpn/powm.c mpn/powlo.c mpn/sec_powm.c mpn/sec_mul.c mpn/sec_sqr.c mpn/sec_div_qr.c mpn/sec_div_r.c mpn/sec_pi1_div_qr.c mpn/sec_pi1_div_r.c mpn/sec_add_1.c mpn/sec_sub_1.c mpn/sec_invert.c mpn/trialdiv.c mpn/remove.c mpn/and_n.c mpn/andn_n.c mpn/nand_n.c mpn/ior_n.c mpn/iorn_n.c mpn/nior_n.c mpn/xor_n.c mpn/xnor_n.c mpn/copyi.c mpn/copyd.c mpn/zero.c mpn/sec_tabselect.c mpn/comb_tables.c mpn/add_n_sub_n.c gmp-mparam.h'
host='none-apple-darwin10'
host_alias='none-apple-darwin10'
host_cpu='none'
host_os='darwin10'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/gmp/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
mpn_objects=' add$U.lo add_1$U.lo add_n$U.lo sub$U.lo sub_1$U.lo sub_n$U.lo cnd_add_n$U.lo cnd_sub_n$U.lo cnd_swap$U.lo neg$U.lo com$U.lo mul_1$U.lo addmul_1$U.lo submul_1$U.lo add_err1_n$U.lo add_err2_n$U.lo add_err3_n$U.lo sub_err1_n$U.lo sub_err2_n$U.lo sub_err3_n$U.lo lshift$U.lo rshift$U.lo dive_1$U.lo diveby3$U.lo divis$U.lo divrem$U.lo divrem_1$U.lo divrem_2$U.lo fib2_ui$U.lo fib2m$U.lo mod_1$U.lo mod_34lsub1$U.lo mode1o$U.lo pre_divrem_1$U.lo pre_mod_1$U.lo dump$U.lo mod_1_1$U.lo mod_1_2$U.lo mod_1_3$U.lo mod_1_4$U.lo lshiftc$U.lo mul$U.lo mul_fft$U.lo mul_n$U.lo sqr$U.lo mul_basecase$U.lo sqr_basecase$U.lo nussbaumer_mul$U.lo mulmid_basecase$U.lo toom42_mulmid$U.lo mulmid_n$U.lo mulmid$U.lo random$U.lo random2$U.lo pow_1$U.lo rootrem$U.lo sqrtrem$U.lo sizeinbase$U.lo get_str$U.lo set_str$U.lo compute_powtab$U.lo scan0$U.lo scan1$U.lo popcount$U.lo hamdist$U.lo cmp$U.lo zero_p$U.lo perfsqr$U.lo perfpow$U.lo strongfibo$U.lo gcd_11$U.lo gcd_22$U.lo gcd_1$U.lo gcd$U.lo gcdext_1$U.lo gcdext$U.lo gcd_subdiv_step$U.lo gcdext_lehmer$U.lo div_q$U.lo tdiv_qr$U.lo jacbase$U.lo jacobi_2$U.lo jacobi$U.lo get_d$U.lo matrix22_mul$U.lo matrix22_mul1_inverse_vector$U.lo hgcd_matrix$U.lo hgcd2$U.lo hgcd_step$U.lo hgcd_reduce$U.lo hgcd$U.lo hgcd_appr$U.lo hgcd2_jacobi$U.lo hgcd_jacobi$U.lo mullo_n$U.lo mullo_basecase$U.lo sqrlo$U.lo sqrlo_basecase$U.lo toom22_mul$U.lo toom32_mul$U.lo toom42_mul$U.lo toom52_mul$U.lo toom62_mul$U.lo toom33_mul$U.lo toom43_mul$U.lo toom53_mul$U.lo toom54_mul$U.lo toom63_mul$U.lo toom44_mul$U.lo toom6h_mul$U.lo toom6_sqr$U.lo toom8h_mul$U.lo toom8_sqr$U.lo toom_couple_handling$U.lo toom2_sqr$U.lo toom3_sqr$U.lo toom4_sqr$U.lo toom_eval_dgr3_pm1$U.lo toom_eval_dgr3_pm2$U.lo toom_eval_pm1$U.lo toom_eval_pm2$U.lo toom_eval_pm2exp$U.lo toom_eval_pm2rexp$U.lo toom_interpolate_5pts$U.lo toom_interpolate_6pts$U.lo toom_interpolate_7pts$U.lo toom_interpolate_8pts$U.lo toom_interpolate_12pts$U.lo toom_interpolate_16pts$U.lo invertappr$U.lo invert$U.lo binvert$U.lo mulmod_bnm1$U.lo sqrmod_bnm1$U.lo div_qr_1$U.lo div_qr_1n_pi1$U.lo div_qr_2$U.lo div_qr_2n_pi1$U.lo div_qr_2u_pi1$U.lo sbpi1_div_q$U.lo sbpi1_div_qr$U.lo sbpi1_divappr_q$U.lo dcpi1_div_q$U.lo dcpi1_div_qr$U.lo dcpi1_divappr_q$U.lo mu_div_qr$U.lo mu_divappr_q$U.lo mu_div_q$U.lo bdiv_q_1$U.lo sbpi1_bdiv_q$U.lo sbpi1_bdiv_qr$U.lo sbpi1_bdiv_r$U.lo dcpi1_bdiv_q$U.lo dcpi1_bdiv_qr$U.lo mu_bdiv_q$U.lo mu_bdiv_qr$U.lo bdiv_q$U.lo bdiv_qr$U.lo broot$U.lo brootinv$U.lo bsqrt$U.lo bsqrtinv$U.lo divexact$U.lo bdiv_dbm1c$U.lo redc_1$U.lo redc_2$U.lo redc_n$U.lo powm$U.lo powlo$U.lo sec_powm$U.lo sec_mul$U.lo sec_sqr$U.lo sec_div_qr$U.lo sec_div_r$U.lo sec_pi1_div_qr$U.lo sec_pi1_div_r$U.lo sec_add_1$U.lo sec_sub_1$U.lo sec_invert$U.lo trialdiv$U.lo remove$U.lo and_n$U.lo andn_n$U.lo nand_n$U.lo ior_n$U.lo iorn_n$U.lo nior_n$U.lo xor_n$U.lo xnor_n$U.lo copyi$U.lo copyd$U.lo zero$U.lo sec_tabselect$U.lo comb_tables$U.lo add_n_sub_n$U.lo'
mpn_objs_in_libgmp=' mpn/add$U.lo mpn/add_1$U.lo mpn/add_n$U.lo mpn/sub$U.lo mpn/sub_1$U.lo mpn/sub_n$U.lo mpn/cnd_add_n$U.lo mpn/cnd_sub_n$U.lo mpn/cnd_swap$U.lo mpn/neg$U.lo mpn/com$U.lo mpn/mul_1$U.lo mpn/addmul_1$U.lo mpn/submul_1$U.lo mpn/add_err1_n$U.lo mpn/add_err2_n$U.lo mpn/add_err3_n$U.lo mpn/sub_err1_n$U.lo mpn/sub_err2_n$U.lo mpn/sub_err3_n$U.lo mpn/lshift$U.lo mpn/rshift$U.lo mpn/dive_1$U.lo mpn/diveby3$U.lo mpn/divis$U.lo mpn/divrem$U.lo mpn/divrem_1$U.lo mpn/divrem_2$U.lo mpn/fib2_ui$U.lo mpn/fib2m$U.lo mpn/mod_1$U.lo mpn/mod_34lsub1$U.lo mpn/mode1o$U.lo mpn/pre_divrem_1$U.lo mpn/pre_mod_1$U.lo mpn/dump$U.lo mpn/mod_1_1$U.lo mpn/mod_1_2$U.lo mpn/mod_1_3$U.lo mpn/mod_1_4$U.lo mpn/lshiftc$U.lo mpn/mul$U.lo mpn/mul_fft$U.lo mpn/mul_n$U.lo mpn/sqr$U.lo mpn/mul_basecase$U.lo mpn/sqr_basecase$U.lo mpn/nussbaumer_mul$U.lo mpn/mulmid_basecase$U.lo mpn/toom42_mulmid$U.lo mpn/mulmid_n$U.lo mpn/mulmid$U.lo mpn/random$U.lo mpn/random2$U.lo mpn/pow_1$U.lo mpn/rootrem$U.lo mpn/sqrtrem$U.lo mpn/sizeinbase$U.lo mpn/get_str$U.lo mpn/set_str$U.lo mpn/compute_powtab$U.lo mpn/scan0$U.lo mpn/scan1$U.lo mpn/popcount$U.lo mpn/hamdist$U.lo mpn/cmp$U.lo mpn/zero_p$U.lo mpn/perfsqr$U.lo mpn/perfpow$U.lo mpn/strongfibo$U.lo mpn/gcd_11$U.lo mpn/gcd_22$U.lo mpn/gcd_1$U.lo mpn/gcd$U.lo mpn/gcdext_1$U.lo mpn/gcdext$U.lo mpn/gcd_subdiv_step$U.lo mpn/gcdext_lehmer$U.lo mpn/div_q$U.lo mpn/tdiv_qr$U.lo mpn/jacbase$U.lo mpn/jacobi_2$U.lo mpn/jacobi$U.lo mpn/get_d$U.lo mpn/matrix22_mul$U.lo mpn/matrix22_mul1_inverse_vector$U.lo mpn/hgcd_matrix$U.lo mpn/hgcd2$U.lo mpn/hgcd_step$U.lo mpn/hgcd_reduce$U.lo mpn/hgcd$U.lo mpn/hgcd_appr$U.lo mpn/hgcd2_jacobi$U.lo mpn/hgcd_jacobi$U.lo mpn/mullo_n$U.lo mpn/mullo_basecase$U.lo mpn/sqrlo$U.lo mpn/sqrlo_basecase$U.lo mpn/toom22_mul$U.lo mpn/toom32_mul$U.lo mpn/toom42_mul$U.lo mpn/toom52_mul$U.lo mpn/toom62_mul$U.lo mpn/toom33_mul$U.lo mpn/toom43_mul$U.lo mpn/toom53_mul$U.lo mpn/toom54_mul$U.lo mpn/toom63_mul$U.lo mpn/toom44_mul$U.lo mpn/toom6h_mul$U.lo mpn/toom6_sqr$U.lo mpn/toom8h_mul$U.lo mpn/toom8_sqr$U.lo mpn/toom_couple_handling$U.lo mpn/toom2_sqr$U.lo mpn/toom3_sqr$U.lo mpn/toom4_sqr$U.lo mpn/toom_eval_dgr3_pm1$U.lo mpn/toom_eval_dgr3_pm2$U.lo mpn/toom_eval_pm1$U.lo mpn/toom_eval_pm2$U.lo mpn/toom_eval_pm2exp$U.lo mpn/toom_eval_pm2rexp$U.lo mpn/toom_interpolate_5pts$U.lo mpn/toom_interpolate_6pts$U.lo mpn/toom_interpolate_7pts$U.lo mpn/toom_interpolate_8pts$U.lo mpn/toom_interpolate_12pts$U.lo mpn/toom_interpolate_16pts$U.lo mpn/invertappr$U.lo mpn/invert$U.lo mpn/binvert$U.lo mpn/mulmod_bnm1$U.lo mpn/sqrmod_bnm1$U.lo mpn/div_qr_1$U.lo mpn/div_qr_1n_pi1$U.lo mpn/div_qr_2$U.lo mpn/div_qr_2n_pi1$U.lo mpn/div_qr_2u_pi1$U.lo mpn/sbpi1_div_q$U.lo mpn/sbpi1_div_qr$U.lo mpn/sbpi1_divappr_q$U.lo mpn/dcpi1_div_q$U.lo mpn/dcpi1_div_qr$U.lo mpn/dcpi1_divappr_q$U.lo mpn/mu_div_qr$U.lo mpn/mu_divappr_q$U.lo mpn/mu_div_q$U.lo mpn/bdiv_q_1$U.lo mpn/sbpi1_bdiv_q$U.lo mpn/sbpi1_bdiv_qr$U.lo mpn/sbpi1_bdiv_r$U.lo mpn/dcpi1_bdiv_q$U.lo mpn/dcpi1_bdiv_qr$U.lo mpn/mu_bdiv_q$U.lo mpn/mu_bdiv_qr$U.lo mpn/bdiv_q$U.lo mpn/bdiv_qr$U.lo mpn/broot$U.lo mpn/brootinv$U.lo mpn/bsqrt$U.lo mpn/bsqrtinv$U.lo mpn/divexact$U.lo mpn/bdiv_dbm1c$U.lo mpn/redc_1$U.lo mpn/redc_2$U.lo mpn/redc_n$U.lo mpn/powm$U.lo mpn/powlo$U.lo mpn/sec_powm$U.lo mpn/sec_mul$U.lo mpn/sec_sqr$U.lo mpn/sec_div_qr$U.lo mpn/sec_div_r$U.lo mpn/sec_pi1_div_qr$U.lo mpn/sec_pi1_div_r$U.lo mpn/sec_add_1$U.lo mpn/sec_sub_1$U.lo mpn/sec_invert$U.lo mpn/trialdiv$U.lo mpn/remove$U.lo mpn/and_n$U.lo mpn/andn_n$U.lo mpn/nand_n$U.lo mpn/ior_n$U.lo mpn/iorn_n$U.lo mpn/nior_n$U.lo mpn/xor_n$U.lo mpn/xnor_n$U.lo mpn/copyi$U.lo mpn/copyd$U.lo mpn/zero$U.lo mpn/sec_tabselect$U.lo mpn/comb_tables$U.lo mpn/add_n_sub_n$U.lo'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/local/libexec/gcc10-bootstrap'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='none-apple-darwin10'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "GNU MP"
#define PACKAGE_TARNAME "gmp"
#define PACKAGE_VERSION "6.2.1"
#define PACKAGE_STRING "GNU MP 6.2.1"
#define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html"
#define PACKAGE_URL "http://www.gnu.org/software/gmp/"
#define PACKAGE "gmp"
#define VERSION "6.2.1"
#define WANT_FFT 1
#define HAVE_HOST_CPU_none 1
#define NO_ASM 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_FCNTL_H 1
#define HAVE_FLOAT_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LOCALE_H 1
#define HAVE_NL_TYPES_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TIMES_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_DECL_FGETC 1
#define HAVE_DECL_FSCANF 1
#define HAVE_DECL_OPTARG 1
#define HAVE_DECL_UNGETC 1
#define HAVE_DECL_VFPRINTF 1
#define HAVE_DECL_SYS_ERRLIST 1
#define HAVE_DECL_SYS_NERR 1
#define RETSIGTYPE void
#define HAVE_INTMAX_T 1
#define HAVE_LONG_DOUBLE 1
#define HAVE_LONG_LONG 1
#define HAVE_PTRDIFF_T 1
#define HAVE_QUAD_T 1
#define HAVE_UINT_LEAST32_T 1
#define HAVE_INTPTR_T 1
#define restrict __restrict
#define HAVE_ATTRIBUTE_CONST 1
#define HAVE_ATTRIBUTE_MALLOC 1
#define HAVE_ATTRIBUTE_MODE 1
#define HAVE_ATTRIBUTE_NORETURN 1
#define HAVE_ALLOCA_H 1
#define HAVE_ALLOCA 1
#define WANT_TMP_ALLOCA 1
#define HAVE_LIMB_LITTLE_ENDIAN 1
#define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1
#define HAVE_ALARM 1
#define HAVE_CLOCK 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETRUSAGE 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_LOCALECONV 1
#define HAVE_MEMSET 1
#define HAVE_MMAP 1
#define HAVE_MPROTECT 1
#define HAVE_NL_LANGINFO 1
#define HAVE_POPEN 1
#define HAVE_PROCESSOR_INFO 1
#define HAVE_RAISE 1
#define HAVE_SIGACTION 1
#define HAVE_SIGALTSTACK 1
#define HAVE_STRCHR 1
#define HAVE_STRERROR 1
#define HAVE_STRTOL 1
#define HAVE_STRTOUL 1
#define HAVE_SYSCONF 1
#define HAVE_SYSCTL 1
#define HAVE_SYSCTLBYNAME 1
#define HAVE_TIMES 1
#define HAVE_VSNPRINTF 1
#define GMP_MPARAM_H_SUGGEST "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/gmp/mpn/generic/gmp-mparam.h"
#define SIZEOF_VOID_P 8
#define SIZEOF_UNSIGNED_SHORT 2
#define SIZEOF_UNSIGNED 4
#define SIZEOF_UNSIGNED_LONG 8
#define SIZEOF_MP_LIMB_T 8
#define TUNE_SQR_TOOM2_MAX SQR_TOOM2_MAX_GENERIC
#define HAVE_STACK_T 1

configure: exit 0

Like before (referring to Github links), dependencies fail to make correct (for Rosetta) assumptions. When building gmp, isl and friends standalone, all is good, including on Rosetta. But I do not know how to fix them for Rosetta case.

comment:3 Changed 22 months ago by catap (Kirill A. Korinsky)

May I ask you to test https://github.com/catap/macports-ports/tree/gcc10-bootsrap ?

It may fix an issue.

comment:4 in reply to:  3 Changed 22 months ago by barracuda156

Replying to catap:

May I ask you to test https://github.com/catap/macports-ports/tree/gcc10-bootsrap ?

It may fix an issue.

Fails here:

/usr/bin/ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
/usr/bin/ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
/usr/bin/ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
/usr/bin/ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
libtool: link: ranlib .libs/libgmp.a
ranlib: file: .libs/libgmp.a(obprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obvprintf.o) has no symbols
ranlib: file: .libs/libgmp.a(obprntffuns.o) has no symbols
ranlib: file: .libs/libgmp.a(repl-vsnprintf.o) has no symbols
libtool: link: rm -fr .libs/libgmp.lax
libtool: link: ( cd ".libs" && rm -f "libgmp.la" && ln -s "../libgmp.la" "libgmp.la" )
make[5]: Leaving directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/gmp'
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/gmp'
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/gmp'
Configuring stage 1 in ./mpfr
Configuring stage 1 in ./isl
configure: creating cache ./config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
configure: creating cache ./config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/isl/./install-sh -c -d
checking for gawk... awk
checking whether /usr/bin/make sets $(MAKE)... checking for a thread-safe mkdir -p... /opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/mpfr/install-sh -c -d
checking for gawk... awk
checking whether /usr/bin/make sets $(MAKE)... yes
checking whether /usr/bin/make supports nested variables... yes
yes
checking whether /usr/bin/make supports nested variables... yes
checking whether /usr/bin/make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for powerpc-apple-darwin10-gcc... /usr/bin/gcc-4.2
checking build system type... powerpc-apple-darwin10
checking host system type... checking whether the C compiler works... powerpc-apple-darwin10
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking whether configure options are compatible... yes
checking for powerpc-apple-darwin10-gcc... /usr/bin/gcc-4.2
yes
checking for C compiler default output file name... a.out
checking for suffix of executables... checking whether the C compiler works... 
checking whether we are cross compiling... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... no
checking for suffix of object files... 
checking whether we are cross compiling... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... no
checking for suffix of object files... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... o
checking whether we are using the GNU C compiler... none needed
checking whether /usr/bin/gcc-4.2 understands -c and -o together... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... rm: conftest.dSYM: is a directory
yes
checking whether /usr/bin/make supports the include directive... yes (GNU style)
checking dependency style of /usr/bin/gcc-4.2... none needed
checking whether /usr/bin/gcc-4.2 understands -c and -o together... rm: conftest.dSYM: is a directory
yes
checking whether /usr/bin/make supports the include directive... gcc3
yes (GNU style)
checking dependency style of /usr/bin/gcc-4.2... checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.2 -std=gnu++98 accepts -g... gcc3
checking how to run the C preprocessor... yes
checking dependency style of /usr/bin/g++-4.2 -std=gnu++98... /usr/bin/gcc-4.2 -E
checking for powerpc-apple-darwin10-ar... ar
checking the archiver (ar) interface... gcc3
checking how to run the C preprocessor... ar
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/gcc-4.2 -E
/usr/bin/grep -F
checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... rm: conftest.dSYM: is a directory
BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... checking build system type... 196608
checking how to convert powerpc-apple-darwin10 file names to powerpc-apple-darwin10 format... func_convert_file_noop
checking how to convert powerpc-apple-darwin10 file names to toolchain format... func_convert_file_noop
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
checking for powerpc-apple-darwin10-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for powerpc-apple-darwin10-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for powerpc-apple-darwin10-ar... (cached) ar
checking for archiver @FILE support... powerpc-apple-darwin10
checking for powerpc-apple-darwin10-gcc... /usr/bin/gcc-4.2
rm: conftest.dSYM: is a directory
no
checking for powerpc-apple-darwin10-strip... no
checking for strip... strip
checking for powerpc-apple-darwin10-ranlib... ranlib
checking command to parse nm output from /usr/bin/gcc-4.2 object... rm: conftest.dSYM: is a directory
checking whether we are using the GNU C compiler... (cached) yes
/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/isl/configure: line 5363: test: =: unary operator expected
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking whether /usr/bin/gcc-4.2 understands -c and -o together... rm: conftest.dSYM: is a directory
yes
checking dependency style of /usr/bin/gcc-4.2... failed
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for powerpc-apple-darwin10-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for powerpc-apple-darwin10-dsymutil... dsymutil
checking for powerpc-apple-darwin10-nmedit... no
checking for nmedit... nmedit
checking for powerpc-apple-darwin10-lipo... no
checking for lipo... lipo
checking for powerpc-apple-darwin10-otool... otool
checking for powerpc-apple-darwin10-otool64... no
checking for otool64... no
checking for -single_module linker flag... gcc3
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... yes
checking for -exported_symbols_list linker flag... 
checking whether we are cross compiling... yes
checking for -force_load linker flag... no
checking for suffix of object files... o
checking how to run the C preprocessor... no
checking for ANSI C header files... /usr/bin/gcc-4.2 -E
checking for C compiler vendor... yes
checking for sys/types.h... yes
checking for sys/stat.h... gnu
checking host system type... yes
checking for stdlib.h... powerpc-apple-darwin10
checking whether the compiler supports function __attribute__((__warn_unused_result__))... yes
checking for __attribute__... yes
checking for string.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking whether /usr/bin/g++-4.2 -std=gnu++98 supports C++11 features by default... yes
checking for memory.h... no
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/gcc-4.2... yes
/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... checking for strings.h... rm: conftest.dSYM: is a directory
BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... yes
196608
checking for inttypes.h... checking how to convert powerpc-apple-darwin10 file names to powerpc-apple-darwin10 format... func_convert_file_noop
checking how to convert powerpc-apple-darwin10 file names to toolchain format... func_convert_file_noop
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
checking for powerpc-apple-darwin10-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for powerpc-apple-darwin10-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for powerpc-apple-darwin10-ar... ar
checking for archiver @FILE support... rm: conftest.dSYM: is a directory
yes
no
checking for powerpc-apple-darwin10-strip... no
checking for strip... strip
checking for powerpc-apple-darwin10-ranlib... ranlib
checking command to parse nm output from /usr/bin/gcc-4.2 object... rm: conftest.dSYM: is a directory
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... failed
checking for sysroot... no
checking for a working dd... yes
/bin/dd
checking how to truncate binary pipes... checking for objdir... .libs
/bin/dd bs=4096 count=1
checking for powerpc-apple-darwin10-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for powerpc-apple-darwin10-dsymutil... dsymutil
checking for powerpc-apple-darwin10-nmedit... no
checking for nmedit... nmedit
checking for powerpc-apple-darwin10-lipo... no
checking for lipo... lipo
checking for powerpc-apple-darwin10-otool... otool
checking for powerpc-apple-darwin10-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... yes
checking for -force_load linker flag... no
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/gcc-4.2 static flag -static works... no
checking if /usr/bin/gcc-4.2 supports -c -o file.o... no
checking for ANSI C header files... yes
checking if /usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for non-MS-Windows ICC... no
checking if the compiler understands -Wl,-search_paths_first... yes
checking for an ANSI C-conforming const... yes
checking for sys/types.h... yes
checking for working volatile... yes
checking for sys/stat.h... yes
checking whether byte ordering is bigendian... yes
checking for stdlib.h... yes
checking for string.h... no
checking for library containing clock_gettime... yes
checking for memory.h... no
yes
checking for main in -lm... checking for strings.h... yes
yes
checking for main in -lquadmath... checking for inttypes.h... no
checking whether time.h and sys/time.h may both be included... yes
checking for stdint.h... yes
checking for size_t... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking limits.h usability... yes
checking for objdir... yes
checking limits.h presence... .libs
yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for string.h... (cached) yes
checking locale.h usability... checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... yes
checking locale.h presence... no
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works... yes
checking for locale.h... yes
checking wchar.h usability... yes
checking if /usr/bin/gcc-4.2 static flag -static works... yes
checking wchar.h presence... no
checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
checking for wchar.h... yes
checking stdarg.h usability... yes
checking if /usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... yes
checking stdarg.h presence... darwin10 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
yes
checking for stdarg.h... yes
checking how to run the C++ preprocessor... checking sys/time.h usability... yes
checking sys/time.h presence... /usr/bin/g++-4.2 -std=gnu++98 -E
yes
checking for sys/time.h... yes
checking sys/fpu.h usability... no
checking sys/fpu.h presence... no
checking for sys/fpu.h... no
checking for struct lconv.decimal_point... yes
checking for struct lconv.thousands_sep... checking for ld used by /usr/bin/g++-4.2 -std=gnu++98... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking whether the /usr/bin/g++-4.2 -std=gnu++98 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
yes
checking for working alloca.h... checking for /usr/bin/g++-4.2 -std=gnu++98 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/g++-4.2 -std=gnu++98 PIC flag -fno-common -DPIC works... yes
checking for alloca... yes
checking if /usr/bin/g++-4.2 -std=gnu++98 static flag -static works... no
checking if /usr/bin/g++-4.2 -std=gnu++98 supports -c -o file.o... yes
checking for uintptr_t... yes
checking if /usr/bin/g++-4.2 -std=gnu++98 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/g++-4.2 -std=gnu++98 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10 dyld
checking how to hardcode library paths into programs... immediate
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for a Python interpreter with version >= 2.5... yes
checking how to copy va_list... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... va_copy
checking for setlocale... darwin
checking for python script directory... yes
checking for gettimeofday... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for cygpath... no
checking for perl... perl
checking for pdflatex... no
checking for pod2html... pod2html
checking for stdint types... yes
checking for signal... stdint.h (shortcircuit)
make use of stdint.h in include/isl/stdint.h (assuming C99 compatible system)
yes
checking for sigaction and its associated structure... yes
checking for long long int... yes
checking for intmax_t... yes
checking for working INTMAX_MAX... yes
checking for union fpc_csr... configure: gmp sources in /opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/gmp
checking which gmp to use... build
checking whether mp_get_memory_functions is declared... no
checking for _Noreturn... yes
no
checking for __builtin_unreachable... checking whether ffs is declared... yes
no
checking for constructor and destructor attributes... checking whether __builtin_ffs is declared... yes
checking whether _BitScanForward is declared... yes
checking for fesetround... no
checking whether strcasecmp is declared... yes
checking for gcc float-conversion bug... yes
checking whether strncasecmp is declared... yes
checking whether _stricmp is declared... no
checking for subnormal double-precision numbers... no
checking whether _strnicmp is declared... yes
checking for subnormal single-precision numbers... no
checking whether snprintf is declared... yes
checking whether _snprintf is declared... yes
checking for signed zeros... no
checking which clang to use... no
checking for C compiler vendor... (cached) gnu
checking our pkgconfig libname... isl
checking our pkgconfig version... 0.24
checking our pkgconfig_libdir... ${libdir}/pkgconfig
expanded our pkgconfig_libdir... /opt/local/libexec/gcc10-bootstrap/lib/pkgconfig
checking our pkgconfig_libfile... isl.pc
checking our package / suffix... isl / 
checking our pkgconfig description... isl Library
checking our pkgconfig requires... 
checking our pkgconfig ext libs... -lisl /opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/./gmp/libgmp.la
checking our pkgconfig cppflags... -I/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/gmp -I/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/./gmp
checking our pkgconfig ldflags... 
noninstalled pkgconfig -L /opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build/isl/.libs
noninstalled pkgconfig -I //opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/gcc-10.3.0/isl/include
yes
checking if the FP division by 0 fails... configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
no
checking if NAN == NAN... no
checking if charset has consecutive values... yes
checking for math/round... yes
checking for math/trunc... yes
checking for math/floor... yes
checking for math/ceil... yes
checking for math/nearbyint... yes
checking for _mulx_u64... no
checking format of floating-point type `double'... rm: conftest.dSYM: is a directory
IEEE double, big endian
checking format of floating-point type `long double'... rm: conftest.dSYM: is a directory
possibly double-double, big endian
configure: WARNING: This format is known on GCC/PowerPC platforms,
configure: WARNING: but due to GCC PR26374, we can't test further.
configure: WARNING: You can safely ignore this warning, though.
checking for TLS support using C11... no
checking for TLS support... no
checking if compiler knows _Decimal64... no
checking bit-field ordering for _Decimal128... unavailable or unknown
checking if _Float128 with hex constants is supported... no
checking if __float128 can be used as a fallback... no
checking for Static Assertion support... yes
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking for gmp.h... yes
checking for recent GMP... yes
checking usable gmp.h at link time... config.status: creating isl_srcdir.c
config.status: creating Makefile
yes
checking for GMP_NUMB_BITS and sizeof(mp_limb_t) consistency... config.status: creating doc/Makefile
config.status: creating bound_test.sh
config.status: creating codegen_test.sh
no
configure: error: GMP_NUMB_BITS and sizeof(mp_limb_t) are not consistent.
You probably need to change some of the GMP or MPFR compile options.
See 'config.log' for details (search for GMP_NUMB_BITS).
config.status: creating pip_test.sh
config.status: creating flow_test.sh
config.status: creating schedule_test.sh
make[2]: *** [configure-stage1-mpfr] Error 1
make[2]: *** Waiting for unfinished jobs....
config.status: creating isl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include/isl/stdint.h commands
config.status: creating include/isl/stdint.h : _ISL_INCLUDE_ISL_STDINT_H
config.status: executing isl.pc commands
config.status: creating isl.pc.in
config.status: creating isl.pc
config.status: creating isl-uninstalled.pc
config.status: creating isl-uninstalled.sh
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build'
make: *** [bootstrap-lean] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_gcc10-bootstrap/gcc10-bootstrap/work/build" && /usr/bin/make -j6 -w bootstrap-lean 
Exit code: 2
Version 1, edited 22 months ago by barracuda156 (previous) (next) (diff)

comment:5 Changed 21 months ago by catap (Kirill A. Korinsky)

This issue seems as good place for notes.

The root cause of this issue that it tries to build gmp as:

  Host type:         none-apple-darwin10
  ABI:               standard

because Makefile.in is overwrite provided host and target to none-bla-bla like that:

	$(SHELL) \
	  $$s/$$module_srcdir/configure \
	  --srcdir=$${topdir}/$$module_srcdir \
	  $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
	  --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
	  || exit 1

anyway, I may make a patch that removes this that won't solve an issue because GMP requires host to be specified up to target processor, see: https://github.com/macports/macports-ports/blob/43fc13d3e82f99ed563c4564cc6946ed75e75674/devel/gmp/Portfile#L117-L121

Thus, such setup brokes GCC :)

And to make things more tricky, GMP resets all provided CFLAGS and CXXFLAGS on configure stage, and without -arch it fails with error

checking if the assembler needs r on registers... configure: error: neither "mtctr 6" nor "mtctr r6" works

because gcc-4.2 on 10.6 builds x86_64 by default, and not ppc :)

comment:6 Changed 21 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In eb9faa73e32d6da15b0d0ce8f374017557a0ff90/macports-ports (master):

gcc10-bootstrap: fix build on Rosetta

Closes: #65498

Note: See TracTickets for help on using tickets.