[MacPorts] #63148: gcc11 on arm64 is completely broken: non-functional due to linking error

MacPorts noreply at macports.org
Tue Aug 3 13:15:01 UTC 2021


#63148: gcc11 on arm64 is completely broken: non-functional due to linking error
-------------------------------+----------------------
  Reporter:  jeffrey-hokanson  |      Owner:  (none)
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.7.1
Resolution:                    |   Keywords:  arm64
      Port:  gcc11             |
-------------------------------+----------------------

Comment (by michaelld):

 @kencu : is this what you're looking for? If not, please provide code to
 test.

 {{{
 % uname -a
 Darwin Mac-Mini-M1 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23
 00:26:27 PDT 2021; root:xnu-7195.141.2~5/RELEASE_ARM64_T8101 arm64

 % cat hello_world.c
 #include <stdio.h>

 int main ()
 {
   printf ("hello world!\n");
   return (0);
 }

 % gcc-mp-devel -o hello_world -Wall hello_world.c

 % ./hello_world
 hello world!

 % otool -L hello_world
 hello_world:
         @rpath/libgcc_s.1.1.dylib (compatibility version 1.0.0, current
 version 1.1.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1292.100.5)
 }}}

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


More information about the macports-tickets mailing list