Oh dear, same problem with gccgo-go 4.9
ubuntu@juju-hp-machine-1:~$ go get -v launchpad.net/juju-core/...
Segmentation fault (core dumped)
full path and it works
ubuntu@juju-hp-machine-1:~$ /usr/bin/go get -v launchpad.net/juju-core/...
launchpad.net/juju-core (download)
ii gccgo 4:4.9-1ubuntu4 amd64
Go compiler, based on the GCC backend
ii gccgo-go 1.2-0ubuntu5 amd64
Go tool for use with gccgo
On Tue, Feb 18, 2014 at 1:28 AM, James Page <[email protected]>
wrote:
> This should be resolved once the next gccgo-go upload builds across all
> archs with 4.9 as default gccgo.
>
> ** Changed in: gccgo-go (Ubuntu)
> Importance: Undecided => High
>
> ** Changed in: gccgo-go (Ubuntu)
> Status: New => In Progress
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1275620
>
> Title:
> gccgo-go segfaults, something related to alternatives
>
> Status in "gccgo-go" package in Ubuntu:
> In Progress
>
> Bug description:
> When executed via $PATH, ie
>
> $ go
>
> The command segfaults during an early mmap operation
>
> futex(0x3fffabd2a49c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
> open("go", O_RDONLY|O_CLOEXEC) = 3
> fcntl(3, F_SETFD, FD_CLOEXEC) = 0
> mmap(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = -1 ENODEV (No such
> device)
>
> When executed with the full command line, ie
>
> $ /usr/bin/go
>
> Everything works and the command is hunky dory
>
> open("/usr/bin/go", O_RDONLY|O_CLOEXEC) = 3
> fcntl(3, F_SETFD, FD_CLOEXEC) = 0
> mmap(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x3fff7c563000
> munmap(0x3fff7c563000, 4096) = 0
>
> /usr/bin/go is redirected via an alternative
>
> ubuntu@winton-02:~$ stat $(which go)
> File: '/usr/bin/go' -> '/etc/alternatives/go'
> Size: 20 Blocks: 0 IO Block: 4096 symbolic link
> Device: 800h/2048d Inode: 36858 Links: 1
> Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
> Access: 2014-02-03 04:59:56.513098574 +0000
> Modify: 2014-02-03 04:58:26.423103413 +0000
> Change: 2014-02-03 04:58:26.443103413 +0000
> Birth: -
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gccgo-go/+bug/1275620/+subscriptions
>
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1275620
Title:
gccgo-go segfaults, something related to alternatives
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gccgo-go/+bug/1275620/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs