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

build: darwin/arm port #837

Closed
gopherbot opened this issue Jun 4, 2010 · 17 comments
Closed

build: darwin/arm port #837

gopherbot opened this issue Jun 4, 2010 · 17 comments
Milestone

Comments

@gopherbot
Copy link

by frederic.bonfanti:

What steps will reproduce the problem?

 export GOOS="darwin" && export GOARCH="ARM"
 cd $GOROOT/src && ./all.bash

What is the expected output?

 libs, runtine et al shall compile fine even though linking / executing might require further work

What do you see instead?

 [...]
 proc.c:7 5c: No such file or directory: defs.h
 make[1]: *** [runtime.acid.arm] Error 1
 make: *** [runtime.install] Error 2
 make: *** Waiting for unfinished jobs....


What is your $GOOS? 

 darwin

$GOARCH?

 ARM

Which revision are you using?  (hg identify)

 a85ad0a64015 tip

Please provide any additional information below.

Both real life ARM/Darwin and AMD64/Darwin OS conform to the same Core OS APIs and LLVM-
GCC. Sounds like Linux has got an hardcoded place in files when it comes to ARM...
@rsc
Copy link
Contributor

rsc commented Jun 12, 2010

Comment 1:

I am not aware of anyone working on the darwin/arm port.
If you'd like to, feel free.
5g is OS-agnostic.  It is 5l and package runtime that need
work, primarily.

Status changed to LongTerm.

@gopherbot
Copy link
Author

Comment 2 by frederic.bonfanti:

Already digging into the 9ish heritage of those old times.
Oops, 5g should have red 5l. Few ASM calls to implement... I have already fixed few
missing bits to ARM target backend.
Will update once any substantial outcome is there.

@gopherbot
Copy link
Author

Comment 3 by stephenm@golang.org:

Labels changed: added arch-arm.

@rsc
Copy link
Contributor

rsc commented Dec 9, 2011

Comment 4:

Labels changed: added priority-later.

@minux
Copy link
Member

minux commented Dec 28, 2011

Comment 5:

I'm currently working on it, and just now it can compile and run some trivial Go and C
programs on iOS.
Goroutine and signal handling are broken, though.
After I fixed the signal handling issues, I will report my progress to go-nuts.

@minux
Copy link
Member

minux commented Dec 29, 2011

Comment 6:

My port is here: https://bitbucket.org/minux/goios/ branch ios
NOTE: *FAR* from finished.
golang-nuts thread:
http://groups.google.com/group/golang-nuts/browse_thread/thread/fb4ba8ce9304558

@minux
Copy link
Member

minux commented Dec 31, 2011

Comment 7:

FYI, my port is mostly working now and has passed most pkg tests.

@minux
Copy link
Member

minux commented Feb 28, 2012

Comment 9:

Owner changed to @minux.

@minux
Copy link
Member

minux commented Apr 2, 2012

Comment 10:

The only blocker for merge, IMHO, is iOS doesn't support dynamic code generation, and we
use just that for closure. Do we have any plans to eliminate dynamic code generation for
closures?

@ianlancetaylor
Copy link
Contributor

Comment 11:

We have discussed the possiblity of changing function pointers to be a struct containing
two pointers, but that has some obvious drawbacks and no decision has been made.

@eliasnaur
Copy link
Contributor

Comment 14:

What are the current blockers for this issue to get merged (in 1.3 perhaps)? For
example, does this still depend on 4069 now that issue #5590 has been fixed?

@minux
Copy link
Member

minux commented Sep 12, 2013

Comment 15:

thank you for the work on arm external linking.
the major blocker is that the port needs to test on jailbroken devices.
testing on non-jailbroken device needs proper cgo support which i don't yet have time to
finish.

@rsc
Copy link
Contributor

rsc commented Nov 27, 2013

Comment 16:

Labels changed: added go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 17:

Labels changed: added release-none, removed go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 18:

Labels changed: added repo-main.

@eliasnaur
Copy link
Contributor

Comment 19:

#go13
Similar to android/arm, I think with 4096 almost done, 4714 marked as Go1.3 and finally
the out-of-tree darwin/arm port by minux we should consider adding darwin/arm support in
go 1.3. I volunteer to help with the required work, as soon as the feature is accepted.

@minux minux added this to the Go1.5 milestone Dec 26, 2014
@minux minux self-assigned this Dec 26, 2014
@minux
Copy link
Member

minux commented Dec 26, 2014

Upstream started. I've sent 10 CLs from golang.org/cl/2118 to golang.org/cl/2127

@crawshaw has figured out how to use https://github.com/phonegap/ios-deploy
to build a builder with locked iDevices, so the final obstacle to upstreaming the
port is finally overcome. Thank you crawshaw!

@minux minux closed this as completed in f961a99 Feb 6, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc unassigned minux Jun 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants