[MacPorts] #31469: Cairo build problem : Unknown instruction for architecture x86_64
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ---------------------------------+------------------------------------------ Reporter: madduluri@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: architecture x86_64 | Port: cairo ---------------------------------+------------------------------------------ While installing cairo on Lion, the build broke with the following error: :info:build ld: lto: could not merge in .libs/cairo-analysis-surface.o because Unknown instruction for architecture x86_64 The whole log file is attached. -- Ticket URL: <https://trac.macports.org/ticket/31469> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ---------------------------------+------------------------------------------ Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: x86_64 | Port: cairo ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * keywords: architecture x86_64 => x86_64 Old description:
While installing cairo on Lion, the build broke with the following error: :info:build ld: lto: could not merge in .libs/cairo-analysis-surface.o because Unknown instruction for architecture x86_64
The whole log file is attached.
New description: While installing cairo on Lion, the build broke with the following error: {{{ :info:build ld: lto: could not merge in .libs/cairo-analysis-surface.o because Unknown instruction for architecture x86_64 }}} The whole log file is attached. -- -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ---------------------------------+------------------------------------------ Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: x86_64 | Port: cairo ---------------------------------+------------------------------------------ Comment(by ryandesign@…): As a workaround, use: {{{ sudo port clean cairo sudo port install cairo configure.compiler=gcc-4.2 }}} -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ---------------------------------+------------------------------------------ Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: x86_64 | Port: cairo ---------------------------------+------------------------------------------ Comment(by andrew@…): With both llvm-gcc-4.2 and gcc-4.2 I receive the same error. -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ---------------------------------+------------------------------------------ Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: x86_64 | Port: cairo ---------------------------------+------------------------------------------ Comment(by andrew@…): Replying to [comment:3 andrew@…]:
With both llvm-gcc-4.2 and gcc-4.2 I receive the same error. (see attached main.2.log)
-- Ticket URL: <https://trac.macports.org/ticket/31469#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ---------------------------------+------------------------------------------ Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: x86_64 | Port: cairo ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Andrew, can you show me the log with gcc-4.2? -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ---------------------------------+------------------------------------------ Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: x86_64 | Port: cairo ---------------------------------+------------------------------------------ Comment(by andrew@…): Actually, looks like I was wrong. I only have llvm-gcc-4.2, and not straight gcc-4.2. Currently running Xcode 4.2 Developer Preview 7. -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ---------------------------------+------------------------------------------ Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: x86_64 | Port: cairo ---------------------------------+------------------------------------------ Comment(by ryandesign@…): In that case, please try: {{{ sudo port clean cairo sudo port install apple-gcc42 sudo port install cairo configure.compiler=apple-gcc-4.2 }}} -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ---------------------------------+------------------------------------------ Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: x86_64 | Port: cairo ---------------------------------+------------------------------------------ Comment(by andrew@…): Replying to [comment:8 ryandesign@…]:
In that case, please try: {{{ sudo port clean cairo sudo port install apple-gcc42 sudo port install cairo configure.compiler=apple-gcc-4.2 }}}
Works perfectly. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ----------------------------------+----------------------------------------- Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: x86_64 Port: cairo | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r84835. -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ----------------------------------+----------------------------------------- Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: x86_64 Port: cairo | ----------------------------------+----------------------------------------- Comment(by jmr@…): Someone's going to file a radar about this, I hope? -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ----------------------------------+----------------------------------------- Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: x86_64 Port: cairo | ----------------------------------+----------------------------------------- Comment(by ryandesign@…): I would recommend that the person using the developer preview of Xcode 4.2 do so, since I would be nothing more than a middleman. The address to report bugs to Apple is http://bugreport.apple.com/ -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ----------------------------------+----------------------------------------- Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: x86_64 Port: cairo | ----------------------------------+----------------------------------------- Comment(by andrew@…): I'm happy to - as I'm not overly familiar with what Apple requires for these sorts of things, do I just include the output log and suggest that the llvm-gcc-4.2 compiler is broken? -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ----------------------------------+----------------------------------------- Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: x86_64 Port: cairo | ----------------------------------+----------------------------------------- Comment(by ryandesign@…): When you create a new problem report on their site, there will be a number of fields to fill out. You'll probably also want to attach a log of the problem and your system profile, so they know what version of OS X and Xcode you're using. -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ----------------------------------+----------------------------------------- Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: x86_64 Port: cairo | ----------------------------------+----------------------------------------- Comment(by andrew@…): Bug filed, radar # 10222197 -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31469: Cairo build problem : Unknown instruction for architecture x86_64 ----------------------------------+----------------------------------------- Reporter: madduluri@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: x86_64 Port: cairo | ----------------------------------+----------------------------------------- Comment(by raimue@…): See follow-up in comment:ticket:32811:3 -- Ticket URL: <https://trac.macports.org/ticket/31469#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts