Opened 13 years ago

Closed 13 years ago

#34074 closed defect (worksforme)

avr-gcc 4.7.0: error in backend: ran out of registers during register allocation

Reported by: jerkejacobs@… Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: g5pw (Aljaž Srebrnič)
Port: avr-gcc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

See attached logfile

Xcode 4.3.2 (4E2002)
llvm-gcc --version: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)

Attachments (1)

main.log (10.2 MB) - added by jerkejacobs@… 13 years ago.
Error log

Change History (7)

Changed 13 years ago by jerkejacobs@…

Attachment: main.log added

Error log

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to g5pw@…
Port: avr-gcc added
Summary: avr-gcc-4.7.0_0+lto fails buildingavr-gcc 4.7.0: error in backend: ran out of registers during register allocation

comment:2 Changed 13 years ago by g5pw (Aljaž Srebrnič)

Status: newassigned

Humm... That's strange, it builds correctly on my machine... Are you running Lion?

comment:3 Changed 13 years ago by g5pw (Aljaž Srebrnič)

Cc: g5pw@… added

Cc Me!

comment:4 Changed 13 years ago by g5pw (Aljaž Srebrnič)

So, can I close the ticket? I am fairly certain the issue is resolved in r91227

comment:5 Changed 13 years ago by jerkejacobs@…

I still have the same error, it could also be a problem with mixed half installed toolchains because XCode has changed with 4.3.2:

jerry@white ~ $ sudo port install avr-gccWarning: xcodebuild exists but failed to execute Warning: Xcode appears to be installed but xcodebuild is unusable; some ports will likely fail to build. Warning: You may need to run sudo xcode-select -switch /Applications/Xcode.app

You may close this bug, when I have a clean install and then it doesn't work I will open a new bug request. Or when other people bump to this problem with Xcode 4.3.2 or other.

Thank you for your time.

comment:6 Changed 13 years ago by g5pw (Aljaž Srebrnič)

Resolution: worksforme
Status: assignedclosed

Ok, no problem. Probably your build fails because there's s a bug when building with clang, I have to write to the clang guys and investigate...

Note: See TracTickets for help on using tickets.