[MacPorts] #35784: clang-3.2 build fails complaining "can't be weak reference"
#35784: clang-3.2 build fails complaining "can't be weak reference" --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: clang-3.2 --------------------------------+------------------------------------------- Mac OS X 10.6.8 2.7 GHz Intel Core i7 -- Ticket URL: <https://trac.macports.org/ticket/35784> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35784: clang-3.2 build fails complaining "can't be weak reference" --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: clang-3.2 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… -- Ticket URL: <https://trac.macports.org/ticket/35784#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35784: clang-3.2 build fails complaining "can't be weak reference" --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: clang-3.2 --------------------------------+------------------------------------------- Comment(by jeremyhu@…): Weird... -- Ticket URL: <https://trac.macports.org/ticket/35784#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35784: clang-3.2 build fails complaining "can't be weak reference" --------------------------------+------------------------------------------- Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: clang-3.2 --------------------------------+------------------------------------------- Comment(by deesto@…): My log attached, also on 10.6.8, with "can't be a weak_definition" error. -- Ticket URL: <https://trac.macports.org/ticket/35784#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35784: clang-3.2 build fails complaining "can't be weak reference" ---------------------------------+------------------------------------------ Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: clang-3.2 | ---------------------------------+------------------------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: http://llvm.org/bugs/show_bug.cgi?id=13777 r97523 -- Ticket URL: <https://trac.macports.org/ticket/35784#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35784: clang-3.2 build fails complaining "can't be weak reference" ---------------------------------+------------------------------------------ Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: clang-3.2 | ---------------------------------+------------------------------------------ Comment(by deesto@…): A patch was proposed, but not yet verified. And I can't get the port to build after applying the proposed patch to the current code base fails (the patch file itself fails, but it's simple enough to apply the changes manually). Perhaps I'm patching the wrong file: {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_clang-3.2/clang-3.2/work/trunk/tools/clang/tools /clang-check/ClangCheck.cpp }}} ... or not properly attempting to build the port: {{{ sudo port build clang-3.2 }}} -- Ticket URL: <https://trac.macports.org/ticket/35784#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35784: clang-3.2 build fails complaining "can't be weak reference" ---------------------------------+------------------------------------------ Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: clang-3.2 | ---------------------------------+------------------------------------------ Comment(by jeremyhu@…): deetso, the changes are committed. You should just port sync and install it... -- Ticket URL: <https://trac.macports.org/ticket/35784#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35784: clang-3.2 build fails complaining "can't be weak reference" ------------------------+------------------------ Reporter: stephen@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: clang-3.2 | ------------------------+------------------------ Comment (by deesto@…): ''This is a completely different and unrelated error that you're seeing now:'' {{{ ld: -L must be immediately followed by a directory path (no space) clang: error: linker command failed with exit code 1 (use -v to see invocation) }}} ''Can you figure out what is being passed to the linker?'' No, but if you have any ideas on how to gather that information, I'll be glad to give it a try? -- Ticket URL: <https://trac.macports.org/ticket/35784#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts