Opened 2 years ago

Last modified 14 months ago

#56887 assigned defect

msp430-gdb: All compilers are either blacklisted or unavailable; defaulting to first fallback option

Reported by: btywoniuk (Bart) Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: pixilla (Bradley Giesbrecht), mojca (Mojca Miklavec), ryandesign (Ryan Schmidt)
Port: msp430-gdb

Description

msp430-gdb port declares that it is not compatible with some compilers: in fact, it declares that it is not compatible with every compiler that is compatible with the operating system. Therefore, no compilers remain that can compile this port, so you cannot compile this port on your operating system.

Attachments (1)

main.log (162.8 KB) - added by btywoniuk (Bart) 2 years ago.
Error log main.log

Download all attachments as: .zip

Change History (9)

Changed 2 years ago by btywoniuk (Bart)

Attachment: main.log added

Error log main.log

comment:1 Changed 2 years ago by mf2k (Frank Schima)

Owner: set to g5pw
Status: newassigned

In the future, please add the port maintainer(s) to Cc (port info --maintainers msp430-gdb), if any.

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Cc: pixilla added

Avoiding the use of clang in this port dates back to when the port was first created in r88657, before the compiler.blacklist option existed. I can only assume it didn't compile with the version of clang that was shipped by Apple at the time.

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

Well the log shows that it also doesn't compile with the version of clang in Xcode 9.3.

comment:5 Changed 23 months ago by mojca (Mojca Miklavec)

Cc: mojca added

comment:6 Changed 14 months ago by jmroot (Joshua Root)

Summary: All compilers are either blacklisted or unavailable; defaulting to first fallback optionmsp430-gdb: All compilers are either blacklisted or unavailable; defaulting to first fallback option

comment:7 Changed 14 months ago by jmroot (Joshua Root)

The PR was merged. Is this working now?

comment:8 Changed 14 months ago by mojca (Mojca Miklavec)

Cc: ryandesign added

Actually, the PR was about gcc and binutils (and it didn't even obsolete/replace the old ports), gdb wasn't brought up to date (we lack a nice portgroup for that).

However ryandesign made a bunch of changes to this port in August which probably fixed the reported issue itself, judging from commit messages.

msp430-gdb, msp430-gdb-devel: Reduce differences

msp430-gdb, msp430-gdb-devel: Fix for Xcode 10

msp430-gdb, msp430-gdb-devel: Fix build with clang

Closes: #46291

That said, we should at some point:

  • create a PortGroup for crossgdb
  • create msp430-elf-gdb port using that group and the latest gdb
  • make the old msp430* ports obsolete
Note: See TracTickets for help on using tickets.