targettype armv5tel requires "gcc"
targettype armv5tel requires "gcc-c++"
-
targettype armv5tel prefix /emul/ia32-linux
targettype armv5tel extension -arm
targettype armv5tel +/
targettype armv5tel post " echo \"GCCVER: $GCCVER GCCVER_NEW: $GCCVER_NEW \" "
targettype armv5tel post " if test "${GCCVER}" == "${GCCVER_NEW}"; then"
targettype armv5tel post " echo "GCC and GCC-accel versions match. Enabling cross-compiler." "
- targettype armv5tel post " for bin in gcc g++ ; do "
+ targettype armv5tel post " for bin in c++ c89 c99 cpp g++ gcc gcov ; do "
targettype armv5tel post " binary="/usr/bin/${bin}" "
- targettype armv5tel post " if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
- targettype armv5tel post " mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
- targettype armv5tel post " else "
+ targettype armv5tel post " if test -L ${binary} -a -e ${binary}.orig-arm ; then"
targettype armv5tel post " echo "${binary} not installed or ${binary}.orig-arm already present !" "
+ targettype armv5tel post " else "
+ targettype armv5tel post " mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
targettype armv5tel post " fi "
targettype armv5tel post " done "
- targettype armv5tel post " for bin in cc1 cc1plus ; do "
+ targettype armv5tel post " for bin in cc1 cc1plus collect2 lto-wrapper lto1 ; do "
targettype armv5tel post " binary="/usr/libexec/gcc/armv5tel-tizen-linux-gnueabi/$GCCVER/$bin" "
- targettype armv5tel post " if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
- targettype armv5tel post " mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv5tel-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
- targettype armv5tel post " else "
+ targettype armv5tel post " if test -L ${binary} -a -e ${binary}.orig-arm ; then"
targettype armv5tel post " echo "${binary} not installed or ${binary}.orig-arm already present !" "
+ targettype armv5tel post " else "
+ targettype armv5tel post " mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv5tel-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
targettype armv5tel post " fi "
targettype armv5tel post " done "
targettype armv5tel post " else"
targettype armv5tel post " echo "GCC and GCC-accel versions don't match. Rollback also binutils..." "
- targettype armv5tel post " for bin in addr2line ar as c++filt gprov ld nm objcopy objdump ranlib readelf size strings strip ; do"
+ targettype armv5tel post " for bin in addr2line ar as c++filt gprov ld ld.bfd nm objcopy objdump ranlib readelf size strings strip ; do"
targettype armv5tel post " binary="/usr/bin/${bin}" "
targettype armv5tel post " if test -e ${binary}.orig-arm ; then"
targettype armv5tel post " rm ${binary} && mv ${binary}.orig-arm ${binary}"
targettype armv5tel post " echo "${binary}.orig-arm not present !" "
targettype armv5tel post " fi "
targettype armv5tel post " done "
+ targettype armv5tel post " rm -f /usr/libexec/gcc/armv5tel-tizen-linux-gnueabi/4.5.3/ld"
+ targettype armv5tel post " rm -f /usr/libexec/gcc/armv5tel-tizen-linux-gnueabi/4.5.3/ld.bfd"
+
targettype armv5tel post " fi"
targettype armv5tel preun " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
- targettype armv5tel preun " for i in gcc g++ ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
- targettype armv5tel preun " for i in cc1 cc1plus ; do cd /usr/libexec/gcc/armv5tel-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "
+ targettype armv5tel preun " for i in c++ c89 c99 cpp g++ gcc gcov ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
+ targettype armv5tel preun " for i in cc1 cc1plus collect2 lto-wrapper lto1 ; do cd /usr/libexec/gcc/armv5tel-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "
targettype armv6l requires "gcc"
targettype armv6l requires "gcc-c++"
-
targettype armv6l prefix /emul/ia32-linux
targettype armv6l extension -arm
targettype armv6l +/
targettype armv6l post " echo \"GCCVER: $GCCVER GCCVER_NEW: $GCCVER_NEW \" "
targettype armv6l post " if test "${GCCVER}" == "${GCCVER_NEW}"; then"
targettype armv6l post " echo "GCC and GCC-accel versions match. Enabling cross-compiler." "
- targettype armv6l post " for bin in gcc g++ ; do "
+ targettype armv6l post " for bin in c++ c89 c99 cpp g++ gcc gcov ; do "
targettype armv6l post " binary="/usr/bin/${bin}" "
- targettype armv6l post " if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
- targettype armv6l post " mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
- targettype armv6l post " else "
+ targettype armv6l post " if test -L ${binary} -a -e ${binary}.orig-arm ; then"
targettype armv6l post " echo "${binary} not installed or ${binary}.orig-arm already present !" "
+ targettype armv6l post " else "
+ targettype armv6l post " mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
targettype armv6l post " fi "
targettype armv6l post " done "
- targettype armv6l post " for bin in cc1 cc1plus ; do "
+ targettype armv6l post " for bin in cc1 cc1plus collect2 lto-wrapper lto1 ; do "
targettype armv6l post " binary="/usr/libexec/gcc/armv6l-tizen-linux-gnueabi/$GCCVER/$bin" "
- targettype armv6l post " if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
- targettype armv6l post " mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv6l-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
- targettype armv6l post " else "
+ targettype armv6l post " if test -L ${binary} -a -e ${binary}.orig-arm ; then"
targettype armv6l post " echo "${binary} not installed or ${binary}.orig-arm already present !" "
+ targettype armv6l post " else "
+ targettype armv6l post " mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv6l-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
targettype armv6l post " fi "
targettype armv6l post " done "
targettype armv6l post " else"
targettype armv6l post " echo "GCC and GCC-accel versions don't match. Rollback also binutils..." "
- targettype armv6l post " for bin in addr2line ar as c++filt gprov ld nm objcopy objdump ranlib readelf size strings strip ; do"
+ targettype armv6l post " for bin in addr2line ar as c++filt gprov ld ld.bfd nm objcopy objdump ranlib readelf size strings strip ; do"
targettype armv6l post " binary="/usr/bin/${bin}" "
targettype armv6l post " if test -e ${binary}.orig-arm ; then"
targettype armv6l post " rm ${binary} && mv ${binary}.orig-arm ${binary}"
targettype armv6l post " echo "${binary}.orig-arm not present !" "
targettype armv6l post " fi "
targettype armv6l post " done "
+ targettype armv6l post " rm -f /usr/libexec/gcc/armv6l-tizen-linux-gnueabi/4.5.3/ld"
+ targettype armv6l post " rm -f /usr/libexec/gcc/armv6l-tizen-linux-gnueabi/4.5.3/ld.bfd"
+
targettype armv6l post " fi"
targettype armv6l preun " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
- targettype armv6l preun " for i in gcc g++ ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
- targettype armv6l preun " for i in cc1 cc1plus ; do cd /usr/libexec/gcc/armv6l-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "
+ targettype armv6l preun " for i in c++ c89 c99 cpp g++ gcc gcov ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
+ targettype armv6l preun " for i in cc1 cc1plus collect2 lto-wrapper lto1 ; do cd /usr/libexec/gcc/armv6l-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "
targettype armv7l requires "gcc"
targettype armv7l requires "gcc-c++"
-
targettype armv7l prefix /emul/ia32-linux
targettype armv7l extension -arm
targettype armv7l +/
targettype armv7l post " echo \"GCCVER: $GCCVER GCCVER_NEW: $GCCVER_NEW \" "
targettype armv7l post " if test "${GCCVER}" == "${GCCVER_NEW}"; then"
targettype armv7l post " echo "GCC and GCC-accel versions match. Enabling cross-compiler." "
- targettype armv7l post " for bin in gcc g++ ; do "
+ targettype armv7l post " for bin in c++ c89 c99 cpp g++ gcc gcov ; do "
targettype armv7l post " binary="/usr/bin/${bin}" "
- targettype armv7l post " if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
- targettype armv7l post " mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
- targettype armv7l post " else "
+ targettype armv7l post " if test -L ${binary} -a -e ${binary}.orig-arm ; then"
targettype armv7l post " echo "${binary} not installed or ${binary}.orig-arm already present !" "
+ targettype armv7l post " else "
+ targettype armv7l post " mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
targettype armv7l post " fi "
targettype armv7l post " done "
- targettype armv7l post " for bin in cc1 cc1plus ; do "
+ targettype armv7l post " for bin in cc1 cc1plus collect2 lto-wrapper lto1 ; do "
targettype armv7l post " binary="/usr/libexec/gcc/armv7l-tizen-linux-gnueabi/$GCCVER/$bin" "
- targettype armv7l post " if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
- targettype armv7l post " mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv7l-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
- targettype armv7l post " else "
+ targettype armv7l post " if test -L ${binary} -a -e ${binary}.orig-arm ; then"
targettype armv7l post " echo "${binary} not installed or ${binary}.orig-arm already present !" "
+ targettype armv7l post " else "
+ targettype armv7l post " mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv7l-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
targettype armv7l post " fi "
targettype armv7l post " done "
targettype armv7l post " else"
targettype armv7l post " echo "GCC and GCC-accel versions don't match. Rollback also binutils..." "
- targettype armv7l post " for bin in addr2line ar as c++filt gprov ld nm objcopy objdump ranlib readelf size strings strip ; do"
+ targettype armv7l post " for bin in addr2line ar as c++filt gprov ld ld.bfd nm objcopy objdump ranlib readelf size strings strip ; do"
targettype armv7l post " binary="/usr/bin/${bin}" "
targettype armv7l post " if test -e ${binary}.orig-arm ; then"
targettype armv7l post " rm ${binary} && mv ${binary}.orig-arm ${binary}"
targettype armv7l post " echo "${binary}.orig-arm not present !" "
targettype armv7l post " fi "
targettype armv7l post " done "
+ targettype armv7l post " rm -f /usr/libexec/gcc/armv7l-tizen-linux-gnueabi/4.5.3/ld"
+ targettype armv7l post " rm -f /usr/libexec/gcc/armv7l-tizen-linux-gnueabi/4.5.3/ld.bfd"
+
targettype armv7l post " fi"
targettype armv7l preun " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
- targettype armv7l preun " for i in gcc g++ ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
- targettype armv7l preun " for i in cc1 cc1plus ; do cd /usr/libexec/gcc/armv7l-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "
+ targettype armv7l preun " for i in c++ c89 c99 cpp g++ gcc gcov ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
+ targettype armv7l preun " for i in cc1 cc1plus collect2 lto-wrapper lto1 ; do cd /usr/libexec/gcc/armv7l-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "
targettype armv7hl requires "gcc"
targettype armv7hl requires "gcc-c++"
-
targettype armv7hl prefix /emul/ia32-linux
targettype armv7hl extension -arm
targettype armv7hl +/
targettype armv7hl post " echo \"GCCVER: $GCCVER GCCVER_NEW: $GCCVER_NEW \" "
targettype armv7hl post " if test "${GCCVER}" == "${GCCVER_NEW}"; then"
targettype armv7hl post " echo "GCC and GCC-accel versions match. Enabling cross-compiler." "
- targettype armv7hl post " for bin in gcc g++ ; do "
+ targettype armv7hl post " for bin in c++ c89 c99 cpp g++ gcc gcov ; do "
targettype armv7hl post " binary="/usr/bin/${bin}" "
- targettype armv7hl post " if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
- targettype armv7hl post " mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
- targettype armv7hl post " else "
+ targettype armv7hl post " if test -L ${binary} -a -e ${binary}.orig-arm ; then"
targettype armv7hl post " echo "${binary} not installed or ${binary}.orig-arm already present !" "
+ targettype armv7hl post " else "
+ targettype armv7hl post " mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
targettype armv7hl post " fi "
targettype armv7hl post " done "
- targettype armv7hl post " for bin in cc1 cc1plus ; do "
+ targettype armv7hl post " for bin in cc1 cc1plus collect2 lto-wrapper lto1 ; do "
targettype armv7hl post " binary="/usr/libexec/gcc/armv7hl-tizen-linux-gnueabi/$GCCVER/$bin" "
- targettype armv7hl post " if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
- targettype armv7hl post " mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv7hl-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
- targettype armv7hl post " else "
+ targettype armv7hl post " if test -L ${binary} -a -e ${binary}.orig-arm ; then"
targettype armv7hl post " echo "${binary} not installed or ${binary}.orig-arm already present !" "
+ targettype armv7hl post " else "
+ targettype armv7hl post " mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv7hl-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
targettype armv7hl post " fi "
targettype armv7hl post " done "
targettype armv7hl post " else"
targettype armv7hl post " echo "GCC and GCC-accel versions don't match. Rollback also binutils..." "
- targettype armv7hl post " for bin in addr2line ar as c++filt gprov ld nm objcopy objdump ranlib readelf size strings strip ; do"
+ targettype armv7hl post " for bin in addr2line ar as c++filt gprov ld ld.bfd nm objcopy objdump ranlib readelf size strings strip ; do"
targettype armv7hl post " binary="/usr/bin/${bin}" "
targettype armv7hl post " if test -e ${binary}.orig-arm ; then"
targettype armv7hl post " rm ${binary} && mv ${binary}.orig-arm ${binary}"
targettype armv7hl post " echo "${binary}.orig-arm not present !" "
targettype armv7hl post " fi "
targettype armv7hl post " done "
+ targettype armv7hl post " rm -f /usr/libexec/gcc/armv7hl-tizen-linux-gnueabi/4.5.3/ld"
+ targettype armv7hl post " rm -f /usr/libexec/gcc/armv7hl-tizen-linux-gnueabi/4.5.3/ld.bfd"
+
targettype armv7hl post " fi"
targettype armv7hl preun " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
- targettype armv7hl preun " for i in gcc g++ ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
- targettype armv7hl preun " for i in cc1 cc1plus ; do cd /usr/libexec/gcc/armv7hl-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "
+ targettype armv7hl preun " for i in c++ c89 c99 cpp g++ gcc gcov ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
+ targettype armv7hl preun " for i in cc1 cc1plus collect2 lto-wrapper lto1 ; do cd /usr/libexec/gcc/armv7hl-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "
targettype armv7nhl requires "gcc"
targettype armv7nhl requires "gcc-c++"
-
targettype armv7nhl prefix /emul/ia32-linux
targettype armv7nhl extension -arm
targettype armv7nhl +/
targettype armv7nhl post " echo \"GCCVER: $GCCVER GCCVER_NEW: $GCCVER_NEW \" "
targettype armv7nhl post " if test "${GCCVER}" == "${GCCVER_NEW}"; then"
targettype armv7nhl post " echo "GCC and GCC-accel versions match. Enabling cross-compiler." "
- targettype armv7nhl post " for bin in gcc g++ ; do "
+ targettype armv7nhl post " for bin in c++ c89 c99 cpp g++ gcc gcov ; do "
targettype armv7nhl post " binary="/usr/bin/${bin}" "
- targettype armv7nhl post " if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
- targettype armv7nhl post " mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
- targettype armv7nhl post " else "
+ targettype armv7nhl post " if test -L ${binary} -a -e ${binary}.orig-arm ; then"
targettype armv7nhl post " echo "${binary} not installed or ${binary}.orig-arm already present !" "
+ targettype armv7nhl post " else "
+ targettype armv7nhl post " mv ${binary} ${binary}.orig-arm && cp <prefix>${binary} ${binary}"
targettype armv7nhl post " fi "
targettype armv7nhl post " done "
- targettype armv7nhl post " for bin in cc1 cc1plus ; do "
+ targettype armv7nhl post " for bin in cc1 cc1plus collect2 lto-wrapper lto1 ; do "
targettype armv7nhl post " binary="/usr/libexec/gcc/armv7nhl-tizen-linux-gnueabi/$GCCVER/$bin" "
- targettype armv7nhl post " if test -e ${binary} -a ! -e ${binary}.orig-arm ; then"
- targettype armv7nhl post " mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv7nhl-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
- targettype armv7nhl post " else "
+ targettype armv7nhl post " if test -L ${binary} -a -e ${binary}.orig-arm ; then"
targettype armv7nhl post " echo "${binary} not installed or ${binary}.orig-arm already present !" "
+ targettype armv7nhl post " else "
+ targettype armv7nhl post " mv ${binary} ${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/armv7nhl-tizen-linux-gnueabi/$GCCVER_NEW/${bin} ${binary}"
targettype armv7nhl post " fi "
targettype armv7nhl post " done "
targettype armv7nhl post " else"
targettype armv7nhl post " echo "GCC and GCC-accel versions don't match. Rollback also binutils..." "
- targettype armv7nhl post " for bin in addr2line ar as c++filt gprov ld nm objcopy objdump ranlib readelf size strings strip ; do"
+ targettype armv7nhl post " for bin in addr2line ar as c++filt gprov ld ld.bfd nm objcopy objdump ranlib readelf size strings strip ; do"
targettype armv7nhl post " binary="/usr/bin/${bin}" "
targettype armv7nhl post " if test -e ${binary}.orig-arm ; then"
targettype armv7nhl post " rm ${binary} && mv ${binary}.orig-arm ${binary}"
targettype armv7nhl post " echo "${binary}.orig-arm not present !" "
targettype armv7nhl post " fi "
targettype armv7nhl post " done "
+ targettype armv7nhl post " rm -f /usr/libexec/gcc/armv7nhl-tizen-linux-gnueabi/4.5.3/ld"
+ targettype armv7nhl post " rm -f /usr/libexec/gcc/armv7nhl-tizen-linux-gnueabi/4.5.3/ld.bfd"
+
targettype armv7nhl post " fi"
targettype armv7nhl preun " export GCCVER=$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
- targettype armv7nhl preun " for i in gcc g++ ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
- targettype armv7nhl preun " for i in cc1 cc1plus ; do cd /usr/libexec/gcc/armv7nhl-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "
+ targettype armv7nhl preun " for i in c++ c89 c99 cpp g++ gcc gcov ; do if test -e /usr/bin/${i}.orig-arm ; then rm /usr/bin/${i} ; mv /usr/bin/${i}.orig-arm /usr/bin/${i}; fi ; done "
+ targettype armv7nhl preun " for i in cc1 cc1plus collect2 lto-wrapper lto1 ; do cd /usr/libexec/gcc/armv7nhl-tizen-linux-gnueabi/$GCCVER ; if test -e ${i}.orig-arm ; then rm ${i} ; mv ${i}.orig-arm ${i} ; fi ; done "
%if "%{name}" == "cross-armv7l-gcc"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
%if "%{name}" == "cross-armv7l-gcc-accel"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc-accel"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
# single target atm.
ExclusiveArch: %ix86
#
-# special handling for ARM build acceleration
+# special handling for Tizen ARM build acceleration
# cross-armv*-gcc-accel
%if "%(echo %{name} | sed -e "s/cross-.*-gcc-\\(.*\\)/\\1/")" == "accel"
# cross architecture
Source200: baselibs.conf
Source300: precheckin.sh
Source301: aaa_README.PACKAGER
-Source1001: packaging/cross-armv5tel-gcc-accel.manifest
BuildRequires: binutils >= 2.19.51.0.14
BuildRequires: eglibc-devel >= 2.4.90-13
Patch21:libstdc++-arm-wno-abi.diff
Patch22:arm-unbreak-eabi-armv4t.diff
Patch23:gcc-multiarch.diff
-Patch24:config-ml.diff
+#Patch24:config-ml.diff
Patch25:gcc-no-add-needed.diff
Patch26:gcc-as-needed.diff
Patch27:gcc-system-root.diff
Patch28:armhf-triplet-backport.diff
-Patch39: gcc-4.5-build-id.patch
+#Patch39: gcc-4.5-build-id.patch
Patch40: gcc-4.5.1-arm-stack-protect-libgcc.patch
Patch41: libgcc_post_upgrade.c.arm.patch
Patch42: fix-memory-exhausted.patch
+Patch100: incorrect-immediate-for-movt.diff
+Patch101: libgomp-ftls-global-dynamic.diff
#We need -gnueabi indicator for ARM
%ifnarch %{arm}
%global _gnu %{nil}
%patch21 -p2
%patch22 -p2
%patch23 -p2
-%patch24 -p2
+#%patch24 -p2
%patch25 -p2
-%patch26 -p2
+#%patch26 -p2
%patch27 -p2
%patch28 -p2
-%patch39 -p0
+#%patch39 -p0
%patch40 -p1
%ifarch %arm
%patch42 -p1
%endif
+%patch100 -p0
+%patch101 -p0
+
echo '%{version}' >gcc/BASE-VER
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
%build
-cp %{SOURCE1001} .
rm -fr obj-%{gcc_target_platform}
mkdir obj-%{gcc_target_platform}
cd obj-%{gcc_target_platform}
%postun -n libmudflap -p /sbin/ldconfig
%files
-%manifest cross-armv5tel-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%doc gcc/README* gcc/COPYING*
%files -n cpp
-%manifest cross-armv5tel-gcc-accel.manifest
%defattr(-,root,root,-)
/lib/cpp
%{_prefix}/bin/cpp
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
%files -n libgcc
-%manifest cross-armv5tel-gcc-accel.manifest
%defattr(-,root,root,-)
/%{_lib}/libgcc_s-%{gcc_version}.so.1
/%{_lib}/libgcc_s.*
%endif
%files c++
-%manifest cross-armv5tel-gcc-accel.manifest
%defattr(-,root,root,-)
%ifnarch %{arm}
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%files -n libstdc++
-%manifest cross-armv5tel-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libstdc++.*
%dir %{_datadir}/gdb
%{_prefix}/share/gcc-%{gcc_version}/python
%files -n libstdc++-devel
-%manifest cross-armv5tel-gcc-accel.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/include/c++
%dir %{_prefix}/include/c++/%{gcc_version}
%endif
%files -n libgomp
-%manifest cross-armv5tel-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libgomp.*
%files -n libmudflap
-%manifest cross-armv5tel-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libmudflap.*
%{_prefix}/%{_lib}/libmudflapth.*
%files -n libmudflap-devel
-%manifest cross-armv5tel-gcc-accel.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/lib/gcc
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
# cross
# \/\/\/
%files
-%manifest cross-armv5tel-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}
# /\/\/\
%if "%{name}" == "cross-armv7l-gcc"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
%if "%{name}" == "cross-armv7l-gcc-accel"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc-accel"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
# single target atm.
ExclusiveArch: %ix86
#
-# special handling for ARM build acceleration
+# special handling for Tizen ARM build acceleration
# cross-armv*-gcc-accel
%if "%(echo %{name} | sed -e "s/cross-.*-gcc-\\(.*\\)/\\1/")" == "accel"
# cross architecture
Source200: baselibs.conf
Source300: precheckin.sh
Source301: aaa_README.PACKAGER
-Source1001: packaging/cross-armv5tel-gcc.manifest
BuildRequires: binutils >= 2.19.51.0.14
BuildRequires: eglibc-devel >= 2.4.90-13
Patch21:libstdc++-arm-wno-abi.diff
Patch22:arm-unbreak-eabi-armv4t.diff
Patch23:gcc-multiarch.diff
-Patch24:config-ml.diff
+#Patch24:config-ml.diff
Patch25:gcc-no-add-needed.diff
Patch26:gcc-as-needed.diff
Patch27:gcc-system-root.diff
Patch28:armhf-triplet-backport.diff
-Patch39: gcc-4.5-build-id.patch
+#Patch39: gcc-4.5-build-id.patch
Patch40: gcc-4.5.1-arm-stack-protect-libgcc.patch
Patch41: libgcc_post_upgrade.c.arm.patch
Patch42: fix-memory-exhausted.patch
+Patch100: incorrect-immediate-for-movt.diff
+Patch101: libgomp-ftls-global-dynamic.diff
#We need -gnueabi indicator for ARM
%ifnarch %{arm}
%global _gnu %{nil}
%patch21 -p2
%patch22 -p2
%patch23 -p2
-%patch24 -p2
+#%patch24 -p2
%patch25 -p2
-%patch26 -p2
+#%patch26 -p2
%patch27 -p2
%patch28 -p2
-%patch39 -p0
+#%patch39 -p0
%patch40 -p1
%ifarch %arm
%patch42 -p1
%endif
+%patch100 -p0
+%patch101 -p0
+
echo '%{version}' >gcc/BASE-VER
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
%build
-cp %{SOURCE1001} .
rm -fr obj-%{gcc_target_platform}
mkdir obj-%{gcc_target_platform}
cd obj-%{gcc_target_platform}
%postun -n libmudflap -p /sbin/ldconfig
%files
-%manifest cross-armv5tel-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%doc gcc/README* gcc/COPYING*
%files -n cpp
-%manifest cross-armv5tel-gcc.manifest
%defattr(-,root,root,-)
/lib/cpp
%{_prefix}/bin/cpp
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
%files -n libgcc
-%manifest cross-armv5tel-gcc.manifest
%defattr(-,root,root,-)
/%{_lib}/libgcc_s-%{gcc_version}.so.1
/%{_lib}/libgcc_s.*
%endif
%files c++
-%manifest cross-armv5tel-gcc.manifest
%defattr(-,root,root,-)
%ifnarch %{arm}
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%files -n libstdc++
-%manifest cross-armv5tel-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libstdc++.*
%dir %{_datadir}/gdb
%{_prefix}/share/gcc-%{gcc_version}/python
%files -n libstdc++-devel
-%manifest cross-armv5tel-gcc.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/include/c++
%dir %{_prefix}/include/c++/%{gcc_version}
%endif
%files -n libgomp
-%manifest cross-armv5tel-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libgomp.*
%files -n libmudflap
-%manifest cross-armv5tel-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libmudflap.*
%{_prefix}/%{_lib}/libmudflapth.*
%files -n libmudflap-devel
-%manifest cross-armv5tel-gcc.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/lib/gcc
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
# cross
# \/\/\/
%files
-%manifest cross-armv5tel-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}
# /\/\/\
%if "%{name}" == "cross-armv7l-gcc"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
%if "%{name}" == "cross-armv7l-gcc-accel"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc-accel"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
# single target atm.
ExclusiveArch: %ix86
#
-# special handling for ARM build acceleration
+# special handling for Tizen ARM build acceleration
# cross-armv*-gcc-accel
%if "%(echo %{name} | sed -e "s/cross-.*-gcc-\\(.*\\)/\\1/")" == "accel"
# cross architecture
Source200: baselibs.conf
Source300: precheckin.sh
Source301: aaa_README.PACKAGER
-Source1001: packaging/cross-armv6l-gcc-accel.manifest
BuildRequires: binutils >= 2.19.51.0.14
BuildRequires: eglibc-devel >= 2.4.90-13
Patch21:libstdc++-arm-wno-abi.diff
Patch22:arm-unbreak-eabi-armv4t.diff
Patch23:gcc-multiarch.diff
-Patch24:config-ml.diff
+#Patch24:config-ml.diff
Patch25:gcc-no-add-needed.diff
Patch26:gcc-as-needed.diff
Patch27:gcc-system-root.diff
Patch28:armhf-triplet-backport.diff
-Patch39: gcc-4.5-build-id.patch
+#Patch39: gcc-4.5-build-id.patch
Patch40: gcc-4.5.1-arm-stack-protect-libgcc.patch
Patch41: libgcc_post_upgrade.c.arm.patch
Patch42: fix-memory-exhausted.patch
+Patch100: incorrect-immediate-for-movt.diff
+Patch101: libgomp-ftls-global-dynamic.diff
#We need -gnueabi indicator for ARM
%ifnarch %{arm}
%global _gnu %{nil}
%patch21 -p2
%patch22 -p2
%patch23 -p2
-%patch24 -p2
+#%patch24 -p2
%patch25 -p2
-%patch26 -p2
+#%patch26 -p2
%patch27 -p2
%patch28 -p2
-%patch39 -p0
+#%patch39 -p0
%patch40 -p1
%ifarch %arm
%patch42 -p1
%endif
+%patch100 -p0
+%patch101 -p0
+
echo '%{version}' >gcc/BASE-VER
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
%build
-cp %{SOURCE1001} .
rm -fr obj-%{gcc_target_platform}
mkdir obj-%{gcc_target_platform}
cd obj-%{gcc_target_platform}
%postun -n libmudflap -p /sbin/ldconfig
%files
-%manifest cross-armv6l-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%doc gcc/README* gcc/COPYING*
%files -n cpp
-%manifest cross-armv6l-gcc-accel.manifest
%defattr(-,root,root,-)
/lib/cpp
%{_prefix}/bin/cpp
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
%files -n libgcc
-%manifest cross-armv6l-gcc-accel.manifest
%defattr(-,root,root,-)
/%{_lib}/libgcc_s-%{gcc_version}.so.1
/%{_lib}/libgcc_s.*
%endif
%files c++
-%manifest cross-armv6l-gcc-accel.manifest
%defattr(-,root,root,-)
%ifnarch %{arm}
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%files -n libstdc++
-%manifest cross-armv6l-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libstdc++.*
%dir %{_datadir}/gdb
%{_prefix}/share/gcc-%{gcc_version}/python
%files -n libstdc++-devel
-%manifest cross-armv6l-gcc-accel.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/include/c++
%dir %{_prefix}/include/c++/%{gcc_version}
%endif
%files -n libgomp
-%manifest cross-armv6l-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libgomp.*
%files -n libmudflap
-%manifest cross-armv6l-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libmudflap.*
%{_prefix}/%{_lib}/libmudflapth.*
%files -n libmudflap-devel
-%manifest cross-armv6l-gcc-accel.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/lib/gcc
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
# cross
# \/\/\/
%files
-%manifest cross-armv6l-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}
# /\/\/\
%if "%{name}" == "cross-armv7l-gcc"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
%if "%{name}" == "cross-armv7l-gcc-accel"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc-accel"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
# single target atm.
ExclusiveArch: %ix86
#
-# special handling for ARM build acceleration
+# special handling for Tizen ARM build acceleration
# cross-armv*-gcc-accel
%if "%(echo %{name} | sed -e "s/cross-.*-gcc-\\(.*\\)/\\1/")" == "accel"
# cross architecture
Source200: baselibs.conf
Source300: precheckin.sh
Source301: aaa_README.PACKAGER
-Source1001: packaging/cross-armv6l-gcc.manifest
BuildRequires: binutils >= 2.19.51.0.14
BuildRequires: eglibc-devel >= 2.4.90-13
Patch21:libstdc++-arm-wno-abi.diff
Patch22:arm-unbreak-eabi-armv4t.diff
Patch23:gcc-multiarch.diff
-Patch24:config-ml.diff
+#Patch24:config-ml.diff
Patch25:gcc-no-add-needed.diff
Patch26:gcc-as-needed.diff
Patch27:gcc-system-root.diff
Patch28:armhf-triplet-backport.diff
-Patch39: gcc-4.5-build-id.patch
+#Patch39: gcc-4.5-build-id.patch
Patch40: gcc-4.5.1-arm-stack-protect-libgcc.patch
Patch41: libgcc_post_upgrade.c.arm.patch
Patch42: fix-memory-exhausted.patch
+Patch100: incorrect-immediate-for-movt.diff
+Patch101: libgomp-ftls-global-dynamic.diff
#We need -gnueabi indicator for ARM
%ifnarch %{arm}
%global _gnu %{nil}
%patch21 -p2
%patch22 -p2
%patch23 -p2
-%patch24 -p2
+#%patch24 -p2
%patch25 -p2
-%patch26 -p2
+#%patch26 -p2
%patch27 -p2
%patch28 -p2
-%patch39 -p0
+#%patch39 -p0
%patch40 -p1
%ifarch %arm
%patch42 -p1
%endif
+%patch100 -p0
+%patch101 -p0
+
echo '%{version}' >gcc/BASE-VER
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
%build
-cp %{SOURCE1001} .
rm -fr obj-%{gcc_target_platform}
mkdir obj-%{gcc_target_platform}
cd obj-%{gcc_target_platform}
%postun -n libmudflap -p /sbin/ldconfig
%files
-%manifest cross-armv6l-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%doc gcc/README* gcc/COPYING*
%files -n cpp
-%manifest cross-armv6l-gcc.manifest
%defattr(-,root,root,-)
/lib/cpp
%{_prefix}/bin/cpp
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
%files -n libgcc
-%manifest cross-armv6l-gcc.manifest
%defattr(-,root,root,-)
/%{_lib}/libgcc_s-%{gcc_version}.so.1
/%{_lib}/libgcc_s.*
%endif
%files c++
-%manifest cross-armv6l-gcc.manifest
%defattr(-,root,root,-)
%ifnarch %{arm}
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%files -n libstdc++
-%manifest cross-armv6l-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libstdc++.*
%dir %{_datadir}/gdb
%{_prefix}/share/gcc-%{gcc_version}/python
%files -n libstdc++-devel
-%manifest cross-armv6l-gcc.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/include/c++
%dir %{_prefix}/include/c++/%{gcc_version}
%endif
%files -n libgomp
-%manifest cross-armv6l-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libgomp.*
%files -n libmudflap
-%manifest cross-armv6l-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libmudflap.*
%{_prefix}/%{_lib}/libmudflapth.*
%files -n libmudflap-devel
-%manifest cross-armv6l-gcc.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/lib/gcc
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
# cross
# \/\/\/
%files
-%manifest cross-armv6l-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}
# /\/\/\
%if "%{name}" == "cross-armv7l-gcc"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
%if "%{name}" == "cross-armv7l-gcc-accel"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc-accel"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
# single target atm.
ExclusiveArch: %ix86
#
-# special handling for ARM build acceleration
+# special handling for Tizen ARM build acceleration
# cross-armv*-gcc-accel
%if "%(echo %{name} | sed -e "s/cross-.*-gcc-\\(.*\\)/\\1/")" == "accel"
# cross architecture
Source200: baselibs.conf
Source300: precheckin.sh
Source301: aaa_README.PACKAGER
-Source1001: packaging/cross-armv7hl-gcc-accel.manifest
BuildRequires: binutils >= 2.19.51.0.14
BuildRequires: eglibc-devel >= 2.4.90-13
Patch21:libstdc++-arm-wno-abi.diff
Patch22:arm-unbreak-eabi-armv4t.diff
Patch23:gcc-multiarch.diff
-Patch24:config-ml.diff
+#Patch24:config-ml.diff
Patch25:gcc-no-add-needed.diff
Patch26:gcc-as-needed.diff
Patch27:gcc-system-root.diff
Patch28:armhf-triplet-backport.diff
-Patch39: gcc-4.5-build-id.patch
+#Patch39: gcc-4.5-build-id.patch
Patch40: gcc-4.5.1-arm-stack-protect-libgcc.patch
Patch41: libgcc_post_upgrade.c.arm.patch
Patch42: fix-memory-exhausted.patch
+Patch100: incorrect-immediate-for-movt.diff
+Patch101: libgomp-ftls-global-dynamic.diff
#We need -gnueabi indicator for ARM
%ifnarch %{arm}
%global _gnu %{nil}
%patch21 -p2
%patch22 -p2
%patch23 -p2
-%patch24 -p2
+#%patch24 -p2
%patch25 -p2
-%patch26 -p2
+#%patch26 -p2
%patch27 -p2
%patch28 -p2
-%patch39 -p0
+#%patch39 -p0
%patch40 -p1
%ifarch %arm
%patch42 -p1
%endif
+%patch100 -p0
+%patch101 -p0
+
echo '%{version}' >gcc/BASE-VER
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
%build
-cp %{SOURCE1001} .
rm -fr obj-%{gcc_target_platform}
mkdir obj-%{gcc_target_platform}
cd obj-%{gcc_target_platform}
%postun -n libmudflap -p /sbin/ldconfig
%files
-%manifest cross-armv7hl-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%doc gcc/README* gcc/COPYING*
%files -n cpp
-%manifest cross-armv7hl-gcc-accel.manifest
%defattr(-,root,root,-)
/lib/cpp
%{_prefix}/bin/cpp
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
%files -n libgcc
-%manifest cross-armv7hl-gcc-accel.manifest
%defattr(-,root,root,-)
/%{_lib}/libgcc_s-%{gcc_version}.so.1
/%{_lib}/libgcc_s.*
%endif
%files c++
-%manifest cross-armv7hl-gcc-accel.manifest
%defattr(-,root,root,-)
%ifnarch %{arm}
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%files -n libstdc++
-%manifest cross-armv7hl-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libstdc++.*
%dir %{_datadir}/gdb
%{_prefix}/share/gcc-%{gcc_version}/python
%files -n libstdc++-devel
-%manifest cross-armv7hl-gcc-accel.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/include/c++
%dir %{_prefix}/include/c++/%{gcc_version}
%endif
%files -n libgomp
-%manifest cross-armv7hl-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libgomp.*
%files -n libmudflap
-%manifest cross-armv7hl-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libmudflap.*
%{_prefix}/%{_lib}/libmudflapth.*
%files -n libmudflap-devel
-%manifest cross-armv7hl-gcc-accel.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/lib/gcc
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
# cross
# \/\/\/
%files
-%manifest cross-armv7hl-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}
# /\/\/\
%if "%{name}" == "cross-armv7l-gcc"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
%if "%{name}" == "cross-armv7l-gcc-accel"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc-accel"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
# single target atm.
ExclusiveArch: %ix86
#
-# special handling for ARM build acceleration
+# special handling for Tizen ARM build acceleration
# cross-armv*-gcc-accel
%if "%(echo %{name} | sed -e "s/cross-.*-gcc-\\(.*\\)/\\1/")" == "accel"
# cross architecture
Source200: baselibs.conf
Source300: precheckin.sh
Source301: aaa_README.PACKAGER
-Source1001: packaging/cross-armv7hl-gcc.manifest
BuildRequires: binutils >= 2.19.51.0.14
BuildRequires: eglibc-devel >= 2.4.90-13
Patch21:libstdc++-arm-wno-abi.diff
Patch22:arm-unbreak-eabi-armv4t.diff
Patch23:gcc-multiarch.diff
-Patch24:config-ml.diff
+#Patch24:config-ml.diff
Patch25:gcc-no-add-needed.diff
Patch26:gcc-as-needed.diff
Patch27:gcc-system-root.diff
Patch28:armhf-triplet-backport.diff
-Patch39: gcc-4.5-build-id.patch
+#Patch39: gcc-4.5-build-id.patch
Patch40: gcc-4.5.1-arm-stack-protect-libgcc.patch
Patch41: libgcc_post_upgrade.c.arm.patch
Patch42: fix-memory-exhausted.patch
+Patch100: incorrect-immediate-for-movt.diff
+Patch101: libgomp-ftls-global-dynamic.diff
#We need -gnueabi indicator for ARM
%ifnarch %{arm}
%global _gnu %{nil}
%patch21 -p2
%patch22 -p2
%patch23 -p2
-%patch24 -p2
+#%patch24 -p2
%patch25 -p2
-%patch26 -p2
+#%patch26 -p2
%patch27 -p2
%patch28 -p2
-%patch39 -p0
+#%patch39 -p0
%patch40 -p1
%ifarch %arm
%patch42 -p1
%endif
+%patch100 -p0
+%patch101 -p0
+
echo '%{version}' >gcc/BASE-VER
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
%build
-cp %{SOURCE1001} .
rm -fr obj-%{gcc_target_platform}
mkdir obj-%{gcc_target_platform}
cd obj-%{gcc_target_platform}
%postun -n libmudflap -p /sbin/ldconfig
%files
-%manifest cross-armv7hl-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%doc gcc/README* gcc/COPYING*
%files -n cpp
-%manifest cross-armv7hl-gcc.manifest
%defattr(-,root,root,-)
/lib/cpp
%{_prefix}/bin/cpp
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
%files -n libgcc
-%manifest cross-armv7hl-gcc.manifest
%defattr(-,root,root,-)
/%{_lib}/libgcc_s-%{gcc_version}.so.1
/%{_lib}/libgcc_s.*
%endif
%files c++
-%manifest cross-armv7hl-gcc.manifest
%defattr(-,root,root,-)
%ifnarch %{arm}
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%files -n libstdc++
-%manifest cross-armv7hl-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libstdc++.*
%dir %{_datadir}/gdb
%{_prefix}/share/gcc-%{gcc_version}/python
%files -n libstdc++-devel
-%manifest cross-armv7hl-gcc.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/include/c++
%dir %{_prefix}/include/c++/%{gcc_version}
%endif
%files -n libgomp
-%manifest cross-armv7hl-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libgomp.*
%files -n libmudflap
-%manifest cross-armv7hl-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libmudflap.*
%{_prefix}/%{_lib}/libmudflapth.*
%files -n libmudflap-devel
-%manifest cross-armv7hl-gcc.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/lib/gcc
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
# cross
# \/\/\/
%files
-%manifest cross-armv7hl-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}
# /\/\/\
%if "%{name}" == "cross-armv7l-gcc"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
%if "%{name}" == "cross-armv7l-gcc-accel"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc-accel"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
# single target atm.
ExclusiveArch: %ix86
#
-# special handling for ARM build acceleration
+# special handling for Tizen ARM build acceleration
# cross-armv*-gcc-accel
%if "%(echo %{name} | sed -e "s/cross-.*-gcc-\\(.*\\)/\\1/")" == "accel"
# cross architecture
Source200: baselibs.conf
Source300: precheckin.sh
Source301: aaa_README.PACKAGER
-Source1001: packaging/cross-armv7l-gcc-accel.manifest
BuildRequires: binutils >= 2.19.51.0.14
BuildRequires: eglibc-devel >= 2.4.90-13
Patch21:libstdc++-arm-wno-abi.diff
Patch22:arm-unbreak-eabi-armv4t.diff
Patch23:gcc-multiarch.diff
-Patch24:config-ml.diff
+#Patch24:config-ml.diff
Patch25:gcc-no-add-needed.diff
Patch26:gcc-as-needed.diff
Patch27:gcc-system-root.diff
Patch28:armhf-triplet-backport.diff
-Patch39: gcc-4.5-build-id.patch
+#Patch39: gcc-4.5-build-id.patch
Patch40: gcc-4.5.1-arm-stack-protect-libgcc.patch
Patch41: libgcc_post_upgrade.c.arm.patch
Patch42: fix-memory-exhausted.patch
+Patch100: incorrect-immediate-for-movt.diff
+Patch101: libgomp-ftls-global-dynamic.diff
#We need -gnueabi indicator for ARM
%ifnarch %{arm}
%global _gnu %{nil}
%patch21 -p2
%patch22 -p2
%patch23 -p2
-%patch24 -p2
+#%patch24 -p2
%patch25 -p2
-%patch26 -p2
+#%patch26 -p2
%patch27 -p2
%patch28 -p2
-%patch39 -p0
+#%patch39 -p0
%patch40 -p1
%ifarch %arm
%patch42 -p1
%endif
+%patch100 -p0
+%patch101 -p0
+
echo '%{version}' >gcc/BASE-VER
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
%build
-cp %{SOURCE1001} .
rm -fr obj-%{gcc_target_platform}
mkdir obj-%{gcc_target_platform}
cd obj-%{gcc_target_platform}
%postun -n libmudflap -p /sbin/ldconfig
%files
-%manifest cross-armv7l-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%doc gcc/README* gcc/COPYING*
%files -n cpp
-%manifest cross-armv7l-gcc-accel.manifest
%defattr(-,root,root,-)
/lib/cpp
%{_prefix}/bin/cpp
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
%files -n libgcc
-%manifest cross-armv7l-gcc-accel.manifest
%defattr(-,root,root,-)
/%{_lib}/libgcc_s-%{gcc_version}.so.1
/%{_lib}/libgcc_s.*
%endif
%files c++
-%manifest cross-armv7l-gcc-accel.manifest
%defattr(-,root,root,-)
%ifnarch %{arm}
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%files -n libstdc++
-%manifest cross-armv7l-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libstdc++.*
%dir %{_datadir}/gdb
%{_prefix}/share/gcc-%{gcc_version}/python
%files -n libstdc++-devel
-%manifest cross-armv7l-gcc-accel.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/include/c++
%dir %{_prefix}/include/c++/%{gcc_version}
%endif
%files -n libgomp
-%manifest cross-armv7l-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libgomp.*
%files -n libmudflap
-%manifest cross-armv7l-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libmudflap.*
%{_prefix}/%{_lib}/libmudflapth.*
%files -n libmudflap-devel
-%manifest cross-armv7l-gcc-accel.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/lib/gcc
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
# cross
# \/\/\/
%files
-%manifest cross-armv7l-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}
# /\/\/\
%if "%{name}" == "cross-armv7l-gcc"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
%if "%{name}" == "cross-armv7l-gcc-accel"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc-accel"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
# single target atm.
ExclusiveArch: %ix86
#
-# special handling for ARM build acceleration
+# special handling for Tizen ARM build acceleration
# cross-armv*-gcc-accel
%if "%(echo %{name} | sed -e "s/cross-.*-gcc-\\(.*\\)/\\1/")" == "accel"
# cross architecture
Source200: baselibs.conf
Source300: precheckin.sh
Source301: aaa_README.PACKAGER
-Source1001: packaging/cross-armv7l-gcc.manifest
BuildRequires: binutils >= 2.19.51.0.14
BuildRequires: eglibc-devel >= 2.4.90-13
Patch21:libstdc++-arm-wno-abi.diff
Patch22:arm-unbreak-eabi-armv4t.diff
Patch23:gcc-multiarch.diff
-Patch24:config-ml.diff
+#Patch24:config-ml.diff
Patch25:gcc-no-add-needed.diff
Patch26:gcc-as-needed.diff
Patch27:gcc-system-root.diff
Patch28:armhf-triplet-backport.diff
-Patch39: gcc-4.5-build-id.patch
+#Patch39: gcc-4.5-build-id.patch
Patch40: gcc-4.5.1-arm-stack-protect-libgcc.patch
Patch41: libgcc_post_upgrade.c.arm.patch
Patch42: fix-memory-exhausted.patch
+Patch100: incorrect-immediate-for-movt.diff
+Patch101: libgomp-ftls-global-dynamic.diff
#We need -gnueabi indicator for ARM
%ifnarch %{arm}
%global _gnu %{nil}
%patch21 -p2
%patch22 -p2
%patch23 -p2
-%patch24 -p2
+#%patch24 -p2
%patch25 -p2
-%patch26 -p2
+#%patch26 -p2
%patch27 -p2
%patch28 -p2
-%patch39 -p0
+#%patch39 -p0
%patch40 -p1
%ifarch %arm
%patch42 -p1
%endif
+%patch100 -p0
+%patch101 -p0
+
echo '%{version}' >gcc/BASE-VER
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
%build
-cp %{SOURCE1001} .
rm -fr obj-%{gcc_target_platform}
mkdir obj-%{gcc_target_platform}
cd obj-%{gcc_target_platform}
%postun -n libmudflap -p /sbin/ldconfig
%files
-%manifest cross-armv7l-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%doc gcc/README* gcc/COPYING*
%files -n cpp
-%manifest cross-armv7l-gcc.manifest
%defattr(-,root,root,-)
/lib/cpp
%{_prefix}/bin/cpp
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
%files -n libgcc
-%manifest cross-armv7l-gcc.manifest
%defattr(-,root,root,-)
/%{_lib}/libgcc_s-%{gcc_version}.so.1
/%{_lib}/libgcc_s.*
%endif
%files c++
-%manifest cross-armv7l-gcc.manifest
%defattr(-,root,root,-)
%ifnarch %{arm}
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%files -n libstdc++
-%manifest cross-armv7l-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libstdc++.*
%dir %{_datadir}/gdb
%{_prefix}/share/gcc-%{gcc_version}/python
%files -n libstdc++-devel
-%manifest cross-armv7l-gcc.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/include/c++
%dir %{_prefix}/include/c++/%{gcc_version}
%endif
%files -n libgomp
-%manifest cross-armv7l-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libgomp.*
%files -n libmudflap
-%manifest cross-armv7l-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libmudflap.*
%{_prefix}/%{_lib}/libmudflapth.*
%files -n libmudflap-devel
-%manifest cross-armv7l-gcc.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/lib/gcc
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
# cross
# \/\/\/
%files
-%manifest cross-armv7l-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}
# /\/\/\
%if "%{name}" == "cross-armv7l-gcc"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
%if "%{name}" == "cross-armv7l-gcc-accel"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc-accel"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
# single target atm.
ExclusiveArch: %ix86
#
-# special handling for ARM build acceleration
+# special handling for Tizen ARM build acceleration
# cross-armv*-gcc-accel
%if "%(echo %{name} | sed -e "s/cross-.*-gcc-\\(.*\\)/\\1/")" == "accel"
# cross architecture
Source200: baselibs.conf
Source300: precheckin.sh
Source301: aaa_README.PACKAGER
-Source1001: packaging/cross-armv7nhl-gcc-accel.manifest
BuildRequires: binutils >= 2.19.51.0.14
BuildRequires: eglibc-devel >= 2.4.90-13
Patch21:libstdc++-arm-wno-abi.diff
Patch22:arm-unbreak-eabi-armv4t.diff
Patch23:gcc-multiarch.diff
-Patch24:config-ml.diff
+#Patch24:config-ml.diff
Patch25:gcc-no-add-needed.diff
Patch26:gcc-as-needed.diff
Patch27:gcc-system-root.diff
Patch28:armhf-triplet-backport.diff
-Patch39: gcc-4.5-build-id.patch
+#Patch39: gcc-4.5-build-id.patch
Patch40: gcc-4.5.1-arm-stack-protect-libgcc.patch
Patch41: libgcc_post_upgrade.c.arm.patch
Patch42: fix-memory-exhausted.patch
+Patch100: incorrect-immediate-for-movt.diff
+Patch101: libgomp-ftls-global-dynamic.diff
#We need -gnueabi indicator for ARM
%ifnarch %{arm}
%global _gnu %{nil}
%patch21 -p2
%patch22 -p2
%patch23 -p2
-%patch24 -p2
+#%patch24 -p2
%patch25 -p2
-%patch26 -p2
+#%patch26 -p2
%patch27 -p2
%patch28 -p2
-%patch39 -p0
+#%patch39 -p0
%patch40 -p1
%ifarch %arm
%patch42 -p1
%endif
+%patch100 -p0
+%patch101 -p0
+
echo '%{version}' >gcc/BASE-VER
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
%build
-cp %{SOURCE1001} .
rm -fr obj-%{gcc_target_platform}
mkdir obj-%{gcc_target_platform}
cd obj-%{gcc_target_platform}
%postun -n libmudflap -p /sbin/ldconfig
%files
-%manifest cross-armv7nhl-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%doc gcc/README* gcc/COPYING*
%files -n cpp
-%manifest cross-armv7nhl-gcc-accel.manifest
%defattr(-,root,root,-)
/lib/cpp
%{_prefix}/bin/cpp
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
%files -n libgcc
-%manifest cross-armv7nhl-gcc-accel.manifest
%defattr(-,root,root,-)
/%{_lib}/libgcc_s-%{gcc_version}.so.1
/%{_lib}/libgcc_s.*
%endif
%files c++
-%manifest cross-armv7nhl-gcc-accel.manifest
%defattr(-,root,root,-)
%ifnarch %{arm}
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%files -n libstdc++
-%manifest cross-armv7nhl-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libstdc++.*
%dir %{_datadir}/gdb
%{_prefix}/share/gcc-%{gcc_version}/python
%files -n libstdc++-devel
-%manifest cross-armv7nhl-gcc-accel.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/include/c++
%dir %{_prefix}/include/c++/%{gcc_version}
%endif
%files -n libgomp
-%manifest cross-armv7nhl-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libgomp.*
%files -n libmudflap
-%manifest cross-armv7nhl-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libmudflap.*
%{_prefix}/%{_lib}/libmudflapth.*
%files -n libmudflap-devel
-%manifest cross-armv7nhl-gcc-accel.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/lib/gcc
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
# cross
# \/\/\/
%files
-%manifest cross-armv7nhl-gcc-accel.manifest
%defattr(-,root,root,-)
%{_prefix}
# /\/\/\
%if "%{name}" == "cross-armv7l-gcc"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
%if "%{name}" == "cross-armv7l-gcc-accel"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc-accel"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
# single target atm.
ExclusiveArch: %ix86
#
-# special handling for ARM build acceleration
+# special handling for Tizen ARM build acceleration
# cross-armv*-gcc-accel
%if "%(echo %{name} | sed -e "s/cross-.*-gcc-\\(.*\\)/\\1/")" == "accel"
# cross architecture
Source200: baselibs.conf
Source300: precheckin.sh
Source301: aaa_README.PACKAGER
-Source1001: packaging/cross-armv7nhl-gcc.manifest
BuildRequires: binutils >= 2.19.51.0.14
BuildRequires: eglibc-devel >= 2.4.90-13
Patch21:libstdc++-arm-wno-abi.diff
Patch22:arm-unbreak-eabi-armv4t.diff
Patch23:gcc-multiarch.diff
-Patch24:config-ml.diff
+#Patch24:config-ml.diff
Patch25:gcc-no-add-needed.diff
Patch26:gcc-as-needed.diff
Patch27:gcc-system-root.diff
Patch28:armhf-triplet-backport.diff
-Patch39: gcc-4.5-build-id.patch
+#Patch39: gcc-4.5-build-id.patch
Patch40: gcc-4.5.1-arm-stack-protect-libgcc.patch
Patch41: libgcc_post_upgrade.c.arm.patch
Patch42: fix-memory-exhausted.patch
+Patch100: incorrect-immediate-for-movt.diff
+Patch101: libgomp-ftls-global-dynamic.diff
#We need -gnueabi indicator for ARM
%ifnarch %{arm}
%global _gnu %{nil}
%patch21 -p2
%patch22 -p2
%patch23 -p2
-%patch24 -p2
+#%patch24 -p2
%patch25 -p2
-%patch26 -p2
+#%patch26 -p2
%patch27 -p2
%patch28 -p2
-%patch39 -p0
+#%patch39 -p0
%patch40 -p1
%ifarch %arm
%patch42 -p1
%endif
+%patch100 -p0
+%patch101 -p0
+
echo '%{version}' >gcc/BASE-VER
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
%build
-cp %{SOURCE1001} .
rm -fr obj-%{gcc_target_platform}
mkdir obj-%{gcc_target_platform}
cd obj-%{gcc_target_platform}
%postun -n libmudflap -p /sbin/ldconfig
%files
-%manifest cross-armv7nhl-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%doc gcc/README* gcc/COPYING*
%files -n cpp
-%manifest cross-armv7nhl-gcc.manifest
%defattr(-,root,root,-)
/lib/cpp
%{_prefix}/bin/cpp
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
%files -n libgcc
-%manifest cross-armv7nhl-gcc.manifest
%defattr(-,root,root,-)
/%{_lib}/libgcc_s-%{gcc_version}.so.1
/%{_lib}/libgcc_s.*
%endif
%files c++
-%manifest cross-armv7nhl-gcc.manifest
%defattr(-,root,root,-)
%ifnarch %{arm}
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%files -n libstdc++
-%manifest cross-armv7nhl-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libstdc++.*
%dir %{_datadir}/gdb
%{_prefix}/share/gcc-%{gcc_version}/python
%files -n libstdc++-devel
-%manifest cross-armv7nhl-gcc.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/include/c++
%dir %{_prefix}/include/c++/%{gcc_version}
%endif
%files -n libgomp
-%manifest cross-armv7nhl-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libgomp.*
%files -n libmudflap
-%manifest cross-armv7nhl-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libmudflap.*
%{_prefix}/%{_lib}/libmudflapth.*
%files -n libmudflap-devel
-%manifest cross-armv7nhl-gcc.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/lib/gcc
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
# cross
# \/\/\/
%files
-%manifest cross-armv7nhl-gcc.manifest
%defattr(-,root,root,-)
%{_prefix}
# /\/\/\
%if "%{name}" == "cross-armv7l-gcc"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
%if "%{name}" == "cross-armv7l-gcc-accel"
BuildRequires: cross-armv7l-eglibc cross-armv7l-eglibc-devel cross-armv7l-eglibc-headers
BuildRequires: cross-armv7l-kernel-headers cross-armv7l-binutils
-%define crossextraconfig %{nil}
+%define crossextraconfig --with-float=softfp --with-fpu=vfpv3 --with-arch=armv7-a
%endif
%if "%{name}" == "cross-armv7hl-gcc-accel"
BuildRequires: cross-armv7hl-eglibc cross-armv7hl-eglibc-devel cross-armv7hl-eglibc-headers
# single target atm.
ExclusiveArch: %ix86
#
-# special handling for ARM build acceleration
+# special handling for Tizen ARM build acceleration
# cross-armv*-gcc-accel
%if "%(echo %{name} | sed -e "s/cross-.*-gcc-\\(.*\\)/\\1/")" == "accel"
# cross architecture
Source200: baselibs.conf
Source300: precheckin.sh
Source301: aaa_README.PACKAGER
-Source1001: packaging/gcc.manifest
BuildRequires: binutils >= 2.19.51.0.14
BuildRequires: eglibc-devel >= 2.4.90-13
Patch21:libstdc++-arm-wno-abi.diff
Patch22:arm-unbreak-eabi-armv4t.diff
Patch23:gcc-multiarch.diff
-Patch24:config-ml.diff
+#Patch24:config-ml.diff
Patch25:gcc-no-add-needed.diff
Patch26:gcc-as-needed.diff
Patch27:gcc-system-root.diff
Patch28:armhf-triplet-backport.diff
-Patch39: gcc-4.5-build-id.patch
+#Patch39: gcc-4.5-build-id.patch
Patch40: gcc-4.5.1-arm-stack-protect-libgcc.patch
Patch41: libgcc_post_upgrade.c.arm.patch
Patch42: fix-memory-exhausted.patch
+Patch100: incorrect-immediate-for-movt.diff
+Patch101: libgomp-ftls-global-dynamic.diff
#We need -gnueabi indicator for ARM
%ifnarch %{arm}
%global _gnu %{nil}
%patch21 -p2
%patch22 -p2
%patch23 -p2
-%patch24 -p2
+#%patch24 -p2
%patch25 -p2
-%patch26 -p2
+#%patch26 -p2
%patch27 -p2
%patch28 -p2
-%patch39 -p0
+#%patch39 -p0
%patch40 -p1
%ifarch %arm
%patch42 -p1
%endif
+%patch100 -p0
+%patch101 -p0
+
echo '%{version}' >gcc/BASE-VER
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
%build
-cp %{SOURCE1001} .
rm -fr obj-%{gcc_target_platform}
mkdir obj-%{gcc_target_platform}
cd obj-%{gcc_target_platform}
%postun -n libmudflap -p /sbin/ldconfig
%files
-%manifest gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%doc gcc/README* gcc/COPYING*
%files -n cpp
-%manifest gcc.manifest
%defattr(-,root,root,-)
/lib/cpp
%{_prefix}/bin/cpp
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
%files -n libgcc
-%manifest gcc.manifest
%defattr(-,root,root,-)
/%{_lib}/libgcc_s-%{gcc_version}.so.1
/%{_lib}/libgcc_s.*
%endif
%files c++
-%manifest gcc.manifest
%defattr(-,root,root,-)
%ifnarch %{arm}
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%files -n libstdc++
-%manifest gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libstdc++.*
%dir %{_datadir}/gdb
%{_prefix}/share/gcc-%{gcc_version}/python
%files -n libstdc++-devel
-%manifest gcc.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/include/c++
%dir %{_prefix}/include/c++/%{gcc_version}
%endif
%files -n libgomp
-%manifest gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libgomp.*
%files -n libmudflap
-%manifest gcc.manifest
%defattr(-,root,root,-)
%{_prefix}/%{_lib}/libmudflap.*
%{_prefix}/%{_lib}/libmudflapth.*
%files -n libmudflap-devel
-%manifest gcc.manifest
%defattr(-,root,root,-)
%dir %{_prefix}/lib/gcc
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
# cross
# \/\/\/
%files
-%manifest gcc.manifest
%defattr(-,root,root,-)
%{_prefix}
# /\/\/\
--- /dev/null
+--- gcc/config/arm/arm.md-ori 2012-06-13 18:09:49.423036002 +0900
++++ gcc/config/arm/arm.md 2012-06-13 18:13:38.287036001 +0900
+@@ -11186,13 +11186,15 @@
+ [(set_attr "conds" "clob")]
+ )
+
++;; We only care about the lower 16 bits of the constant
++;; being inserted into the upper 16 bits of the register.
+ (define_insn "*arm_movtas_ze"
+ [(set (zero_extract:SI (match_operand:SI 0 "s_register_operand" "+r")
+ (const_int 16)
+ (const_int 16))
+ (match_operand:SI 1 "const_int_operand" ""))]
+ "arm_arch_thumb2"
+- "movt%?\t%0, %c1"
++ "movt%?\t%0, %L1"
+ [(set_attr "predicable" "yes")
+ (set_attr "length" "4")]
+ )
--- /dev/null
+diff --git libgomp/configure.tgt libgomp/configure.tgt
+index fd55277..1a1028b 100644
+--- libgomp/configure.tgt
++++ libgomp/configure.tgt
+@@ -15,7 +15,7 @@ if test $gcc_cv_have_tls = yes ; then
+ case "${target}" in
+
+ *-*-linux*)
+- XCFLAGS="${XCFLAGS} -ftls-model=initial-exec"
++ XCFLAGS="${XCFLAGS} -ftls-model=global-dynamic"
+ ;;
+ esac
+ fi
targettype ${l} requires "gcc"
targettype ${l} requires "gcc-c++"
-
targettype ${l} prefix /emul/ia32-linux
targettype ${l} extension -arm
targettype ${l} +/
targettype ${l} post " echo \"GCCVER: \$GCCVER GCCVER_NEW: \$GCCVER_NEW \" "
targettype ${l} post " if test "\${GCCVER}" == "\${GCCVER_NEW}"; then"
targettype ${l} post " echo "GCC and GCC-accel versions match. Enabling cross-compiler." "
- targettype ${l} post " for bin in gcc g++ ; do "
+ targettype ${l} post " for bin in c++ c89 c99 cpp g++ gcc gcov ; do "
targettype ${l} post " binary="/usr/bin/\${bin}" "
- targettype ${l} post " if test -e \${binary} -a ! -e \${binary}.orig-arm ; then"
- targettype ${l} post " mv \${binary} \${binary}.orig-arm && cp <prefix>\${binary} \${binary}"
- targettype ${l} post " else "
+ targettype ${l} post " if test -L \${binary} -a -e \${binary}.orig-arm ; then"
targettype ${l} post " echo "\${binary} not installed or \${binary}.orig-arm already present !" "
+ targettype ${l} post " else "
+ targettype ${l} post " mv \${binary} \${binary}.orig-arm && cp <prefix>\${binary} \${binary}"
targettype ${l} post " fi "
targettype ${l} post " done "
- targettype ${l} post " for bin in cc1 cc1plus ; do "
+ targettype ${l} post " for bin in cc1 cc1plus collect2 lto-wrapper lto1 ; do "
targettype ${l} post " binary="/usr/libexec/gcc/${l}-tizen-linux-gnueabi/\$GCCVER/\$bin" "
- targettype ${l} post " if test -e \${binary} -a ! -e \${binary}.orig-arm ; then"
- targettype ${l} post " mv \${binary} \${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/${l}-tizen-linux-gnueabi/\$GCCVER_NEW/\${bin} \${binary}"
- targettype ${l} post " else "
+ targettype ${l} post " if test -L \${binary} -a -e \${binary}.orig-arm ; then"
targettype ${l} post " echo "\${binary} not installed or \${binary}.orig-arm already present !" "
+ targettype ${l} post " else "
+ targettype ${l} post " mv \${binary} \${binary}.orig-arm && cp <prefix>/usr/libexec/gcc/${l}-tizen-linux-gnueabi/\$GCCVER_NEW/\${bin} \${binary}"
targettype ${l} post " fi "
targettype ${l} post " done "
targettype ${l} post " else"
targettype ${l} post " echo "GCC and GCC-accel versions don't match. Rollback also binutils..." "
- targettype ${l} post " for bin in addr2line ar as c++filt gprov ld nm objcopy objdump ranlib readelf size strings strip ; do"
+ targettype ${l} post " for bin in addr2line ar as c++filt gprov ld ld.bfd nm objcopy objdump ranlib readelf size strings strip ; do"
targettype ${l} post " binary="/usr/bin/\${bin}" "
targettype ${l} post " if test -e \${binary}.orig-arm ; then"
targettype ${l} post " rm \${binary} && mv \${binary}.orig-arm \${binary}"
targettype ${l} post " echo "\${binary}.orig-arm not present !" "
targettype ${l} post " fi "
targettype ${l} post " done "
+ targettype ${l} post " rm -f /usr/libexec/gcc/${l}-tizen-linux-gnueabi/4.5.3/ld"
+ targettype ${l} post " rm -f /usr/libexec/gcc/${l}-tizen-linux-gnueabi/4.5.3/ld.bfd"
+
targettype ${l} post " fi"
targettype ${l} preun " export GCCVER=\$(LANG=C gcc --version | head -1 | cut -d" " -f3) "
- targettype ${l} preun " for i in gcc g++ ; do if test -e /usr/bin/\${i}.orig-arm ; then rm /usr/bin/\${i} ; mv /usr/bin/\${i}.orig-arm /usr/bin/\${i}; fi ; done "
- targettype ${l} preun " for i in cc1 cc1plus ; do cd /usr/libexec/gcc/${l}-tizen-linux-gnueabi/\$GCCVER ; if test -e \${i}.orig-arm ; then rm \${i} ; mv \${i}.orig-arm \${i} ; fi ; done "
+ targettype ${l} preun " for i in c++ c89 c99 cpp g++ gcc gcov ; do if test -e /usr/bin/\${i}.orig-arm ; then rm /usr/bin/\${i} ; mv /usr/bin/\${i}.orig-arm /usr/bin/\${i}; fi ; done "
+ targettype ${l} preun " for i in cc1 cc1plus collect2 lto-wrapper lto1 ; do cd /usr/libexec/gcc/${l}-tizen-linux-gnueabi/\$GCCVER ; if test -e \${i}.orig-arm ; then rm \${i} ; mv \${i}.orig-arm \${i} ; fi ; done "
EOF