This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/52532] New: Many libgo tests fail with various linker errors
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Mar 2012 19:23:00 +0000
- Subject: [Bug go/52532] New: Many libgo tests fail with various linker errors
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52532
Bug #: 52532
Summary: Many libgo tests fail with various linker errors
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
AssignedTo: ian@airs.com
ReportedBy: ubizjak@gmail.com
Target: x86_64-pc-linux-gnu
Created attachment 26856
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26856
testsuite log file
Many libgo tests fail on x86_64 Fedora16 with:
/usr/bin/ld: dynamic variable `libgo_encoding.binary.BigEndian' is zero size
/usr/bin/ld: _gotest_.o(.text+0x7c5): unresolvable R_386_32 relocation against
symbol `libgo_encoding.binary.BigEndian'
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
FAIL: hash/fnv
There are also following messages in testsuite log:
/usr/bin/ld: dynamic variable `libgo_database_sql.driver.Bool' is zero size
/usr/bin/ld: dynamic variable
`libgo_database_sql.driver.DefaultParameterConverter' is zero size
/usr/bin/ld: _gotest_.o(.text+0xd54e): unresolvable R_X86_64_32 relocation
against symbol `libgo_database_sql.driver.Bool'
/usr/bin/ld: _gotest_.o(.text+0x11239): unresolvable R_X86_64_32 relocation
against symbol `libgo_database_sql.driver.DefaultParameterConverter'
/usr/bin/ld: _gotest_.o(.text+0x15933): unresolvable R_X86_64_32 relocation
against symbol `libgo_database_sql.driver.DefaultParameterConverter'
PASS
PASS: database/sql