Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: Linux/ARM builder fail with "'-mfloat-abi=hard': selected architecture lacks an FPU" #65621

Open
gopherbot opened this issue Feb 8, 2024 · 1 comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link

gopherbot commented Feb 8, 2024

#!watchflakes
default <- goarch == "arm" && goos == "linux" && `'-mfloat-abi=hard': selected architecture lacks an FPU`

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestInstall
    carchive_test.go:487: [go tool cgo -objdir /home/swarming/.swarming/w/ir/x/t/carchive_test3149995538/_obj309608086 -exportheader p.h p/p.go]
    carchive_test.go:489: [go install -buildmode=c-archive ./libgo]
    carchive_test.go:489: # runtime/cgo
        cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU
    carchive_test.go:489: exit status 1
--- FAIL: TestInstall (8.31s)

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Feb 8, 2024
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/cgo/internal/testcarchive" && test == "TestInstall"
2024-02-02 16:17 go1.22-linux-arm release-branch.go1.22@b0957cfc cmd/cgo/internal/testcarchive.TestInstall (log)
=== RUN   TestInstall
    carchive_test.go:487: [go tool cgo -objdir /home/swarming/.swarming/w/ir/x/t/carchive_test3149995538/_obj309608086 -exportheader p.h p/p.go]
    carchive_test.go:489: [go install -buildmode=c-archive ./libgo]
    carchive_test.go:489: # runtime/cgo
        cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU
    carchive_test.go:489: exit status 1
--- FAIL: TestInstall (8.31s)

watchflakes

@cherrymui cherrymui changed the title cmd/cgo/internal/testcarchive: TestInstall failures all: Linux/ARM builder fail with "'-mfloat-abi=hard': selected architecture lacks an FPU\" Feb 9, 2024
@cherrymui cherrymui changed the title all: Linux/ARM builder fail with "'-mfloat-abi=hard': selected architecture lacks an FPU\" all: Linux/ARM builder fail with "'-mfloat-abi=hard': selected architecture lacks an FPU" Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: No status
Development

No branches or pull requests

1 participant