[MacPorts] #34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile -----------------------------------+---------------------------------------- Reporter: seanmeir@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 2.1.0 Keywords: fail, suffix, compile | Port: avr-gcc -----------------------------------+---------------------------------------- I tried to sudo port install avr-gcc on, Darwin qi 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64 and I keep getting the error, configure: error: cannot compute suffix of object files: cannot compile main.log attached. -- Ticket URL: <https://trac.macports.org/ticket/34508> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile -----------------------------------+---------------------------------------- Reporter: seanmeir@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 2.1.0 Keywords: fail, suffix, compile | Port: avr-gcc -----------------------------------+---------------------------------------- Comment(by seanmeir@…): I just updated to 2.1.1 and the same error occurred. -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Changes (by ryandesign@…): * priority: Low => Normal * owner: macports-tickets@… => g5pw@… * keywords: fail, suffix, compile => Old description:
I tried to
sudo port install avr-gcc
on,
Darwin qi 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
and I keep getting the error,
configure: error: cannot compute suffix of object files: cannot compile
main.log attached.
New description: I tried to {{{ sudo port install avr-gcc }}} on, {{{ Darwin qi 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64 }}} and I keep getting the error, {{{ configure: error: cannot compute suffix of object files: cannot compile }}} main.log attached. -- -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Changes (by g5pw@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by seanmeir@…): Line 111 of config.log: conftest.c:16:1: internal compiler error: in execute_ipa_pass_list, at passes.c:2449 -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by titus@…): On my 10.7 system avr-gcc can be built (and as far as I tested it, it generates code that is identical to what a Linux cross compiler emits). {{{ $ xcodebuild -version Xcode 4.3 Build version 4E109 $ llvm-gcc -v gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00) }}} -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by seanmeir@…): {{{ $xcodebuild -version Xcode 4.3.2 Build version 4E2002 $llvm-gcc -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable- checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program- prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with- slibdir=/usr/lib --build=i686-apple-darwin11 --enable- llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst- llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx- include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00) }}} -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by seanmeir@…): On my other 10.7 systems, avr-gcc builds fine, but on this machine I get the error. -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by titus@…): I don't know anything about Apple's LLVM versioning but I find it strange that I have the older Xcode and a seemingly newer LLVM gcc backend. Did you download the current command line tools via Xcode? At least this web page http://wiki.osdev.org/Talk:GCC_Cross- Compiler#On_Mac_OS_X_Lion claims that an apparently similar error is caused by the LLVM code generator. -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by g5pw@…): Well, I'm completely lost on that one, it looks like a bug in LLVM! On the other hand, I have the same version of llvm-gcc, and I can build it successfully... :/ -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by seanmeir@…): Replying to [comment:9 titus@…]:
Did you download the current command line tools via Xcode?
My command line tools came from Xcode. I didn't manually install them, or get them from somewhere else (I think). -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by titus@…): Replying to [comment:11 seanmeir@…]:
Replying to [comment:9 titus@…]:
Did you download the current command line tools via Xcode?
My command line tools came from Xcode. I didn't manually install them, or get them from somewhere else (I think).
Starting with the appbundled Xcode (>=4.3) you have to manually / explicitely install them. The dialog is in Preferences - Downloads - Components. There you would have an "Install" (or "Update", IIRC) button next to "Command Line Tools." BTW, on another machine I have Xcode 4.3.2 and gcc LLVM version 2336.9.00. There, in the download dialog it does not show a button for the "Command Line Tools" but says "Installed". So I'd guess that you have installed the newer Xcode but did not update the CLTs. I will check if I can build avr-gcc on that machine. -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by titus@…): On my aforementioned second machine avr-gcc builds ok. I did a port selfupdate / upgrade outdated before I tried. All newer ports necessary for gcc (mpfr, and the like) were downloaded as binary packages. -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by g5pw@…): Hello... What's the status here? Did it eventually build? -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by joseph.gaeddert@…): Having the same issues as above running Lion 10.7.4 on MacBook Air. Installed fine on an old iMac (2006) running exact same OS. On the MBA I get the familiar configure error: {{{ configure: error: cannot compute suffix of object files: cannot compile }}} I've run all the appropriate port updates, cleaned the avr-gcc build and tried again. Not sure what details will help, though. {{{ $ xcodebuild -version Xcode 4.1 Build version 4B110 $ llvm-gcc -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable- checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program- prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with- slibdir=/usr/lib --build=i686-apple-darwin11 --enable- llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst- llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx- include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00) }}} -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by titus@…): Up to now, it still looks like an issue depending on the "LLVM build" version. It seems that 2336 is OK, and 2335 is broken. Or did I miss something? BTW, does it now build OK on the build bot? -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile --------------------------------+------------------------------------------- Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: avr-gcc --------------------------------+------------------------------------------- Comment(by g5pw@…): Yes, it looks like an issue with the host compiler... Please update to the latest Xcode Command Line tools and retry! It does indeed build OK on the bot, or, at least, I haven't received any error reports by the buildbot... -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34508: avr-gcc: configure: error: cannot compute suffix of object files: cannot compile ---------------------------------+------------------------------------------ Reporter: seanmeir@… | Owner: g5pw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Resolution: fixed | Keywords: Port: avr-gcc | ---------------------------------+------------------------------------------ Changes (by g5pw@…): * status: assigned => closed * resolution: => fixed Comment: It's been two months, I assume this ticket is closed. If the problem still presents itself, feel free to reopen it! -- Ticket URL: <https://trac.macports.org/ticket/34508#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts