[MacPorts] #65055: libgcc11 11.3.0 update has removed libgcc_ext.10.[4-5].dylib

MacPorts noreply at macports.org
Wed Feb 8 01:37:22 UTC 2023


#65055: libgcc11 11.3.0 update has removed libgcc_ext.10.[4-5].dylib
-------------------------------------------------+-------------------------
  Reporter:  Serge3leo                           |      Owner:  Chris Jones
                                                 |  <jonesc@…>
      Type:  defect                              |     Status:  reopened
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.7.2
Resolution:                                      |   Keywords:
      Port:  libgcc11, gcc6, gcc7, gcc8, gcc9,   |
  gcc10                                          |
-------------------------------------------------+-------------------------

Comment (by kencu):

 so
 {{{
  0:20.74 js/src> configure:8144: checking for -dead_strip option to ld
  0:20.74 js/src> configure:8155: /opt/local/bin/ccache clang-mp-15
 -march=corei7 -mtune=corei7 -o conftest  -isysroot
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=gnu99 -fno-
 common -Qunused-arguments   -lobjc -Wl,-dead_strip conftest.c  1>&5
  0:20.74 js/src> ld: library not found for -lgcc_s.10.5
  0:20.74 js/src> clang: error: linker command failed with exit code 1 (use
 -v to see invocation)
 }}}

 clang-mp-15 should not be looking for any version of libgcc, at all when
 trying to drive this link, unless something weird is going on.

 You are on what exact system? What is the deployment target set to (env
 var or other)?

 I note you are not setting the -stdlib=libXYZ option, so I am not sure
 what stdlib you are trying to / hoping to build aginst. The call for
 libgcc_s.10.5 suggests libstdc++ is being called in (some version of it,
 either system or macports version). That is probably wrong, although might
 be what you are after?

 You do need to nail these things right down when you're going off-
 defaults. Spec them all.

 Add a {{{-W,-v}}} to the build line to see what the linker is thinking it
 is trying to do here.

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


More information about the macports-tickets mailing list