undefined: mmap_syscall OS X 10.7.3

Bug #1016729 reported by Ian Leitch
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gommap
Confirmed
Undecided
Gustavo Niemeyer

Bug Description

I installed Go 1.0.1 using Brew.

[master*] $ sudo go get launchpad.net/gommap
# launchpad.net/gommap
/usr/local/Cellar/go/1.0.1/src/pkg/launchpad.net/gommap/gommap.go:58: undefined: mmap_syscall

Do you need more details to resolve this?

Related branches

Revision history for this message
lamvak (lamvak) wrote :

There are two implementations for mmap_syscall so far: for 386 and amd64. Darwin is neither, I presume? That's what missing.
Maybe you could look at what's inside current implementations, look up your documentation and propose an implementation?

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

Yeah, it should be easy, but I really don't have the OS at hand, so can't tell what's the proper thing to do.

Revision history for this message
Wade Simmons (wadesimmons) wrote :

It looks like there is a merge request waiting for this: https://code.launchpad.net/~karl-excors/gommap/gommap-darwin64/+merge/129364

I tested it and it works for me (it is just an exact copy of the linux_amd64 implementation)

Changed in gommap:
status: New → Confirmed
Revision history for this message
divoxx (divoxx) wrote :

Are there any plans of merging this?

Revision history for this message
Brad Heller (brad-heller) wrote :

Bump on this--we could really use darwin support, too!

Revision history for this message
Phil-crosby (phil-crosby) wrote :

Bump. Please merge this in.

Matt Joiner (anacrolix)
Changed in gommap:
assignee: nobody → Gustavo Niemeyer (niemeyer)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.