[MacPorts] #65084: libgcc10 @10.3.0_4: build failure: Undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Thu Apr 28 18:52:12 UTC 2022


#65084: libgcc10 @10.3.0_4: build failure: Undefined symbols for architecture
x86_64
-----------------------+----------------------
 Reporter:  macdeport  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.7.2
 Keywords:             |       Port:  libgcc10
-----------------------+----------------------
 {{{
 :info:build make[3]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc10/libgcc10/work/build/gcc'
 :info:build /opt/local/bin/clang++-mp-14 -arch x86_64 -std=gnu++98   -g
 -DIN_GCC -fPIC   -fno-strict-aliasing -fno-exceptions -fno-rtti
 -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
 -Wcast-qual -Wno-error=format-diag -Wno-format -Wmissing-format-attribute
 -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-
 overlength-strings -fno-common  -DHAVE_CONFIG_H  -DGENERATOR_FILE -fno-PIE
 -Wl,-no_pie -L/opt/local/lib -Wl,-headerpad_max_install_names -no-pie -o
 build/gencondmd \
 :info:build         build/gencondmd.o build/errors.o ../build-x86_64
 -apple-darwin14/libiberty/pic/libiberty.a
 :info:build clang: warning: argument unused during compilation: '-no-pie'
 [-Wunused-command-line-argument]
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_cfun", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_const_int_rtx", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_const_tiny_rtx", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_epilogue_completed", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_flag_cf_protection", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_flag_finite_math_only", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_flag_fp_int_builtin_inexact", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_flag_pic", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_flag_rounding_math", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_flag_trapping_math", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_flag_unsafe_math_optimizations", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_insn", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_ix86_arch_features", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_ix86_cmodel", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_ix86_excess_precision", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_ix86_fpmath", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_ix86_isa_flags", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_ix86_isa_flags2", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_ix86_pmode", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_ix86_tls_dialect", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_ix86_tune_features", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_ix86_unsafe_math_optimizations", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_operands", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_reload_completed", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_reload_in_progress", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_rtx_class", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_target_flags", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build   "_x86_prefetch_sse", referenced from:
 :info:build       ___cxx_global_var_init.101 in gencondmd.o
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[3]: *** [build/gencondmd] Error 1
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc10/libgcc10/work/build/gcc'
 :info:build make[2]: *** [all-stage1-gcc] Error 2
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc10/libgcc10/work/build'
 :info:build make[1]: *** [stage1-bubble] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc10/libgcc10/work/build'
 :info:build make: *** [bootstrap-lean] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc10/libgcc10/work/build'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc10/libgcc10/work/build"
 && /usr/bin/make -j8 -w bootstrap-lean
 :info:build Exit code: 2
 :error:build Failed to build libgcc10: command execution failed
 :debug:build Error code: CHILDSTATUS 58419 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc10/libgcc10/main.log
 for details.

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65084>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list