public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/51598] New: Missing dependency on net/net.lo causes bootstrap failure
@ 2011-12-17 16:00 hjl.tools at gmail dot com
  2012-01-18  5:44 ` [Bug go/51598] " ian at airs dot com
  0 siblings, 1 reply; 2+ messages in thread
From: hjl.tools at gmail dot com @ 2011-12-17 16:00 UTC (permalink / raw)
  To: gcc-bugs

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'


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

* [Bug go/51598] Missing dependency on net/net.lo causes bootstrap failure
  2011-12-17 16:00 [Bug go/51598] New: Missing dependency on net/net.lo causes bootstrap failure hjl.tools at gmail dot com
@ 2012-01-18  5:44 ` ian at airs dot com
  0 siblings, 0 replies; 2+ messages in thread
From: ian at airs dot com @ 2012-01-18  5:44 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> 2012-01-18 05:39:07 UTC ---
Fixed in mainline.  The libgo Makefile no longer requires explicit dependencies
to be listed.


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

end of thread, other threads:[~2012-01-18  5:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-17 16:00 [Bug go/51598] New: Missing dependency on net/net.lo causes bootstrap failure hjl.tools at gmail dot com
2012-01-18  5:44 ` [Bug go/51598] " 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).