change log for rtems-testing (2011-01-28)

rtems-vc at rtems.org rtems-vc at rtems.org
Fri Jan 28 16:10:05 UTC 2011


 *joel*:
2011-01-28	Joel Sherrill <joel.sherrill at oarcorp.com>

	* do_one, test_driver, testsuite/ada/acats/Makefile.rtems: Various
	improvements as part of testing gcc 4.6.0.

M   1.19  gcc/ChangeLog
M   1.21  gcc/do_one
M   1.19  gcc/test_driver
M   1.13  gcc/testsuite/ada/acats/Makefile.rtems

diff -u rtems-testing/gcc/ChangeLog:1.18 rtems-testing/gcc/ChangeLog:1.19
--- rtems-testing/gcc/ChangeLog:1.18	Mon Jan 24 11:13:50 2011
+++ rtems-testing/gcc/ChangeLog	Fri Jan 28 09:59:17 2011
@@ -1,3 +1,8 @@
+2011-01-28	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	* do_one, test_driver, testsuite/ada/acats/Makefile.rtems: Various
+	improvements as part of testing gcc 4.6.0.
+
 2011-01-24	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* do_one: Fix script.

diff -u rtems-testing/gcc/do_one:1.20 rtems-testing/gcc/do_one:1.21
--- rtems-testing/gcc/do_one:1.20	Mon Jan 24 11:13:50 2011
+++ rtems-testing/gcc/do_one	Fri Jan 28 09:59:18 2011
@@ -148,16 +148,41 @@
 cpu=${1}
 bsp=${2}
 
-case ${cpu} in
-  m32c)
-    do_ada=no
-    do_cxx=no
-    run_acats=no
-    echo M32C does not support C++ or Ada
-    ;;
-  *);;
-esac
+# Which CPUs do not support C++
+if [ ${do_cxx} = "yes" ] ; then
+  case ${cpu} in
+    avr|h8300|m32c)
+      do_cxx=no
+      echo ${cpu} does not support C++
+      ;;
+    *);;
+  esac
+fi
+
+# Which CPUs do not support Ada
+if [ ${do_ada} = "yes" ] ; then
+  case ${cpu} in
+    avr|h8300|m32c)
+      do_ada=no
+      run_acats=no
+      echo ${cpu} does not support Ada
+      ;;
+    *);;
+  esac
+fi
+
+# Which CPUs do not support Go
+if [ ${do_gccgo} = "yes" ] ; then
+  case ${cpu} in
+    avr|h8300|m32c)
+      do_gccgo=no
+      echo ${cpu} does not support Go
+      ;;
+    *);;
+  esac
+fi
 
+# When verbose, print settings
 if [ ${verbose} = yes ] ; then
   echo "Target        : " ${cpu}
   echo "BSP           : " ${bsp}
@@ -219,6 +244,7 @@
 
 TARGET=${cpu}-rtems${RTEMS_VERSION}
 
+# Do we accept an alternate name for the BSP?
 if [ x${bsp} = xqemu ] ; then
   BSP_BUILT=pc386
 else
@@ -415,6 +441,7 @@
   test ${do_native_ada} = "yes" && AdaArg=",ada"
   ${GCCDIR}/configure \
     ${NATIVE_GCC_EXTRA_ARGS} \
+    --disable-werror \
     --enable-languages=c,c++${AdaArg} --prefix=$INSTALL &&
   make ${MAKEJOBS} && make install
 }
@@ -465,6 +492,7 @@
 
   ${GCCDIR}/configure \
     ${GCC_EXTRA_ARGS} \
+    --disable-werror \
    --enable-threads=rtems  --with-gnu-as ${multilib} \
    --enable-newlib-mb --enable-newlib-iconv \
    --with-gnu-ld --with-newlib  --verbose --with-system-zlib --disable-nls \
@@ -614,8 +642,7 @@
   ${GCCDIR}/configure \
    ${GCC_EXTRA_ARGS} \
    --enable-threads=rtems  --with-gnu-as ${ada_multilib} \
-   --enable-newlib-mb --enable-newlib-iconv \
-   --with-gnu-ld --with-newlib  --verbose --with-system-zlib --disable-nls \
+   --with-gnu-ld --disable-newlib  --verbose --with-system-zlib --disable-nls \
     CFLAGS_FOR_TARGET=-B${BSP_INSTALL}/${TARGET}/${BSP_BUILT}/lib/ \
     --enable-version-specific-runtime-libs \
     --enable-languages=c,ada --target=$TARGET --prefix=$INSTALL &&
