public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/65570] New: cannot find package "runtime/cgo"
@ 2015-03-25 20:09 doko at gcc dot gnu.org
  2015-03-25 21:45 ` [Bug go/65570] " ian at gcc dot gnu.org
  2015-03-25 21:47 ` ian at airs dot com
  0 siblings, 2 replies; 3+ messages in thread
From: doko at gcc dot gnu.org @ 2015-03-25 20:09 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65570

            Bug ID: 65570
           Summary: cannot find package "runtime/cgo"
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: doko at gcc dot gnu.org
                CC: cmang at google dot com

the powerpc build now goes further, either the fix for PR go/65417 or PR
go/65462 broke something on aarch64 and ppc64le, at least all lxd builds of
ppc, ppc64le and aarch64 fail with:


$ cat test.go
package main

/*
#include <stdio.h>

void hello() {
        printf("Hello world!\n");
}
*/
import "C"

func main() {
    C.hello()
}

$ go build -v -x test.go
WORK=/tmp/go-build985134900
package runtime/cgo: cannot find package "runtime/cgo" in any of:
        /usr/src/runtime/cgo (from $GOROOT)
        ($GOPATH not set)

go install -v -x github.com/lxc/lxd/lxc
package github.com/lxc/lxd/lxc
    imports github.com/gosexy/gettext
    imports runtime/cgo: cannot find package "runtime/cgo" in any of:
    /usr/src/runtime/cgo (from $GOROOT)
    /build/buildd/lxd-0.5/dist/src/runtime/cgo (from $GOPATH)
debian/rules:19: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1

Stephane posted a pointer to the complete build logs in
https://launchpad.net/bugs/1436530


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug go/65570] cannot find package "runtime/cgo"
  2015-03-25 20:09 [Bug go/65570] New: cannot find package "runtime/cgo" doko at gcc dot gnu.org
@ 2015-03-25 21:45 ` ian at gcc dot gnu.org
  2015-03-25 21:47 ` ian at airs dot com
  1 sibling, 0 replies; 3+ messages in thread
From: ian at gcc dot gnu.org @ 2015-03-25 21:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65570

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Wed Mar 25 21:19:01 2015
New Revision: 221673

URL: https://gcc.gnu.org/viewcvs?rev=221673&root=gcc&view=rev
Log:
    PR go/65570
libgo/Makefile.am: add runtime/cgo to list of standard packages

The runtime/cgo package is treated specially by the go tool.
It needs to know that it is always available for gccgo.

Modified:
    trunk/libgo/Makefile.am
    trunk/libgo/Makefile.in


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug go/65570] cannot find package "runtime/cgo"
  2015-03-25 20:09 [Bug go/65570] New: cannot find package "runtime/cgo" doko at gcc dot gnu.org
  2015-03-25 21:45 ` [Bug go/65570] " ian at gcc dot gnu.org
@ 2015-03-25 21:47 ` ian at airs dot com
  1 sibling, 0 replies; 3+ messages in thread
From: ian at airs dot com @ 2015-03-25 21:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65570

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> ---
Fixed.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-25 21:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 20:09 [Bug go/65570] New: cannot find package "runtime/cgo" doko at gcc dot gnu.org
2015-03-25 21:45 ` [Bug go/65570] " ian at gcc dot gnu.org
2015-03-25 21:47 ` ian at airs dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).