public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "andi-gcc at firstfloor dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/46812] New: Linux libgo compilation fails when a "libnet" is already installed Date: Sun, 05 Dec 2010 22:12:00 -0000 [thread overview] Message-ID: <bug-46812-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46812 Summary: Linux libgo compilation fails when a "libnet" is already installed Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: andi-gcc@firstfloor.org I tried to bootstrap a trunk gcc with go enabled on a OpenSUSE system. This failed with: set -e; rm -f crypto/rsa.gox.o; /home/andi/gcc/git/obj/./gcc/xgcc -B/home/andi/gcc/git/obj/./gcc/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/bin/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/lib/ -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/include -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/sys-include -r -nostdlib -o crypto/rsa.gox.o -Wl,--whole-archive crypto/librsa.a; objcopy -j .go_export crypto/rsa.gox.o crypto/rsa.gox.tmp; mv -f crypto/rsa.gox.tmp crypto/rsa.gox; rm -f crypto/rsa.gox.o rm -f `echo crypto/libx509.a | sed -e 's|/lib|/|' -e 's/\.a/.gox/'`; test -d crypto || /bin/mkdir -p crypto; rm -f crypto/libx509.a; files=`echo ../../../gcc/libgo/go/crypto/x509/x509.go asn1.gox big.gox container/vector.gox crypto/rsa.gox crypto/sha1.gox hash.gox os.gox strings.gox time.gox | sed -e 's/[^ ]*\.gox//g'`; if /bin/sh ./libtool --tag GO --mode=compile /home/src/gcc/git/obj/./gcc/gccgo -B/home/src/gcc/git/obj/./gcc/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/bin/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/lib/ -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/include -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/sys-include -minline-all-stringops -O2 -g -c -fgo-prefix="libgo_crypto" -o crypto/libx509.a.o $files; then ar rc crypto/libx509.a crypto/libx509.a.o; else exit 1; fi libtool: compile: /home/src/gcc/git/obj/./gcc/gccgo -B/home/src/gcc/git/obj/./gcc/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/bin/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/lib/ -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/include -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/sys-include -minline-all-stringops -O2 -g -c -fgo-prefix=libgo_crypto ../../../gcc/libgo/go/crypto/x509/x509.go -fPIC -o crypto/.libs/libx509.a.o libtool: compile: /home/src/gcc/git/obj/./gcc/gccgo -B/home/src/gcc/git/obj/./gcc/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/bin/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/lib/ -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/include -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/sys-include -minline-all-stringops -O2 -g -c -fgo-prefix=libgo_crypto ../../../gcc/libgo/go/crypto/x509/x509.go -o crypto/libx509.a.o >/dev/null 2>&1 set -e; rm -f crypto/x509.gox.o; /home/andi/gcc/git/obj/./gcc/xgcc -B/home/andi/gcc/git/obj/./gcc/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/bin/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/lib/ -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/include -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/sys-include -r -nostdlib -o crypto/x509.gox.o -Wl,--whole-archive crypto/libx509.a; objcopy -j .go_export crypto/x509.gox.o crypto/x509.gox.tmp; mv -f crypto/x509.gox.tmp crypto/x509.gox; rm -f crypto/x509.gox.o rm -f `echo crypto/libtls.a | sed -e 's|/lib|/|' -e 's/\.a/.gox/'`; test -d crypto || /bin/mkdir -p crypto; rm -f crypto/libtls.a; files=`echo ../../../gcc/libgo/go/crypto/tls/alert.go ../../../gcc/libgo/go/crypto/tls/ca_set.go ../../../gcc/libgo/go/crypto/tls/common.go ../../../gcc/libgo/go/crypto/tls/conn.go ../../../gcc/libgo/go/crypto/tls/handshake_client.go ../../../gcc/libgo/go/crypto/tls/handshake_messages.go ../../../gcc/libgo/go/crypto/tls/handshake_server.go ../../../gcc/libgo/go/crypto/tls/prf.go ../../../gcc/libgo/go/crypto/tls/tls.go bufio.gox bytes.gox container/list.gox crypto/hmac.gox crypto/md5.gox crypto/rc4.gox crypto/rand.gox crypto/rsa.gox crypto/sha1.gox crypto/subtle.gox crypto/x509.gox encoding/pem.gox fmt.gox hash.gox io.gox io/ioutil.gox net.gox os.gox strings.gox sync.gox time.gox | sed -e 's/[^ ]*\.gox//g'`; if /bin/sh ./libtool --tag GO --mode=compile /home/src/gcc/git/obj/./gcc/gccgo -B/home/src/gcc/git/obj/./gcc/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/bin/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/lib/ -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/include -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/sys-include -minline-all-stringops -O2 -g -c -fgo-prefix="libgo_crypto" -o crypto/libtls.a.o $files; then ar rc crypto/libtls.a crypto/libtls.a.o; else exit 1; fi libtool: compile: /home/src/gcc/git/obj/./gcc/gccgo -B/home/src/gcc/git/obj/./gcc/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/bin/ -B/pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/lib/ -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/include -isystem /pkg/gcc-4.6-101205/x86_64-unknown-linux-gnu/sys-include -minline-all-stringops -O2 -g -c -fgo-prefix=libgo_crypto ../../../gcc/libgo/go/crypto/tls/alert.go ../../../gcc/libgo/go/crypto/tls/ca_set.go ../../../gcc/libgo/go/crypto/tls/common.go ../../../gcc/libgo/go/crypto/tls/conn.go ../../../gcc/libgo/go/crypto/tls/handshake_client.go ../../../gcc/libgo/go/crypto/tls/handshake_messages.go ../../../gcc/libgo/go/crypto/tls/handshake_server.go ../../../gcc/libgo/go/crypto/tls/prf.go ../../../gcc/libgo/go/crypto/tls/tls.go -fPIC -o crypto/.libs/libtls.a.o ../../../gcc/libgo/go/crypto/tls/conn.go:11:5: error: /usr/lib/../lib64/libnet.so exists but does not contain any Go export data make[2]: *** [crypto/libtls.a] Error 1 make[2]: Leaving directory `/home/src/gcc/git/obj/x86_64-unknown-linux-gnu/libgo' /usr/lib64/libnet comes from a suse rpm and is a semipopular library.
next reply other threads:[~2010-12-05 22:12 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-12-05 22:12 andi-gcc at firstfloor dot org [this message] 2010-12-05 22:58 ` [Bug bootstrap/46812] " andi-gcc at firstfloor dot org 2010-12-07 14:19 ` ian at gcc dot gnu.org 2010-12-07 14:22 ` ian at airs dot com 2010-12-09 17:06 ` andi-gcc at firstfloor dot org 2010-12-09 22:17 ` ian at gcc dot gnu.org 2010-12-09 22:18 ` ian at airs dot com 2010-12-10 13:23 ` andi-gcc at firstfloor dot org 2010-12-10 15:30 ` 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-46812-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: linkBe 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).