[MacPorts] #68322: libgcc12 @12.3.0: ld: library not found for -ld_classic

MacPorts noreply at macports.org
Mon Oct 2 13:51:04 UTC 2023


#68322: libgcc12 @12.3.0: ld: library not found for -ld_classic
-----------------------+--------------------
  Reporter:  k6wx      |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:
      Port:  libgcc12  |
-----------------------+--------------------

Comment (by cjones051073):

 I cannot reproduce ld_classic not working for x86_64 on my arm system here
 (Xcode15 macOS13)

 {{{
 > clang++ -std=c++17 -O3 -Wl,-ld_classic -o a.arm64.out ./test.cpp
 > arch -x86_64 clang++ -std=c++17 -O3 -Wl,-ld_classic -o a.x86_64.out
 ./test.cpp
 > file a.*.out
 a.arm64.out:  Mach-O 64-bit executable arm64
 a.x86_64.out: Mach-O 64-bit executable x86_64
 }}}

 Please try the above with the test file I will attach next..

-- 
Ticket URL: <https://trac.macports.org/ticket/68322#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list