libgo patch committed: Update to weekly.2011-12-22

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Feb 14 13:57:00 GMT 2012


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



More information about the Gcc-patches mailing list