Bug 46876 - libgo fails to compile on libtemplate.so
Summary: libgo fails to compile on libtemplate.so
Status: RESOLVED DUPLICATE of bug 46812
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 18:07 UTC by Ed Smith-Rowland
Modified: 2010-12-10 15:29 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Smith-Rowland 2010-12-09 18:07:21 UTC
libtool: compile:  /home/ed/obj-c++/./gcc/gccgo -B/home/ed/obj-c++/./gcc/ -B/home/ed/bin-c++/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin-c++/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin-c++/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin-c++/x86_64-unknown-linux-gnu/sys-include -minline-all-stringops -O2 -g -c -fgo-prefix=libgo_rpc ../../../gcc_new/libgo/go/rpc/client.go ../../../gcc_new/libgo/go/rpc/debug.go ../../../gcc_new/libgo/go/rpc/server.go  -fPIC -o rpc/.libs/librpc.a.o
../../../gcc_new/libgo/go/rpc/debug.go:16:10: error: /usr/lib/../lib64/libtemplate.so exists but does not contain any Go export data


The configure is:
../gcc_new/configure --prefix=/home/ed/bin-c++ --enable-bootstrap-cxx --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --enable-languages=c,c++,fortran,go,lto,objc,obj-c++

The bootstrap compiler is:
[ed@localhost obj-c++]$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
Comment 1 Richard Biener 2010-12-10 13:21:33 UTC
I think this has been fixed meanwhile.  Ian?
Comment 2 Ian Lance Taylor 2010-12-10 15:29:29 UTC
This should be fixed by revision 167668.

*** This bug has been marked as a duplicate of bug 46812 ***