@@ -699,8 +726,8 @@
    ${GCC_EXTRA_ARGS} \
    CFLAGS_FOR_TARGET="-B${BSP_INSTALL}/${TARGET}/${BSP_BUILT}/lib/ ${GOFLAGS}" \
      --enable-threads=rtems --with-gnu-as ${gccgo_multilib} \
-     --enable-newlib-mb --enable-newlib-iconv \
-     --with-gnu-ld --with-newlib  --verbose --with-system-zlib --disable-nls \
+     --with-gnu-ld --disable-newlib  --verbose \
+     --with-system-zlib --disable-nls \
      --enable-version-specific-runtime-libs \
      --with-host-libstdcxx=-static-libstdc++ \
      --enable-languages=c,go --target=$TARGET --prefix=$INSTALL &&

diff -u rtems-testing/gcc/test_driver:1.18 rtems-testing/gcc/test_driver:1.19
--- rtems-testing/gcc/test_driver:1.18	Tue Dec  7 15:09:31 2010
+++ rtems-testing/gcc/test_driver	Fri Jan 28 09:59:18 2011
@@ -29,6 +29,13 @@
   fi
 done
 
+if [ x${PPL} != x ] ; then
+  if [ ! -d ${PPL} ] ; then
+    echo "Cannot locate ${d} -- aborting"
+    exit 1
+  fi
+fi
+
 toggle()
 {
   case $1 in
@@ -101,6 +108,17 @@
   fi
 done
 
+CPUS_PART1="arm  h8300 i386 m32c mips    sh    sparc64"
+CPUS_PART2="bfin lm32  m32r m68k powerpc sparc avr"
+ALL_CPUs="${CPUS_PART1} ${CPUS_PART2}"
+
+if    [ "X${CPUs}" = "X" ] ; then
+  CPUs="${ALL_CPUs}"
+elif [ "X${CPUs}" = "X part1" ] ; then
+  CPUs="${CPUS_PART1}"
+elif [ "X${CPUs}" = "X part2" ] ; then
+  CPUs="${CPUS_PART2}"
+fi
 
 if [ ${verbose} = "yes" ] ; then
   echo "Clean Install Point: " ${doCleanInstallPoint}
@@ -112,11 +130,7 @@
   echo "Build GCC Go:        " ${doGccGo}
   echo "Email Results:       " ${doMail}
   echo "Run Tests:           " ${doTests}
-  if [ "X${CPUs}" = "X" ] ; then
-    echo "CPUs to Build:       " ALL
-  else
-    echo "CPUs to Build:       " ${CPUs}
-  fi
+  echo "CPUs to Build:       " ${CPUs}
 fi
 
 test ${doMail}  = "no"   && mailArg="-M"
@@ -175,6 +189,19 @@
   done
 }
 
+install_ppl()
+{
+  if [ x${PPL} != x ] ; then
+    if [ -r ${INSTALL}/lib/libppl.a ] ; then
+      echo "*** Building PPL ***"
+      cd ${PPL}
+      make distclean
+      ./configure --prefix=${INSTALL}
+      make all install
+    fi
+  fi
+}
+
 # This handles GNU tools from CVS
 update_others()
 {
@@ -221,7 +248,9 @@
     esac
 
     doOne=${SCRIPTDIR}/gcc/do_one 
-    time sh -x ${doOne} -v -b -D -1 -d -r ${gccgoArg} ${adaArg} ${mailArg} ${testArg} \
+    echo "Building ${cpu}/${bsp}..." 
+    time sh -x ${doOne} -v -b -D -1 -d -r \
+        ${gccgoArg} ${adaArg} ${mailArg} ${testArg} \
         ${cpu} ${bsp} >${BASEDIR}/${bsp}.log 2>&1
     echo $?
   done
@@ -231,8 +260,6 @@
   echo Stopped at: ${stopped}
 }
 
-update_gcc
-
 if [ ${doCleanInstallPoint} = "yes" ] ; then
   # Clean the install point
   clean_up
@@ -246,6 +273,9 @@
     update_gcc
     update_others
   fi
+  if [ ! -r ${INSTALL}/lib/libppl.a ] ; then
+    install_ppl
+  fi
 wait
 
 # Do any remaining prep work in parallel
@@ -261,28 +291,10 @@
 
 # Now cycle over all these CPUs
 if [ $? -eq 0 ] ; then
