Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 25, 2025

The GL-AR300M16-EXT (QCA9531/mips_24kc) lacks hardware FPU. Binaries built without GOMIPS=softfloat are incompatible.

Changes

  • Extended build condition to apply GOMIPS=softfloat to both mips and mipsle architectures (previously only mipsle)
- if [[ "${{ matrix.platform }}" == "mipsle" ]]; then
+ if [[ "${{ matrix.platform }}" == "mips" || "${{ matrix.platform }}" == "mipsle" ]]; then
    CGO_ENABLED=0 GOOS=${{ matrix.os }} GOARCH=${{ matrix.platform }} GOMIPS=softfloat \

This ensures binaries work on MIPS devices without hardware floating-point units.

Original prompt

This section details on the original issue you should resolve

<issue_title>GL-AR300M16-EXT Support</issue_title>
<issue_description>The produced tiny binaries are incompatible, it needs GOMIPS=softfloat added.

</issue_description>

<agent_instructions>Create a new branch called "gl-ar300m16-ext-support", make sure to check if the built binary is executable on the target system.

Information based on the OpenWrt Wiki for the GL-AR300M16-EXT
Target:ath79
Subtarget:generic
Package architecture:mips_24kc
CPU:Qualcomm Atheros QCA9531</agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Oct 25, 2025
Copilot AI changed the title [WIP] Add GOMIPS=softfloat for compatibility with GL-AR300M16-EXT Add GOMIPS=softfloat for mips architecture to support GL-AR300M16-EXT Oct 25, 2025
Copilot AI requested a review from Admonstrator October 25, 2025 12:33
Copilot finished work on behalf of Admonstrator October 25, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GL-AR300M16-EXT Support

2 participants