Skip to content

x/build: add misc-compile-mobile TryBots for Android/iOS #25963

Open
@FiloSottile

Description

@FiloSottile

https://storage.googleapis.com/go-build-log/21200cf2/misc-compile-mobile_0b3b3144.log

/workdir/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/tmp/go-link-391904482/go.o:(.data+0x0): undefined reference to `x_cgo_init'
/tmp/go-link-391904482/go.o:(.data+0x4): undefined reference to `x_cgo_notify_runtime_init_done'
/tmp/go-link-391904482/go.o:(.data+0x8): undefined reference to `x_cgo_thread_start'
/tmp/go-link-391904482/go.o:(.data+0x14): undefined reference to `x_cgo_setenv'
/tmp/go-link-391904482/go.o:(.data+0x18): undefined reference to `x_cgo_unsetenv'
/tmp/go-link-391904482/go.o:(.data+0x1c): undefined reference to `_cgo_yield'
collect2: error: ld returned 1 exit status

If this is caused by my change (https://go-review.googlesource.com/c/go/+/109697) I can't see it.

/cc @bradfitz

Activity

added this to the Unreleased milestone on Jun 19, 2018
added
Buildersx/build issues (builders, bots, dashboards)
on Jun 19, 2018
gopherbot

gopherbot commented on Jun 19, 2018

@gopherbot
Contributor

Change https://golang.org/cl/119856 mentions this issue: dashboard: remove mobile misc-compile trybots

bradfitz

bradfitz commented on Jun 19, 2018

@bradfitz
Contributor

I guess those never worked.

We're probably missing some stuff or environment in our Dockerfile. Missing Android toolchain, etc. The Darwin one may not be possible, or we might need to do it from a Mac VM, not Docker.

/cc @eliasnaur.

eliasnaur

eliasnaur commented on Jun 19, 2018

@eliasnaur
Contributor

What's to do here? I think I'm missing context.

bradfitz

bradfitz commented on Jun 19, 2018

@bradfitz
Contributor

We'd like a trybot that at least compiles most things (runs make.bash) for the Android & iOS builds, even if we don't use a real device or simulator/emulator and don't actually run any tests. We have such trybots for all other ports, but not mobile.

eliasnaur

eliasnaur commented on Jun 19, 2018

@eliasnaur
Contributor

Ok. Is the Dockerfile from

#23824 (comment)

of any help for Android? For iOS I believe you need macOS with Xcode installed.

bradfitz

bradfitz commented on Aug 3, 2018

@bradfitz
Contributor
changed the title [-]x/build: misc-compile-mobile TryBot broken[/-] [+]x/build: add misc-compile-mobile TryBots for Android/iOS[/+] on Aug 29, 2018
added
FeatureRequestIssues asking for a new feature that does not need a proposal.
on Aug 29, 2018
eliasnaur

eliasnaur commented on Feb 24, 2019

@eliasnaur
Contributor

I believe the Android part is being done as part of #23824.

14 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buildersx/build issues (builders, bots, dashboards)FeatureRequestIssues asking for a new feature that does not need a proposal.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.new-builder

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bradfitz@mcandre@eliasnaur@FiloSottile@dmitshur

        Issue actions

          x/build: add misc-compile-mobile TryBots for Android/iOS · Issue #25963 · golang/go