-  if [ $# -eq 0 ] ; then
-    # Requires Skyeye install
-    do_cpus arm
-
-    # no simulator -- waiting for Skyeye
-    do_cpus bfin
-
-    # Simulators included in gdb
-    do_cpus h8300 lm32 m32c m32r mips powerpc sh sparc sparc64
-
-    # Requires qemu installation
-    do_cpus i386 m68k
-
-    # port insufficient to run gcc tests
-    do_cpus avr
-  else
-    for cpu in ${CPUs}
-    do
-      do_cpus ${cpu}
-    done
-  fi
-  
+  for cpu in ${CPUs}
+  do
+    do_cpus ${cpu}
+  done
 fi
 
 stopped=`date`

diff -u rtems-testing/gcc/testsuite/ada/acats/Makefile.rtems:1.12 rtems-testing/gcc/testsuite/ada/acats/Makefile.rtems:1.13
--- rtems-testing/gcc/testsuite/ada/acats/Makefile.rtems:1.12	Tue Dec  7 15:09:31 2010
+++ rtems-testing/gcc/testsuite/ada/acats/Makefile.rtems	Fri Jan 28 09:59:18 2011
@@ -12,6 +12,7 @@
 rtemsdir=${RTEMS_MAKEFILE_PATH}
 GNATMAKE=$(AS:as=gnatmake)
 GNATCHOP=$(AS:as=gnatchop)
+OBJCOPY=$(AS:as=objcopy)
 CARGS  = -B${rtemsdir}/lib/ -specs bsp_specs -qrtems 
 CARGS += $(LDFLAGS) $(AM_LDFLAGS)
 # RTS= --RTS=$(shell $(CC) -print-multi-directory $(CFLAGS))
@@ -64,7 +65,9 @@
 	echo "  qemuppc -C -l 90 $$"'*' >> $@
   endif # qemuppc
   ifeq ($(RTEMS_BSP),uC5282)
-	echo "  uC5282 -C -l 90 $$"'*' >> $@
+	echo "  $(OBJCOPY) -O binary $$"'*' "$$"'*'.ralf >>$@
+	echo "  uC5282 -C -l 90 $$"'*'.ralf >> $@
+	echo "  rm -f "$$'*'.ralf >>$@
   endif # uC5282
   ifeq ($(RTEMS_BSP),mcf5206elite)
 	echo "  nosim $$"'*' >> $@


 *joel*:
2011-01-28	Joel Sherrill <joel.sherrill at oarcorp.com>

	* VERSIONS: Various improvements as part of testing gcc 4.6.0.

M   1.65  ChangeLog
M   1.16  VERSIONS

diff -u rtems-testing/ChangeLog:1.64 rtems-testing/ChangeLog:1.65
--- rtems-testing/ChangeLog:1.64	Fri Jan  7 16:59:25 2011
+++ rtems-testing/ChangeLog	Fri Jan 28 09:59:24 2011
@@ -1,3 +1,7 @@
+2011-01-28	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	* VERSIONS: Various improvements as part of testing gcc 4.6.0.
+
 2011-01-07	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* gcc/do_one, gcc/testsuite/ada/acats/rtems_generate_acats_email:

diff -u rtems-testing/VERSIONS:1.15 rtems-testing/VERSIONS:1.16
--- rtems-testing/VERSIONS:1.15	Tue Dec  7 15:09:38 2010
+++ rtems-testing/VERSIONS	Fri Jan 28 09:59:24 2011
@@ -25,6 +25,7 @@
 GDBDIR=${BASEDIR}/gdb-cvs/src
 #GDBDIR=${BASEDIR}/gdb-7.1
 RTEMSDIR=${BASEDIR}/rtems
+PPL=${BASEDIR}/ppl-0.11
 
 # These are inferred from above but double check
 INSTALL=${BASEDIR}/install-${GCC_VERSION}
@@ -42,8 +43,11 @@
     GCC_EXTRA_ARGS="--with-mpfr=/opt/cfarm/mpfr-2.3.1/"
     ;;
   rtbf32a|rtbf64*|iceland*|*oarcorp*)
-    NATIVE_GCC_EXTRA_ARGS=""
-    GCC_EXTRA_ARGS=""
+    if [ x${PPL} != x ] ; then
+      NATIVE_GCC_EXTRA_ARGS="--with-ppl=${INSTALL}"
+      GCC_EXTRA_ARGS="--with-ppl=${INSTALL}"
+      export LD_LIBRARY_PATH=${INSTALL}/lib
+    fi
     ;;
   *)
     echo "UNKNOWN HOST!!!"



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110128/3b2c8d48/attachment.html>


More information about the vc mailing list