Opened 3 years ago

Closed 3 years ago

#65053 closed defect (duplicate)

gcc10 @10.3.0_2: error: linker command failed with exit code 1

Reported by: macdeport Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: gcc10

Description

: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]: *** Waiting for unfinished jobs....

Attachments (1)

main.log.zip (102.2 KB) - added by macdeport 3 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc10/gcc10/main.log

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by macdeport

Attachment: main.log.zip added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc10/gcc10/main.log

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Keywords: gcc10 removed
Port: gcc10 added

comment:2 Changed 3 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.