<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems-testing (2011-01-28)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-01-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* do_one, test_driver, testsuite/ada/acats/Makefile.rtems: Various
improvements as part of testing gcc 4.6.0.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/gcc/ChangeLog.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>gcc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/gcc/do_one.diff?r1=text&tr1=1.20&r2=text&tr2=1.21&diff_format=h">M</a></td><td width='1%'>1.21</td><td width='100%'>gcc/do_one</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/gcc/test_driver.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>gcc/test_driver</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/gcc/testsuite/ada/acats/Makefile.rtems.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>gcc/testsuite/ada/acats/Makefile.rtems</td></tr>
</table>
<pre>
<font color='#006600'>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
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-01-28 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * do_one, test_driver, testsuite/ada/acats/Makefile.rtems: Various
+ improvements as part of testing gcc 4.6.0.
+
</font> 2011-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* do_one: Fix script.
<font color='#006600'>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
</font><font color='#997700'>@@ -148,16 +148,41 @@
</font> cpu=${1}
bsp=${2}
<font color='#880000'>-case ${cpu} in
- m32c)
- do_ada=no
- do_cxx=no
- run_acats=no
- echo M32C does not support C++ or Ada
- ;;
- *);;
-esac
</font><font color='#000088'>+# 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
</font>
<font color='#000088'>+# When verbose, print settings
</font> if [ ${verbose} = yes ] ; then
echo "Target : " ${cpu}
echo "BSP : " ${bsp}
<font color='#997700'>@@ -219,6 +244,7 @@
</font>
TARGET=${cpu}-rtems${RTEMS_VERSION}
<font color='#000088'>+# Do we accept an alternate name for the BSP?
</font> if [ x${bsp} = xqemu ] ; then
BSP_BUILT=pc386
else
<font color='#997700'>@@ -415,6 +441,7 @@
</font> test ${do_native_ada} = "yes" && AdaArg=",ada"
${GCCDIR}/configure \
${NATIVE_GCC_EXTRA_ARGS} \
<font color='#000088'>+ --disable-werror \
</font> --enable-languages=c,c++${AdaArg} --prefix=$INSTALL &&
make ${MAKEJOBS} && make install
}
<font color='#997700'>@@ -465,6 +492,7 @@
</font>
${GCCDIR}/configure \
${GCC_EXTRA_ARGS} \
<font color='#000088'>+ --disable-werror \
</font> --enable-threads=rtems --with-gnu-as ${multilib} \
--enable-newlib-mb --enable-newlib-iconv \
--with-gnu-ld --with-newlib --verbose --with-system-zlib --disable-nls \
<font color='#997700'>@@ -614,8 +642,7 @@
</font> ${GCCDIR}/configure \
${GCC_EXTRA_ARGS} \
--enable-threads=rtems --with-gnu-as ${ada_multilib} \
<font color='#880000'>- --enable-newlib-mb --enable-newlib-iconv \
- --with-gnu-ld --with-newlib --verbose --with-system-zlib --disable-nls \
</font><font color='#000088'>+ --with-gnu-ld --disable-newlib --verbose --with-system-zlib --disable-nls \
</font> CFLAGS_FOR_TARGET=-B${BSP_INSTALL}/${TARGET}/${BSP_BUILT}/lib/ \
--enable-version-specific-runtime-libs \
--enable-languages=c,ada --target=$TARGET --prefix=$INSTALL &&
<font color='#997700'>@@ -699,8 +726,8 @@
</font> ${GCC_EXTRA_ARGS} \
CFLAGS_FOR_TARGET="-B${BSP_INSTALL}/${TARGET}/${BSP_BUILT}/lib/ ${GOFLAGS}" \
--enable-threads=rtems --with-gnu-as ${gccgo_multilib} \
<font color='#880000'>- --enable-newlib-mb --enable-newlib-iconv \
- --with-gnu-ld --with-newlib --verbose --with-system-zlib --disable-nls \
</font><font color='#000088'>+ --with-gnu-ld --disable-newlib --verbose \
+ --with-system-zlib --disable-nls \
</font> --enable-version-specific-runtime-libs \
--with-host-libstdcxx=-static-libstdc++ \
--enable-languages=c,go --target=$TARGET --prefix=$INSTALL &&
<font color='#006600'>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
</font><font color='#997700'>@@ -29,6 +29,13 @@
</font> fi
done
<font color='#000088'>+if [ x${PPL} != x ] ; then
+ if [ ! -d ${PPL} ] ; then
+ echo "Cannot locate ${d} -- aborting"
+ exit 1
+ fi
+fi
+
</font> toggle()
{
case $1 in
<font color='#997700'>@@ -101,6 +108,17 @@
</font> fi
done
<font color='#000088'>+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
</font>
if [ ${verbose} = "yes" ] ; then
echo "Clean Install Point: " ${doCleanInstallPoint}
<font color='#997700'>@@ -112,11 +130,7 @@
</font> echo "Build GCC Go: " ${doGccGo}
echo "Email Results: " ${doMail}
echo "Run Tests: " ${doTests}
<font color='#880000'>- if [ "X${CPUs}" = "X" ] ; then
- echo "CPUs to Build: " ALL
- else
- echo "CPUs to Build: " ${CPUs}
- fi
</font><font color='#000088'>+ echo "CPUs to Build: " ${CPUs}
</font> fi
test ${doMail} = "no" && mailArg="-M"
<font color='#997700'>@@ -175,6 +189,19 @@
</font> done
}
<font color='#000088'>+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
+}
+
</font> # This handles GNU tools from CVS
update_others()
{
<font color='#997700'>@@ -221,7 +248,9 @@
</font> esac
doOne=${SCRIPTDIR}/gcc/do_one<span style="background-color: #FF0000"> </span>
<font color='#880000'>- time sh -x ${doOne} -v -b -D -1 -d -r ${gccgoArg} ${adaArg} ${mailArg} ${testArg} \
</font><font color='#000088'>+ echo "Building ${cpu}/${bsp}..."<span style="background-color: #FF0000"> </span>
+ time sh -x ${doOne} -v -b -D -1 -d -r \
+ ${gccgoArg} ${adaArg} ${mailArg} ${testArg} \
</font> ${cpu} ${bsp} >${BASEDIR}/${bsp}.log 2>&1
echo $?
done
<font color='#997700'>@@ -231,8 +260,6 @@
</font> echo Stopped at: ${stopped}
}
<font color='#880000'>-update_gcc
-
</font> if [ ${doCleanInstallPoint} = "yes" ] ; then
# Clean the install point
clean_up
<font color='#997700'>@@ -246,6 +273,9 @@
</font> update_gcc
update_others
fi
<font color='#000088'>+ if [ ! -r ${INSTALL}/lib/libppl.a ] ; then
+ install_ppl
+ fi
</font> wait
# Do any remaining prep work in parallel
<font color='#997700'>@@ -261,28 +291,10 @@
</font>
# Now cycle over all these CPUs
if [ $? -eq 0 ] ; then
<font color='#880000'>- 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
-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+ for cpu in ${CPUs}
+ do
+ do_cpus ${cpu}
+ done
</font> fi
stopped=`date`
<font color='#006600'>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
</font><font color='#997700'>@@ -12,6 +12,7 @@
</font> rtemsdir=${RTEMS_MAKEFILE_PATH}
GNATMAKE=$(AS:as=gnatmake)
GNATCHOP=$(AS:as=gnatchop)
<font color='#000088'>+OBJCOPY=$(AS:as=objcopy)
</font> CARGS = -B${rtemsdir}/lib/ -specs bsp_specs -qrtems<span style="background-color: #FF0000"> </span>
CARGS += $(LDFLAGS) $(AM_LDFLAGS)
# RTS= --RTS=$(shell $(CC) -print-multi-directory $(CFLAGS))
<font color='#997700'>@@ -64,7 +65,9 @@
</font> echo " qemuppc -C -l 90 $$"'*' >> $@
endif # qemuppc
ifeq ($(RTEMS_BSP),uC5282)
<font color='#880000'>- echo " uC5282 -C -l 90 $$"'*' >> $@
</font><font color='#000088'>+ echo " $(OBJCOPY) -O binary $$"'*' "$$"'*'.ralf >>$@
+ echo " uC5282 -C -l 90 $$"'*'.ralf >> $@
+ echo " rm -f "$$'*'.ralf >>$@
</font> endif # uC5282
ifeq ($(RTEMS_BSP),mcf5206elite)
echo " nosim $$"'*' >> $@
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-01-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* VERSIONS: Various improvements as part of testing gcc 4.6.0.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/ChangeLog.diff?r1=text&tr1=1.64&r2=text&tr2=1.65&diff_format=h">M</a></td><td width='1%'>1.65</td><td width='100%'>ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/VERSIONS.diff?r1=text&tr1=1.15&r2=text&tr2=1.16&diff_format=h">M</a></td><td width='1%'>1.16</td><td width='100%'>VERSIONS</td></tr>
</table>
<pre>
<font color='#006600'>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
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-01-28 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * VERSIONS: Various improvements as part of testing gcc 4.6.0.
+
</font> 2011-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* gcc/do_one, gcc/testsuite/ada/acats/rtems_generate_acats_email:
<font color='#006600'>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
</font><font color='#997700'>@@ -25,6 +25,7 @@
</font> GDBDIR=${BASEDIR}/gdb-cvs/src
#GDBDIR=${BASEDIR}/gdb-7.1
RTEMSDIR=${BASEDIR}/rtems
<font color='#000088'>+PPL=${BASEDIR}/ppl-0.11
</font>
# These are inferred from above but double check
INSTALL=${BASEDIR}/install-${GCC_VERSION}
<font color='#997700'>@@ -42,8 +43,11 @@
</font> GCC_EXTRA_ARGS="--with-mpfr=/opt/cfarm/mpfr-2.3.1/"
;;
rtbf32a|rtbf64*|iceland*|*oarcorp*)
<font color='#880000'>- NATIVE_GCC_EXTRA_ARGS=""
- GCC_EXTRA_ARGS=""
</font><font color='#000088'>+ 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
</font> ;;
*)
echo "UNKNOWN HOST!!!"
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>