This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/51598] New: Missing dependency on net/net.lo causes bootstrap failure
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Dec 2011 15:40:59 +0000
- Subject: [Bug go/51598] New: Missing dependency on net/net.lo causes bootstrap failure
- Auto-submitted: auto-generated
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'