[MacPorts] #47996: libgcc @5.1.0_1: build fails with clang from Xcode 4.0.1 (out-of-line definition of '...' does not match any declaration in '...')

MacPorts noreply at macports.org
Mon Jun 8 21:21:51 PDT 2015


#47996: libgcc @5.1.0_1: build fails with clang from Xcode 4.0.1 (out-of-line
definition of '...' does not match any declaration in '...')
--------------------------+-------------------
 Reporter:  ryandesign@…  |      Owner:  mww@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.3
 Keywords:                |       Port:  gcc5
--------------------------+-------------------
 libgcc @5.1.0_1 fails to build on OS X 10.6 with the old version of clang
 in Xcode 4.0.1, but works with MacPorts clang 3.4:
 https://lists.macosforge.org/pipermail/macports-dev/2015-June/030778.html

 {{{
 :info:build In file included from
 /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc/work/gcc-5.1.0/gcc/genmatch.c:32:
 :info:build
 /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc/work/gcc-5.1.0/gcc
 /hash-table.h:1047:43: error: out-of-line definition of
 'traverse_noresize' does not match any declaration in 'hash_table<type-
 parameter-0-0, Allocator, 0>'
 :info:build hash_table<Descriptor, Allocator, false>::traverse_noresize
 (Argument argument)
 :info:build ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 :info:build
 /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc/work/gcc-5.1.0/gcc
 /hash-table.h:1073:43: error: out-of-line definition of 'traverse' does
 not match any declaration in 'hash_table<type-parameter-0-0, Allocator,
 0>'
 :info:build hash_table<Descriptor, Allocator, false>::traverse (Argument
 argument)
 :info:build ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 :info:build
 /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc/work/gcc-5.1.0/gcc
 /hash-table.h:1623:42: error: out-of-line definition of
 'traverse_noresize' does not match any declaration in 'hash_table<type-
 parameter-0-0, Allocator, 1>'
 :info:build hash_table<Descriptor, Allocator, true>::traverse_noresize
 (Argument argument)
 :info:build ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 :info:build
 /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc5/libgcc/work/gcc-5.1.0/gcc
 /hash-table.h:1649:42: error: out-of-line definition of 'traverse' does
 not match any declaration in 'hash_table<type-parameter-0-0, Allocator,
 1>'
 :info:build hash_table<Descriptor, Allocator, true>::traverse (Argument
 argument)
 :info:build ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 }}}

 So we should blacklist old clang, using the compiler_blacklist_versions
 portgroup. We should test whether the clang from Xcode versions 4.2, 4.1
 or 4.0.2 works, so that we'll know how far back the clang blacklist needs
 to go. We'll also have to see which of the gcc ports need this blacklist.

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


More information about the macports-tickets mailing list