[MacPorts] #45984: gcc48, gcc49: depends on cloog but doesn't link with it

MacPorts noreply at macports.org
Sat Nov 22 02:59:07 PST 2014


#45984: gcc48, gcc49: depends on cloog but doesn't link with it
--------------------------+--------------------------
 Reporter:  ryandesign@…  |      Owner:  mww@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.99
 Keywords:                |       Port:  gcc48, gcc49
--------------------------+--------------------------
 I have these versions of gcc installed:

 {{{
 $ port -v installed gcc5 gcc46 gcc47 gcc48 gcc49 libgcc-devel
 The following ports are currently installed:
   gcc5 @5-20141116_0+universal (active) platform='darwin 14' archs='i386
 x86_64'
   gcc46 @4.6.4_7+universal (active) platform='darwin 14' archs='i386
 x86_64'
   gcc47 @4.7.4_3+universal (active) platform='darwin 14' archs='i386
 x86_64'
   gcc48 @4.8.3_2+universal (active) platform='darwin 14' archs='i386
 x86_64'
   gcc49 @4.9.2_0+universal (active) platform='darwin 14' archs='i386
 x86_64'
   libgcc-devel @5-20141116_0+universal (active) platform='darwin 14'
 archs='i386 x86_64'
 }}}

 gcc46, gcc47, gcc48 and gcc49 depend on cloog, which depends on isl.

 gcc46 and gcc47 link with those libraries:

 {{{
 $ port -q contents gcc46 | xargs otool -L | grep -E '(cloog|isl)' | sort
 -u
         /opt/local/lib/libcloog-isl.4.dylib (compatibility version 5.0.0,
 current version 5.0.0)
         /opt/local/lib/libisl.13.dylib (compatibility version 15.0.0,
 current version 15.0.0)
 }}}

 {{{
 $ port -q contents gcc47 | xargs otool -L | grep -E '(cloog|isl)' | sort
 -u
         /opt/local/lib/libcloog-isl.4.dylib (compatibility version 5.0.0,
 current version 5.0.0)
         /opt/local/lib/libisl.13.dylib (compatibility version 15.0.0,
 current version 15.0.0)
 }}}

 gcc48 and gcc49 don't link with them:

 {{{
 $ port -q contents gcc48 | xargs otool -L | grep -E '(cloog|isl)' | sort
 -u
 error: otool: can't open file: /opt/local/lib/gcc48/i386/libasan.0.dylib
 (No such file or directory)
 error: otool: can't open file: /opt/local/lib/gcc48/i386/libasan.dylib (No
 such file or directory)
 error: otool: can't open file: /opt/local/lib/gcc48/libasan.0.dylib (No
 such file or directory)
 error: otool: can't open file: /opt/local/lib/gcc48/libasan.dylib (No such
 file or directory)
 }}}

 {{{
 $ port -q contents gcc49 | xargs otool -L | grep -E '(cloog|isl)' | sort
 -u
 }}}

 When I updated gcc5 I changed its dependency and configure arguments to
 reference isl only, which is what it links with:

 {{{
 $ port -q contents gcc5 | xargs otool -L | grep -E '(cloog|isl)' | sort -u
         /opt/local/lib/libisl.13.dylib (compatibility version 15.0.0,
 current version 15.0.0)
 }}}

 Based on the above, I think we need to change gcc48 and gcc49 but I do not
 know if they should be using cloog or isl or neither.

-- 
Ticket URL: <https://trac.macports.org/ticket/45984>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list