[PATCH] libbacktrace support
Yann E. MORIN
yann.morin.1998@free.fr
Thu Mar 14 23:37:00 GMT 2013
Dmitry, All,
On Thursday 14 March 2013 Plotnikov Dmitry wrote:
> GCC trunk requires libbacktrace since 26 Sep 2012. This small patch
> adds the same hack as for libdecnum.
Missing your Signed-off-by.
> diff -rupdN ct-ng-1.18-clean/lib/ct-ng.1.18.0/scripts/build/cc/gcc.sh ct-ng-1.18/lib/ct-ng.1.18.0/scripts/build/cc/gcc.sh
> --- ct-ng-1.18-clean/lib/ct-ng.1.18.0/scripts/build/cc/gcc.sh 2013-02-01 00:07:53.000000000 +0400
> +++ ct-ng-1.18/lib/ct-ng.1.18.0/scripts/build/cc/gcc.sh 2013-03-14 15:18:54.957801549 +0400
> @@ -404,6 +407,13 @@ do_cc_core_backend() {
> CT_DoExecLog CFG make ${JOBSFLAGS} configure-gcc configure-libcpp configure-build-libiberty
> CT_DoExecLog ALL make ${JOBSFLAGS} all-libcpp all-build-libiberty
> fi
> +
> + # HACK: gcc-4.8 uses libbacktrace, so build it here.
> + if [ -d "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/libbacktrace" ]; then
> + CT_DoExecLog CFG make ${JOBSFLAGS} configure-libbacktrace
> + CT_DoExecLog ALL make ${JOBSFLAGS} -C libbacktrace all
> + fi
> +
> # HACK: gcc-4.2 uses libdecnumber to build libgcc.mk, so build it here.
> if [ -d "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/libdecnumber" ]; then
> CT_DoExecLog CFG make ${JOBSFLAGS} configure-libdecnumber
Not much to say, looks good to me.
I'll postpone testing this till the WE.
Thank you!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list