From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13549 invoked by alias); 17 Dec 2011 15:41:17 -0000 Received: (qmail 13537 invoked by uid 22791); 17 Dec 2011 15:41:16 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 17 Dec 2011 15:41:03 +0000 From: "hjl.tools at gmail dot com" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-12/txt/msg01934.txt.bz2 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'