id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
3756	Missing -lz option in testsuite	daniel.is.fischer	simonmar	"Running the testsuite with a newly built 6.12.1, I got
{{{
OVERALL SUMMARY for test run started at Mo 14. Dez 18:06:00 CET 2009
    2352 total tests, which gave rise to                            
   13034 test cases, of which                                       
       0 caused framework failures                                  
    2760 were skipped                                               

    9471 expected passes
     328 expected failures
       0 unexpected passes
     475 unexpected failures
}}}
All but 8 (unless I miscounted) of the unexpected failures were in way threaded1, the overwhelming majority due to
{{{
/usr/src/packages/BUILD/binutils-2.19/build-dir/bfd/../../bfd/compress.c:96:0:
     undefined reference to `inflateInit_'                                    

/usr/src/packages/BUILD/binutils-2.19/build-dir/bfd/../../bfd/compress.c:103:0:
     undefined reference to `inflate'                                          

/usr/src/packages/BUILD/binutils-2.19/build-dir/bfd/../../bfd/compress.c:106:0:
     undefined reference to `inflateReset'                                     

/usr/src/packages/BUILD/binutils-2.19/build-dir/bfd/../../bfd/compress.c:108:0:
     undefined reference to `inflateEnd'                                       
collect2: ld returned 1 exit status                                            

*** unexpected failure for fileStatus(threaded1)
}}}
That looks like a missing -lz option in the testsuite. Adding ""EXTRA_HC_OPTS += -optl-lz"" to test.mk and running ""make stage=2 WAY=threaded1"" produced
{{{
OVERALL SUMMARY for test run started at Di 15. Dez 12:18:20 CET 2009
    2352 total tests, which gave rise to
   13034 test cases, of which
       0 caused framework failures
   12545 were skipped

     467 expected passes
      19 expected failures
       0 unexpected passes
       3 unexpected failures

Unexpected failures:
   2317(threaded1)
   galois_raytrace(threaded1)
   qq005(threaded1)
}}}
which seems to confirm the suspicion."	bug	closed	high	7.2.1	Build System	6.12.1	fixed		daniel.is.fischer@…	Linux	x86	Other					
