This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libgo patch committed: Update to weekly.2011-12-22
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Tue, 14 Feb 2012 14:51:26 +0100
- Subject: Re: libgo patch committed: Update to weekly.2011-12-22
- References: <mcrhb00qj8q.fsf@dhcp-172-18-216-180.mtv.corp.google.com> <yddfwfj8nsk.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <mcrzkdrmci8.fsf@dhcp-172-18-216-180.mtv.corp.google.com> <yddmx9lx877.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <mcrobtqrz4k.fsf@dhcp-172-18-216-180.mtv.corp.google.com> <yddmx99xb8n.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <mcr62femeqd.fsf@dhcp-172-18-216-180.mtv.corp.google.com>
Ian Lance Taylor <iant@google.com> writes:
>> Most of them are like
>>
>> Start pollServer: epoll_ctl: Bad file descriptor
>> panic: runtime error: invalid memory address or nil pointer dereference
>> FAIL: net
>
> That sort of problem should be fixed now, by
>
> http://gcc.gnu.org/ml/gcc-patches/2012-02/msg00110.html
Indeed, thanks. I only see a small number of unrelated FAILs on CentOS
5.6 now:
=== libgo tests ===
Running target unix
FAIL: compress/flate
FAIL: image/jpeg
=== libgo Summary for unix ===
# of expected passes 121
# of unexpected failures 2
Running target unix/-m32
FAIL: compress/flate
FAIL: database/sql
FAIL: image/jpeg
=== libgo Summary for unix/-m32 ===
# of expected passes 120
# of unexpected failures 3
=== libgo Summary ===
# of expected passes 241
# of unexpected failures 5
/var/gcc/regression/trunk/2.6.18-gcc-gas-gld/build/./gcc/gccgo version 4.7.0 20120210 (experimental) [trunk revision 184103] (GCC)
The compress/flate and image/jpeg failures seem to be races creating the
testdata symlink during a highly parallel make check:
ln: creating symbolic link `../testdata/testdata' to `/vol/gcc/src/hg/trunk/local/libgo/go/compress/flate/../testdata': File exists
--- FAIL: flate.TestDeflateInflateString (0.00 seconds)
???:1: open ../testdata/e.txt: No such file or directory
???:1: open ../testdata/Mark.Twain-Tom.Sawyer.txt: No such file or directory
FAIL
FAIL: compress/flate
--- FAIL: jpeg.TestWriter (0.05 seconds)
???:1: ../testdata/video-001.png open ../testdata/video-001.png: No such file or directory
???:1: ../testdata/video-001.png open ../testdata/video-001.png: No such file or directory
???:1: ../testdata/video-001.png open ../testdata/video-001.png: No such file or directory
???:1: ../testdata/video-001.png open ../testdata/video-001.png: No such file or directory
???:1: ../testdata/video-001.png open ../testdata/video-001.png: No such file or directory
???:1: ../testdata/video-001.png open ../testdata/video-001.png: No such file or directory
FAIL
FAIL: image/jpeg
The 32-bit database/sql failure also occurs when using gld on Solaris:
/vol/gcc/bin/gld-2.22: dynamic variable `libgo_database_sql.driver.Bool' is zero size
/vol/gcc/bin/gld-2.22: dynamic variable `libgo_database_sql.driver.DefaultParameterConverter' is zero size
/vol/gcc/bin/gld-2.22: _gotest_.o(.text+0xba12): unresolvable R_386_32 relocation against symbol `libgo_database_sql.driver.Bool'
/vol/gcc/bin/gld-2.22: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
FAIL: database/sql
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University