pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lang/gcc12 build failure on macOS 15



Dear all,

 

I got the following error message when building lang/R on macOS 15.2, and it appears to be an issue with lang/gcc12.

 

Undefined symbols for architecture x86_64:

  "___deregister_frame_info", referenced from:

      <initial-undefines>

  "___deregister_frame_info_bases", referenced from:

      <initial-undefines>

  "___register_frame_info", referenced from:

      <initial-undefines>

  "___register_frame_info_bases", referenced from:

      <initial-undefines>

  "___register_frame_info_table", referenced from:

      <initial-undefines>

  "___register_frame_info_table_bases", referenced from:

      <initial-undefines>

  "___register_frame_table", referenced from:

      <initial-undefines>

ld: symbol(s) not found for architecture x86_64

collect2: error: ld returned 1 exit status

gmake[2]: *** [../../../gcc-12.4.0/libgcc/config/t-slibgcc-darwin:139: libgcc_s.1.dylib] Error 1

gmake[2]: Leaving directory '/Users/qys/Projects/pkgsrc/lang/gcc12/work/build/x86_64-apple-darwin24/libgcc'

gmake[1]: *** [Makefile:15013: all-target-libgcc] Error 2

gmake[1]: Leaving directory '/Users/qys/Projects/pkgsrc/lang/gcc12/work/build'

gmake: *** [Makefile:1039: all] Error 2

*** Error code 2

 

Stop.

bmake[3]: stopped making "reinstall" in /Users/qys/Projects/pkgsrc/lang/gcc12

*** Error code 1

 

Stop.

bmake[2]: stopped making "reinstall" in /Users/qys/Projects/pkgsrc/lang/gcc12

*** Error code 1

 

Stop.

bmake[1]: stopped making "reinstall" in /Users/qys/Projects/pkgsrc/devel/libtool-fortran

*** Error code 1

 

Stop.

bmake: stopped making "install" in /Users/qys/Projects/pkgsrc/math/R

 

I dug around a little bit and saw a CVS commit on 2024-12-15 that fixes this issue, but the commit appears to be reverted in 2024-12-20 to address build failure on Darwin/aarch64: https://pkgsrc.se/lang/gcc12. I wonder if there is a workaround to this issue before it’s fixed once and for all?

 

 

Bests,

Qingyao



Home | Main Index | Thread Index | Old Index