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

tests: build error for integration tests for Go 1.14; undefined: __builtin_isinf_sign, undefined: __builtin_isnan #852

Open
mewmew opened this issue Mar 11, 2020 · 1 comment

Comments

@mewmew
Copy link
Contributor

mewmew commented Mar 11, 2020

When running the integration tests of c2go using Go 1.14, a few builtin identifiers are undefined, as illustrated below.

$ go test -tags=integration ./...
--- FAIL: TestIntegrationScripts (8.81s)
    --- FAIL: TestIntegrationScripts/tests/argv.c (5.28s)
        main_test.go:215: Expected 
            Got: # command-line-arguments [command-line-arguments.test]
            build/tests/argv/main_test.go:208:5: undefined: __builtin_isinf_sign
            build/tests/argv/main_test.go:208:73: undefined: __builtin_isnan

Additional information

Clang 9.0.1 was used in the example above.

$ clang -v
clang version 9.0.1 
@kroppt
Copy link
Contributor

kroppt commented Jul 18, 2020

I was having this issue. I fixed it by cleaning my local repository of untracked files using git clean -fdx.
Edit: It fixes the issue during normal testing, but indeed this error still occurs for me in integration tests.

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

No branches or pull requests

2 participants