Opened 2 years ago

Last modified 2 years ago

#65415 closed defect

libgcc9 @9.5.0_1: builds fail on 10.8, 10.9, 10.10 — at Version 6

Reported by: chillin- Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: chillin-, macdeport, mascguy (Christopher Nielsen)
Port: libgcc9

Description (last modified by mascguy (Christopher Nielsen))

Undefined symbols for architecture x86_64:
  "_cfun", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_epilogue_completed", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_cf_protection", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_finite_math_only", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_fp_int_builtin_inexact", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_peephole2", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_pic", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_rounding_math", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_trapping_math", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_unsafe_math_optimizations", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_insn", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_arch_features", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_cmodel", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_fpmath", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_isa_flags", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_isa_flags2", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_pmode", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_tls_dialect", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_tune_features", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_operands", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_optimize", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_reload_completed", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_reload_in_progress", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_rtx_class", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_target_flags", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_this_target_flag_state", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_x86_prefetch_sse", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
ld: symbol(s) not found for architecture x86_64

https://ports.macports.org/port/libgcc9/builds/

Change History (8)

Changed 2 years ago by chillin-

Attachment: main.log added

libgcc build main.log

comment:1 Changed 2 years ago by chillin-

Cc: chillin- added

comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: mountainlion added; libgcc9 removed
Summary: libgcc9 9.5.0_1 build fail on Mountain Lionlibgcc9 @9.5.0_1: build fail on Mountain Lion

The relevant errors in the log are:

Undefined symbols for architecture x86_64:
  "_cfun", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_epilogue_completed", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_cf_protection", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_finite_math_only", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_fp_int_builtin_inexact", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_peephole2", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_pic", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_rounding_math", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_trapping_math", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_flag_unsafe_math_optimizations", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_insn", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_arch_features", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_cmodel", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_fpmath", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_isa_flags", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_isa_flags2", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_pmode", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_tls_dialect", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_ix86_tune_features", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_operands", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_optimize", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_reload_completed", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_reload_in_progress", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_rtx_class", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_target_flags", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_this_target_flag_state", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
  "_x86_prefetch_sse", referenced from:
      ___cxx_global_var_init.99 in gencondmd.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [build/gencondmd] Error 1

comment:3 Changed 2 years ago by macdeport

Cc: macdeport added

Changed 2 years ago by macdeport

libgcc9 build darwin_14.x86_64 (Yosemite) main.log

comment:4 Changed 2 years ago by macdeport

Build fail too on Yosemite but maybe for another reason.

comment:5 Changed 2 years ago by kencu (Ken)

it's BBAAACCCKKK !

The recurrent problem with touchy gencondmd.c build failures, eg: 64316

and other similar tickets. Something about this file is always the canary in the coal mine for gcc builds.

comment:6 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Description: modified (diff)
Keywords: mountainlion removed
Owner: set to cjones051073
Status: newassigned
Summary: libgcc9 @9.5.0_1: build fail on Mountain Lionlibgcc9 @9.5.0_1: builds fail on 10.8, 10.9, 10.10
Note: See TracTickets for help on using tickets.