public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] libbacktrace support
@ 2013-03-14 14:32 Plotnikov Dmitry
  2013-03-14 23:37 ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Plotnikov Dmitry @ 2013-03-14 14:32 UTC (permalink / raw)
  To: crossgcc, yann.morin.1998

[-- Attachment #1: Type: text/plain, Size: 148 bytes --]

Hi,

GCC trunk requires libbacktrace since 26 Sep 2012.  This small patch 
adds the same hack as for libdecnum.

--
Best regards,
Plotnikov Dmitry.

[-- Attachment #2: backtrace.patch --]
[-- Type: text/x-patch, Size: 1073 bytes --]

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



[-- Attachment #3: Type: text/plain, Size: 71 bytes --]

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] libbacktrace support
  2013-03-14 14:32 [PATCH] libbacktrace support Plotnikov Dmitry
@ 2013-03-14 23:37 ` Yann E. MORIN
  2013-03-20  9:42   ` Dmitry Plotnikov
  0 siblings, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2013-03-14 23:37 UTC (permalink / raw)
  To: crossgcc; +Cc: Plotnikov Dmitry

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] libbacktrace support
  2013-03-14 23:37 ` Yann E. MORIN
@ 2013-03-20  9:42   ` Dmitry Plotnikov
  2013-05-03 15:07     ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Plotnikov @ 2013-03-20  9:42 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Yann, All,

Resending with signed-off-by.

Signed-off-by: "Plotnikov Dmitry" <leitz@ispras.ru>

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

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] libbacktrace support
  2013-03-20  9:42   ` Dmitry Plotnikov
@ 2013-05-03 15:07     ` Yann E. MORIN
  0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2013-05-03 15:07 UTC (permalink / raw)
  To: Dmitry Plotnikov; +Cc: crossgcc

Dmitry, All,

On Wed, Mar 20, 2013 at 01:42:12PM +0400, Dmitry Plotnikov wrote:
> Resending with signed-off-by.
> 
> Signed-off-by: "Plotnikov Dmitry" <leitz@ispras.ru>

This patch did not apply cleanly because it was improperly prepared.
Someone else submitted the same earlier today, which applied fine, so I
applied it instead.

> diff -rupdN ct-ng-1.18-clean/lib/ct-ng.1.18.0/scripts/build/cc/gcc.sh
              ^^^^^^^^^^^^^^^^^^^^^
This caused issues applying the patch.

Next time, please prepare and send the patches with:
    hg email --outgoing

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-03 15:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-14 14:32 [PATCH] libbacktrace support Plotnikov Dmitry
2013-03-14 23:37 ` Yann E. MORIN
2013-03-20  9:42   ` Dmitry Plotnikov
2013-05-03 15:07     ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).