[DynInst_API:] dyninst_proccontrol branch always building testsuite


Date: Mon, 14 May 2012 09:18:07 -0400
From: William Cohen <wcohen@xxxxxxxxxx>
Subject: [DynInst_API:] dyninst_proccontrol branch always building testsuite
Hi Matt,

I have been working the the dyninst_proccontrol branch as a starting point for additional improvements for packaging.  I noticed two issues when building the RPMs:

-the testsuite is alway being built (results in many additional RPMs being required)
-on i686 build the testsuite fails to build because of "multiple definition of `main'"
  (http://koji.fedoraproject.org/koji/getfile?taskID=4074647&name=build.log)

Below is the part of the log related to the i686 build failure:

gfortran -g -o test1_18F.mutatee_solo_dynamic_gfortran_32_none_none test1_18F_mutatee_solo_gcc_32_none_none.o mutatee_util_gcc_32_none_none.o test1_18F_fortran_gfortran_32_none_none.o mutatee_driver_solo_gcc_32.o   
mutatee_driver_solo_gcc_32.o: In function `main':
/builddir/build/BUILD/dyninst-8.0/dyninst/testsuite/i386-unknown-linux2.4/../src/mutatee_driver.c:253: multiple definition of `main'
test1_18F_fortran_gfortran_32_none_none.o:/builddir/build/BUILD/dyninst-8.0/dyninst/testsuite/i386-unknown-linux2.4/../src/dyninst/test1_18F_fortran.F:52: first defined here
collect2: ld returned 1 exit status
make[1]: *** [test1_18F.mutatee_solo_dynamic_gfortran_32_none_none] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/dyninst-8.0/dyninst/testsuite/i386-unknown-linux2.4'
make: *** [testsuite] Error 2

The srpm file with these issues is at:

http://people.redhat.com/wcohen/dyninst/dyninst-8.0-0.10.fc16git.src.rpm

-Will
[← Prev in Thread] Current Thread [Next in Thread→]