Opened 8 years ago

Closed 8 years ago

#32696 closed defect (fixed)

arm-none-eabi-gdb @7.3 fails to build with clang

Reported by: slarew@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang haspatch Cc: ryandesign (Ryan Schmidt)
Port: arm-none-eabi-gdb

Description (last modified by ryandesign (Ryan Schmidt))

I attempted to install arm-none-eabi-gdb on OSX with Xcode 4.2. I got the same error as in #32161. The solution in that ticket, namely compiling with llvm-gcc-4.2 instead of clang, seems to work. I have attached a patch file for the Portfile that changes the compiler from clang to llvm-gcc-4.2.

Attachments (1)

Portfile-apple_llvm.diff (418 bytes) - added by slarew@… 8 years ago.
Use llvm-gcc-4.2 instead of clang to get arm-none-eabi-gdb to build on Lion

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by slarew@…

Attachment: Portfile-apple_llvm.diff added

Use llvm-gcc-4.2 instead of clang to get arm-none-eabi-gdb to build on Lion

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

Description: modified (diff)
Keywords: clang haspatch added
Summary: arm-none-eabi-gdb @7.3 fails to build on Lion/Xcode 4.2arm-none-eabi-gdb @7.3 fails to build with clang

comment:2 Changed 8 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

Thanks. r88365.

Note: See TracTickets for help on using tickets.