[MacPorts] #43977: llvm-3.2 Build Error in CodeExtractor.cpp:751
#43977: llvm-3.2 Build Error in CodeExtractor.cpp:751 --------------------------+-------------------------------- Reporter: ddmarshall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Keywords: | Port: llvm-3.2 --------------------------+-------------------------------- I tried to upgrade llvm-3.2 and I got the following error: {{{ :info:build CodeExtractor.cpp:751:28: error: no matching constructor for initialization of 'std::vector<BasicBlock *>' :info:build std::vector<BasicBlock*> Succs(succ_begin(codeReplacer), :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ }}} I've attached the entire build log file. This was using XCode Version 5.1.1 (5B1008) on OS X Mavericks (10.9.3). I don't know if other OS/Compiler variations will produce this error. -- Ticket URL: <https://trac.macports.org/ticket/43977> MacPorts <http://www.macports.org/> Ports system for OS X
#43977: llvm-3.2 Build Error in CodeExtractor.cpp:751 ---------------------------+------------------------ Reporter: ddmarshall@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: llvm-3.2 | ---------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… -- Ticket URL: <https://trac.macports.org/ticket/43977#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43977: llvm-3.2 Build Error in CodeExtractor.cpp:751 ---------------------------+------------------------ Reporter: ddmarshall@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: llvm-3.2 | ---------------------------+------------------------ Comment (by jeremyhu@…): {{{ :info:build CodeExtractor.cpp:751:28: error: no matching constructor for initialization of 'std::vector<BasicBlock *>' :info:build std::vector<BasicBlock*> Succs(succ_begin(codeReplacer), :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:524:5: note: candidate constructor not viable: no known conversion from 'succ_iterator' (aka 'SuccIterator<llvm::TerminatorInst *, llvm::BasicBlock>') to 'size_type' (aka 'unsigned long') for 1st argument :info:build vector(size_type __n, const_reference __x); :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:569:5: note: candidate constructor not viable: no known conversion from 'succ_iterator' (aka 'SuccIterator<llvm::TerminatorInst *, llvm::BasicBlock>') to 'const std::__1::vector<llvm::BasicBlock *, std::__1::allocator<llvm::BasicBlock *> >' for 1st argument :info:build vector(const vector& __x, const allocator_type& __a); :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:528:35: note: candidate template ignored: disabled by 'enable_if' [with _InputIterator = llvm::SuccIterator<llvm::TerminatorInst *, llvm::BasicBlock>] :info:build typename enable_if<__is_input_iterator <_InputIterator>::value && :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:543:35: note: candidate template ignored: disabled by 'enable_if' [with _ForwardIterator = llvm::SuccIterator<llvm::TerminatorInst *, llvm::BasicBlock>] :info:build typename enable_if<__is_forward_iterator<_ForwardIterator>::value && :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:535:9: note: candidate constructor template not viable: requires at least 3 arguments, but 2 were provided :info:build vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a, :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:549:9: note: candidate constructor template not viable: requires at least 3 arguments, but 2 were provided :info:build vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a, :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:506:5: note: candidate constructor not viable: requires 0 arguments, but 2 were provided :info:build vector() :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:513:40: note: candidate constructor not viable: requires single argument '__a', but 2 arguments were provided :info:build _LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a) :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:520:14: note: candidate constructor not viable: requires single argument '__n', but 2 arguments were provided :info:build explicit vector(size_type __n); :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:525:5: note: candidate constructor not viable: requires 3 arguments, but 2 were provided :info:build vector(size_type __n, const_reference __x, const allocator_type& __a); :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:568:5: note: candidate constructor not viable: requires single argument '__x', but 2 arguments were provided :info:build vector(const vector& __x); :info:build ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/43977#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43977: llvm-3.2 Build Error in CodeExtractor.cpp:751 ---------------------------+------------------------ Reporter: ddmarshall@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: llvm-3.2 | ---------------------------+------------------------ Comment (by jeremyhu@…): https://github.com/Homebrew/homebrew-versions/issues/384 https://groups.google.com/forum/#!topic/llvm-dev/thxzvdwVazA -- Ticket URL: <https://trac.macports.org/ticket/43977#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43977: llvm-3.2 Build Error in CodeExtractor.cpp:751 ---------------------------+------------------------ Reporter: ddmarshall@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: llvm-3.2 | ---------------------------+------------------------ Comment (by jeremyhu@…): Is there any particular reason why people need 3.2? I'd rather just not fix this and go back to only supporting 3.3 and later on Mavericks. -- Ticket URL: <https://trac.macports.org/ticket/43977#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43977: llvm-3.2 Build Error in CodeExtractor.cpp:751 ---------------------------+------------------------ Reporter: ddmarshall@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: llvm-3.2 | ---------------------------+------------------------ Comment (by ddmarshall@…): I would prefer a fix to this so that I can perform build tests for my own code with 3.2 while in Mavericks, but I cannot call it a need for 3.2. Ending support of 3.2 on Mavericks is an acceptable resolution. -- Ticket URL: <https://trac.macports.org/ticket/43977#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#43977: llvm-3.2 Build Error in CodeExtractor.cpp:751 ---------------------------+------------------------ Reporter: ddmarshall@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: llvm-3.2 | ---------------------------+------------------------ Comment (by ryandesign@…): Has duplicates #44280, #44356, #44801. -- Ticket URL: <https://trac.macports.org/ticket/43977#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#43977: llvm-3.2 Build Error in CodeExtractor.cpp:751 ---------------------------+------------------------ Reporter: ddmarshall@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: fixed | Keywords: Port: llvm-3.2 | ---------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r124829 -- Ticket URL: <https://trac.macports.org/ticket/43977#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts