public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/51598] New: Missing dependency on net/net.lo causes bootstrap failure
Date: Sat, 17 Dec 2011 16:00:00 -0000	[thread overview]
Message-ID: <bug-51598-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51598

             Bug #: 51598
           Summary: Missing dependency on net/net.lo causes bootstrap
                    failure
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: hjl.tools@gmail.com


On 4.6 branch, libgo has

net/net.lo: $(go_net_files) bytes.gox fmt.gox io.gox os.gox reflect.gox \
                strconv.gox strings.gox sync.gox syscall.gox

and libgo/go/net/dnsclient.go has

import (
    "bytes"
    "fmt"
    "os"
    "rand"
    "sync"
    "time"
)

net/net.lo is compiled with

files=`echo ../../../../libgo/go/net/dial.go
../../../../libgo/go/net/dnsclient.go ../../../../libgo/go/net/dnsconfig.go
../../../../libgo/go/net/dnsmsg.go ../../../../libgo/go/net/newpollserver.go
../../../../libgo/go/net/fd.go ../../../../libgo/go/net/fd_linux.go
../../../../libgo/go/net/hosts.go ../../../../libgo/go/net/ip.go
../../../../libgo/go/net/iprawsock.go ../../../../libgo/go/net/ipsock.go
../../../../libgo/go/net/net.go ../../../../libgo/go/net/parse.go
../../../../libgo/go/net/pipe.go ../../../../libgo/go/net/port.go
../../../../libgo/go/net/sock.go ../../../../libgo/go/net/tcpsock.go
../../../../libgo/go/net/udpsock.go ../../../../libgo/go/net/unixsock.go
bytes.gox fmt.gox io.gox os.gox reflect.gox strconv.gox strings.gox sync.gox
syscall.gox | sed -e 's/[^ ]*\.gox//g'`; /bin/sh ./libtool --tag GO
--mode=compile
/export/redhat/rpms/BUILD/gcc-4.6.1-20110908/obj-x86_64-redhat-linux/./gcc/gccgo
-B/export/redhat/rpms/BUILD/gcc-4.6.1-20110908/obj-x86_64-redhat-linux/./gcc/
-B/usr/x86_64-redhat-linux/bin/ -B/usr/x86_64-redhat-linux/lib/ -isystem
/usr/x86_64-redhat-linux/include -isystem /usr/x86_64-redhat-linux/sys-include 
   -minline-all-stringops -O2 -g  -mx32 -I . -c -fgo-prefix="libgo_net" -o
net/net.lo $files

bootstrap with "make -j12" failed at random with

../../../../libgo/go/net/dnsclient.go:23:6: error: import file 'time' not found
../../../../libgo/go/net/fd.go:14:6: error: import file 'time' not found
../../../../libgo/go/net/dnsclient.go:58:39: error: reference to undefined name
'time'
../../../../libgo/go/net/fd.go:155:9: error: reference to undefined name 'time'


             reply	other threads:[~2011-12-17 15:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-17 16:00 hjl.tools at gmail dot com [this message]
2012-01-18  5:44 ` [Bug go/51598] " ian at airs dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-51598-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).