public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
@ 2014-12-04 23:47 Bryan Hundven
  2014-12-05  0:24 ` Dan Wilder
  0 siblings, 1 reply; 8+ messages in thread
From: Bryan Hundven @ 2014-12-04 23:47 UTC (permalink / raw)
  To: crossgcc maillist
  Cc: bob.dunlop, Daniel Zimmermann, Andreas Bießmann,
	alexandre.belloni, Baruch Siach, bernhard, chris,
	Daniel Rubio Bonilla, David Holsgrove, Delta Tatham, dbrozen,
	drewb, Joao.M.Fernandes.ext, jgunthorpe, Jason Masker,
	jerzy.grzegorek, malte.forkel, lazzer, nyet, paul,
	Per Arnold Blåsmo, Ray Donnelly, Steven.Soloff, pizza,
	timo.teras, Trevor Woerner, diorcet.yann, djerome, goodmenlinux

Hello list,

I'm starting to go back and review patches submitted to the mailing
list that are listed in our patchwork list:
https://patchwork.ozlabs.org/project/crosstool-ng/list/
in an attempt to get patchwork current.

If you've been CC'd on this email, you have a patch in patchwork
because the mailing list is scrapped for diffs and patches.

All the patches are currently set to the "NEW" state.
If you still want to get your patch reviewed, please respond to the
thread the patch is in with:

    "Please review me"

...in the body of the message, and I will set the state to "Under
Review" and we will try to get your patch in.

If you don't respond by December 31st, 2014, I will set the state to
"Rejected" and will Archive the patch in patchwork. If your patch ends
up in this state, it's still on the mailing list and you can respond
to it after that date and I will still review the patch.

The goal is to get patchwork back to a state where there are no "NEW"
patches, unless there are actually new patches.

If your patch is also badly out of date, please rebase your patch to
the current HEAD at: http://crosstool-ng.org/git/crosstool-ng/

Thank you for your attention!

Cheers,

-Bryan

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

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

* RE: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
  2014-12-04 23:47 Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!) Bryan Hundven
@ 2014-12-05  0:24 ` Dan Wilder
  2014-12-05  1:42   ` Bryan Hundven
  0 siblings, 1 reply; 8+ messages in thread
From: Dan Wilder @ 2014-12-05  0:24 UTC (permalink / raw)
  To: crossgcc

Any unwind patches for ppc in glibc-2.19?

A small c++ program fails nicely on 32-bit ppc:
------------------------------------------------------------------------------------------
#include <iostream>

static void cause_exn(void)
{
    std::cout << "cause_exn invoked" << std::endl;
    throw 20;
    std::cout << "cause_exn done" << std::endl;
}

int main(int argc, char **argv)
{
    std::cout << "Starting" << std::endl;
    try {
        cause_exn();
    } catch (int e) {
        std::cout <<  "Caught exception " << e << std::endl;
    }
    std::cout << "Exiting" << std::endl;
    return 0;
}
-----------------------------------------------------------------------------------------------

Expected output is:

Starting
cause_exn invoked
Caught exception 20
Exiting

on 32-bit ppc with glibc-2.19/gcc-4.8.3:

Starting
cause_exn invoked
Aborted (core dumped)

Have done some preliminary work and will have a patch for the list in a few weeks, but it would be a shame if somebody else has already gone there!

ppc_64 works fine.  As does x86, x86_64 on the same test program.

--
Dan Wilder
Btw thanks Bryan for taking the cross-gcc helm and thanks Yann for the excellent work!



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

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

* Re: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
  2014-12-05  0:24 ` Dan Wilder
@ 2014-12-05  1:42   ` Bryan Hundven
  2014-12-05  1:46     ` Dan Wilder
  0 siblings, 1 reply; 8+ messages in thread
From: Bryan Hundven @ 2014-12-05  1:42 UTC (permalink / raw)
  To: Dan Wilder; +Cc: crossgcc

Dan,

On Thu, Dec 4, 2014 at 4:24 PM, Dan Wilder <Dan.Wilder@watchguard.com> wrote:
> Any unwind patches for ppc in glibc-2.19?

I don't see any in patchwork.

> A small c++ program fails nicely on 32-bit ppc:
> ------------------------------------------------------------------------------------------
> #include <iostream>
>
> static void cause_exn(void)
> {
>     std::cout << "cause_exn invoked" << std::endl;
>     throw 20;
>     std::cout << "cause_exn done" << std::endl;
> }
>
> int main(int argc, char **argv)
> {
>     std::cout << "Starting" << std::endl;
>     try {
>         cause_exn();
>     } catch (int e) {
>         std::cout <<  "Caught exception " << e << std::endl;
>     }
>     std::cout << "Exiting" << std::endl;
>     return 0;
> }
> -----------------------------------------------------------------------------------------------
>
> Expected output is:
>
> Starting
> cause_exn invoked
> Caught exception 20
> Exiting
>
> on 32-bit ppc with glibc-2.19/gcc-4.8.3:
>
> Starting
> cause_exn invoked
> Aborted (core dumped)
>
> Have done some preliminary work and will have a patch for the list in a few weeks, but it would be a shame if somebody else has already gone there!

Have you checked upstream?
https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/master

> ppc_64 works fine.  As does x86, x86_64 on the same test program.

Hrm...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
Related?

> --
> Dan Wilder
> Btw thanks Bryan for taking the cross-gcc helm and thanks Yann for the excellent work!

:)

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

Cheers,

-Bryan

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

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

* RE: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
  2014-12-05  1:42   ` Bryan Hundven
@ 2014-12-05  1:46     ` Dan Wilder
  2014-12-05  2:01       ` Bryan Hundven
  0 siblings, 1 reply; 8+ messages in thread
From: Dan Wilder @ 2014-12-05  1:46 UTC (permalink / raw)
  To: Bryan Hundven; +Cc: crossgcc

Thanks Bryan.  Yup their backtraces look just like mine.

I'll keep an eye on that bug, if somebody fixes it before I get a Round Tuit that'd be nice for me!  Otherwise I guess the patch goes upstream.

--
Dan Wilder
________________________________________
From: Bryan Hundven [bryanhundven@gmail.com]
Sent: Thursday, December 04, 2014 5:42 PM
To: Dan Wilder
Cc: crossgcc@sourceware.org
Subject: Re: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)

Dan,

On Thu, Dec 4, 2014 at 4:24 PM, Dan Wilder <Dan.Wilder@watchguard.com> wrote:
> Any unwind patches for ppc in glibc-2.19?

I don't see any in patchwork.

> A small c++ program fails nicely on 32-bit ppc:
> ------------------------------------------------------------------------------------------
> #include <iostream>
>
> static void cause_exn(void)
> {
>     std::cout << "cause_exn invoked" << std::endl;
>     throw 20;
>     std::cout << "cause_exn done" << std::endl;
> }
>
> int main(int argc, char **argv)
> {
>     std::cout << "Starting" << std::endl;
>     try {
>         cause_exn();
>     } catch (int e) {
>         std::cout <<  "Caught exception " << e << std::endl;
>     }
>     std::cout << "Exiting" << std::endl;
>     return 0;
> }
> -----------------------------------------------------------------------------------------------
>
> Expected output is:
>
> Starting
> cause_exn invoked
> Caught exception 20
> Exiting
>
> on 32-bit ppc with glibc-2.19/gcc-4.8.3:
>
> Starting
> cause_exn invoked
> Aborted (core dumped)
>
> Have done some preliminary work and will have a patch for the list in a few weeks, but it would be a shame if somebody else has already gone there!

Have you checked upstream?
https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/master

> ppc_64 works fine.  As does x86, x86_64 on the same test program.

Hrm...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
Related?

> --
> Dan Wilder
> Btw thanks Bryan for taking the cross-gcc helm and thanks Yann for the excellent work!

:)

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

Cheers,

-Bryan

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

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

* Re: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
  2014-12-05  1:46     ` Dan Wilder
@ 2014-12-05  2:01       ` Bryan Hundven
  2014-12-16  0:43         ` Dan Wilder
  0 siblings, 1 reply; 8+ messages in thread
From: Bryan Hundven @ 2014-12-05  2:01 UTC (permalink / raw)
  To: Dan Wilder; +Cc: crossgcc

Dan,

On Thu, Dec 4, 2014 at 5:46 PM, Dan Wilder <Dan.Wilder@watchguard.com> wrote:
> Thanks Bryan.  Yup their backtraces look just like mine.

:)

> I'll keep an eye on that bug, if somebody fixes it before I get a Round Tuit that'd be nice for me!  Otherwise I guess the patch goes upstream.

Indeed. You can always add yourself to "cc" on the bug. I saw some
other related bugs in my search, though they are "AIX"... that is
still "powerpc" (rs6000).

Also, Check the patches in comment #4.

As a related... but slightly off-topic thought... Another thing I'd
like to change about crosstool-ng: I dislike all these "for upstream"
patches we harbor in patches/. Maybe I'll work on a RFC on how we can
deal with them.

Cheers,

-Bryan

> --
> Dan Wilder
> ________________________________________
> From: Bryan Hundven [bryanhundven@gmail.com]
> Sent: Thursday, December 04, 2014 5:42 PM
> To: Dan Wilder
> Cc: crossgcc@sourceware.org
> Subject: Re: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
>
> Dan,
>
> On Thu, Dec 4, 2014 at 4:24 PM, Dan Wilder <Dan.Wilder@watchguard.com> wrote:
>> Any unwind patches for ppc in glibc-2.19?
>
> I don't see any in patchwork.
>
>> A small c++ program fails nicely on 32-bit ppc:
>> ------------------------------------------------------------------------------------------
>> #include <iostream>
>>
>> static void cause_exn(void)
>> {
>>     std::cout << "cause_exn invoked" << std::endl;
>>     throw 20;
>>     std::cout << "cause_exn done" << std::endl;
>> }
>>
>> int main(int argc, char **argv)
>> {
>>     std::cout << "Starting" << std::endl;
>>     try {
>>         cause_exn();
>>     } catch (int e) {
>>         std::cout <<  "Caught exception " << e << std::endl;
>>     }
>>     std::cout << "Exiting" << std::endl;
>>     return 0;
>> }
>> -----------------------------------------------------------------------------------------------
>>
>> Expected output is:
>>
>> Starting
>> cause_exn invoked
>> Caught exception 20
>> Exiting
>>
>> on 32-bit ppc with glibc-2.19/gcc-4.8.3:
>>
>> Starting
>> cause_exn invoked
>> Aborted (core dumped)
>>
>> Have done some preliminary work and will have a patch for the list in a few weeks, but it would be a shame if somebody else has already gone there!
>
> Have you checked upstream?
> https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/master
>
>> ppc_64 works fine.  As does x86, x86_64 on the same test program.
>
> Hrm...
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
> Related?
>
>> --
>> Dan Wilder
>> Btw thanks Bryan for taking the cross-gcc helm and thanks Yann for the excellent work!
>
> :)
>
>>
>>
>> --
>> For unsubscribe information see http://sourceware.org/lists.html#faq
>>
>
> Cheers,
>
> -Bryan

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

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

* RE: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
  2014-12-05  2:01       ` Bryan Hundven
@ 2014-12-16  0:43         ` Dan Wilder
  2014-12-16  2:07           ` Bryan Hundven
  0 siblings, 1 reply; 8+ messages in thread
From: Dan Wilder @ 2014-12-16  0:43 UTC (permalink / raw)
  To: Bryan Hundven; +Cc: crossgcc

OK those two patches under note 4, with a little backport work, did the trick for gcc-4.8.3.

Any words of wisdom on submitting the patches to ctng and/or gcc?  I've got a git clone of crosstool-ng on github.

My own repro and also the repro on gcc bug ran without error when built with -static using the patched compiler, on a newport.  Without the patch, boom.

Running make check on the x86 build now. 

--
Dan Wilder
________________________________________
From: Bryan Hundven [bryanhundven@gmail.com]
Sent: Thursday, December 04, 2014 6:01 PM
To: Dan Wilder
Cc: crossgcc@sourceware.org
Subject: Re: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)

Dan,

On Thu, Dec 4, 2014 at 5:46 PM, Dan Wilder <Dan.Wilder@watchguard.com> wrote:
> Thanks Bryan.  Yup their backtraces look just like mine.

:)

> I'll keep an eye on that bug, if somebody fixes it before I get a Round Tuit that'd be nice for me!  Otherwise I guess the patch goes upstream.

Indeed. You can always add yourself to "cc" on the bug. I saw some
other related bugs in my search, though they are "AIX"... that is
still "powerpc" (rs6000).

Also, Check the patches in comment #4.

As a related... but slightly off-topic thought... Another thing I'd
like to change about crosstool-ng: I dislike all these "for upstream"
patches we harbor in patches/. Maybe I'll work on a RFC on how we can
deal with them.

Cheers,

-Bryan

> --
> Dan Wilder
> ________________________________________
> From: Bryan Hundven [bryanhundven@gmail.com]
> Sent: Thursday, December 04, 2014 5:42 PM
> To: Dan Wilder
> Cc: crossgcc@sourceware.org
> Subject: Re: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
>
> Dan,
>
> On Thu, Dec 4, 2014 at 4:24 PM, Dan Wilder <Dan.Wilder@watchguard.com> wrote:
>> Any unwind patches for ppc in glibc-2.19?
>
> I don't see any in patchwork.
>
>> A small c++ program fails nicely on 32-bit ppc:
>> ------------------------------------------------------------------------------------------
>> #include <iostream>
>>
>> static void cause_exn(void)
>> {
>>     std::cout << "cause_exn invoked" << std::endl;
>>     throw 20;
>>     std::cout << "cause_exn done" << std::endl;
>> }
>>
>> int main(int argc, char **argv)
>> {
>>     std::cout << "Starting" << std::endl;
>>     try {
>>         cause_exn();
>>     } catch (int e) {
>>         std::cout <<  "Caught exception " << e << std::endl;
>>     }
>>     std::cout << "Exiting" << std::endl;
>>     return 0;
>> }
>> -----------------------------------------------------------------------------------------------
>>
>> Expected output is:
>>
>> Starting
>> cause_exn invoked
>> Caught exception 20
>> Exiting
>>
>> on 32-bit ppc with glibc-2.19/gcc-4.8.3:
>>
>> Starting
>> cause_exn invoked
>> Aborted (core dumped)
>>
>> Have done some preliminary work and will have a patch for the list in a few weeks, but it would be a shame if somebody else has already gone there!
>
> Have you checked upstream?
> https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/master
>
>> ppc_64 works fine.  As does x86, x86_64 on the same test program.
>
> Hrm...
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
> Related?
>
>> --
>> Dan Wilder
>> Btw thanks Bryan for taking the cross-gcc helm and thanks Yann for the excellent work!
>
> :)
>
>>
>>
>> --
>> For unsubscribe information see http://sourceware.org/lists.html#faq
>>
>
> Cheers,
>
> -Bryan

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

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

* Re: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
  2014-12-16  0:43         ` Dan Wilder
@ 2014-12-16  2:07           ` Bryan Hundven
  2014-12-16  4:09             ` Dan Wilder
  0 siblings, 1 reply; 8+ messages in thread
From: Bryan Hundven @ 2014-12-16  2:07 UTC (permalink / raw)
  To: Dan Wilder; +Cc: crossgcc

Dan,

On Mon, Dec 15, 2014 at 4:43 PM, Dan Wilder <Dan.Wilder@watchguard.com> wrote:
> OK those two patches under note 4, with a little backport work, did the trick for gcc-4.8.3.
>
> Any words of wisdom on submitting the patches to ctng and/or gcc?  I've got a git clone of crosstool-ng on github.

I say if you have a clone on github and can open a pull request, do that.

>
> My own repro and also the repro on gcc bug ran without error when built with -static using the patched compiler, on a newport.  Without the patch, boom.

Just curious, did you also test this with 4.9.2? IOW, does 4.9.x need
this patch as well?

> Running make check on the x86 build now.

Great!

Thanks,

-Bryan

> --
> Dan Wilder
> ________________________________________
> From: Bryan Hundven [bryanhundven@gmail.com]
> Sent: Thursday, December 04, 2014 6:01 PM
> To: Dan Wilder
> Cc: crossgcc@sourceware.org
> Subject: Re: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
>
> Dan,
>
> On Thu, Dec 4, 2014 at 5:46 PM, Dan Wilder <Dan.Wilder@watchguard.com> wrote:
>> Thanks Bryan.  Yup their backtraces look just like mine.
>
> :)
>
>> I'll keep an eye on that bug, if somebody fixes it before I get a Round Tuit that'd be nice for me!  Otherwise I guess the patch goes upstream.
>
> Indeed. You can always add yourself to "cc" on the bug. I saw some
> other related bugs in my search, though they are "AIX"... that is
> still "powerpc" (rs6000).
>
> Also, Check the patches in comment #4.
>
> As a related... but slightly off-topic thought... Another thing I'd
> like to change about crosstool-ng: I dislike all these "for upstream"
> patches we harbor in patches/. Maybe I'll work on a RFC on how we can
> deal with them.
>
> Cheers,
>
> -Bryan
>
>> --
>> Dan Wilder
>> ________________________________________
>> From: Bryan Hundven [bryanhundven@gmail.com]
>> Sent: Thursday, December 04, 2014 5:42 PM
>> To: Dan Wilder
>> Cc: crossgcc@sourceware.org
>> Subject: Re: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
>>
>> Dan,
>>
>> On Thu, Dec 4, 2014 at 4:24 PM, Dan Wilder <Dan.Wilder@watchguard.com> wrote:
>>> Any unwind patches for ppc in glibc-2.19?
>>
>> I don't see any in patchwork.
>>
>>> A small c++ program fails nicely on 32-bit ppc:
>>> ------------------------------------------------------------------------------------------
>>> #include <iostream>
>>>
>>> static void cause_exn(void)
>>> {
>>>     std::cout << "cause_exn invoked" << std::endl;
>>>     throw 20;
>>>     std::cout << "cause_exn done" << std::endl;
>>> }
>>>
>>> int main(int argc, char **argv)
>>> {
>>>     std::cout << "Starting" << std::endl;
>>>     try {
>>>         cause_exn();
>>>     } catch (int e) {
>>>         std::cout <<  "Caught exception " << e << std::endl;
>>>     }
>>>     std::cout << "Exiting" << std::endl;
>>>     return 0;
>>> }
>>> -----------------------------------------------------------------------------------------------
>>>
>>> Expected output is:
>>>
>>> Starting
>>> cause_exn invoked
>>> Caught exception 20
>>> Exiting
>>>
>>> on 32-bit ppc with glibc-2.19/gcc-4.8.3:
>>>
>>> Starting
>>> cause_exn invoked
>>> Aborted (core dumped)
>>>
>>> Have done some preliminary work and will have a patch for the list in a few weeks, but it would be a shame if somebody else has already gone there!
>>
>> Have you checked upstream?
>> https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/master
>>
>>> ppc_64 works fine.  As does x86, x86_64 on the same test program.
>>
>> Hrm...
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
>> Related?
>>
>>> --
>>> Dan Wilder
>>> Btw thanks Bryan for taking the cross-gcc helm and thanks Yann for the excellent work!
>>
>> :)
>>
>>>
>>>
>>> --
>>> For unsubscribe information see http://sourceware.org/lists.html#faq
>>>
>>
>> Cheers,
>>
>> -Bryan

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

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

* RE: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
  2014-12-16  2:07           ` Bryan Hundven
@ 2014-12-16  4:09             ` Dan Wilder
  0 siblings, 0 replies; 8+ messages in thread
From: Dan Wilder @ 2014-12-16  4:09 UTC (permalink / raw)
  To: Bryan Hundven; +Cc: crossgcc

Believe 4.9.2 needs it as well.   It's been repro'd there and the patched files are near-identical in the vicinity of the patch.   I'll look at knocking off a quick 4.9.2 to verify that.

The bug repros even on a platform built against much older gcc if the test program is static linked, so it's pretty easy to test.

--
Dan Wilder
________________________________________
From: Bryan Hundven [bryanhundven@gmail.com]
Sent: Monday, December 15, 2014 6:07 PM
To: Dan Wilder
Cc: crossgcc@sourceware.org
Subject: Re: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)

Dan,

On Mon, Dec 15, 2014 at 4:43 PM, Dan Wilder <Dan.Wilder@watchguard.com> wrote:
> OK those two patches under note 4, with a little backport work, did the trick for gcc-4.8.3.
>
> Any words of wisdom on submitting the patches to ctng and/or gcc?  I've got a git clone of crosstool-ng on github.

I say if you have a clone on github and can open a pull request, do that.

>
> My own repro and also the repro on gcc bug ran without error when built with -static using the patched compiler, on a newport.  Without the patch, boom.

Just curious, did you also test this with 4.9.2? IOW, does 4.9.x need
this patch as well?

> Running make check on the x86 build now.

Great!

Thanks,

-Bryan

> --
> Dan Wilder
> ________________________________________
> From: Bryan Hundven [bryanhundven@gmail.com]
> Sent: Thursday, December 04, 2014 6:01 PM
> To: Dan Wilder
> Cc: crossgcc@sourceware.org
> Subject: Re: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
>
> Dan,
>
> On Thu, Dec 4, 2014 at 5:46 PM, Dan Wilder <Dan.Wilder@watchguard.com> wrote:
>> Thanks Bryan.  Yup their backtraces look just like mine.
>
> :)
>
>> I'll keep an eye on that bug, if somebody fixes it before I get a Round Tuit that'd be nice for me!  Otherwise I guess the patch goes upstream.
>
> Indeed. You can always add yourself to "cc" on the bug. I saw some
> other related bugs in my search, though they are "AIX"... that is
> still "powerpc" (rs6000).
>
> Also, Check the patches in comment #4.
>
> As a related... but slightly off-topic thought... Another thing I'd
> like to change about crosstool-ng: I dislike all these "for upstream"
> patches we harbor in patches/. Maybe I'll work on a RFC on how we can
> deal with them.
>
> Cheers,
>
> -Bryan
>
>> --
>> Dan Wilder
>> ________________________________________
>> From: Bryan Hundven [bryanhundven@gmail.com]
>> Sent: Thursday, December 04, 2014 5:42 PM
>> To: Dan Wilder
>> Cc: crossgcc@sourceware.org
>> Subject: Re: Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
>>
>> Dan,
>>
>> On Thu, Dec 4, 2014 at 4:24 PM, Dan Wilder <Dan.Wilder@watchguard.com> wrote:
>>> Any unwind patches for ppc in glibc-2.19?
>>
>> I don't see any in patchwork.
>>
>>> A small c++ program fails nicely on 32-bit ppc:
>>> ------------------------------------------------------------------------------------------
>>> #include <iostream>
>>>
>>> static void cause_exn(void)
>>> {
>>>     std::cout << "cause_exn invoked" << std::endl;
>>>     throw 20;
>>>     std::cout << "cause_exn done" << std::endl;
>>> }
>>>
>>> int main(int argc, char **argv)
>>> {
>>>     std::cout << "Starting" << std::endl;
>>>     try {
>>>         cause_exn();
>>>     } catch (int e) {
>>>         std::cout <<  "Caught exception " << e << std::endl;
>>>     }
>>>     std::cout << "Exiting" << std::endl;
>>>     return 0;
>>> }
>>> -----------------------------------------------------------------------------------------------
>>>
>>> Expected output is:
>>>
>>> Starting
>>> cause_exn invoked
>>> Caught exception 20
>>> Exiting
>>>
>>> on 32-bit ppc with glibc-2.19/gcc-4.8.3:
>>>
>>> Starting
>>> cause_exn invoked
>>> Aborted (core dumped)
>>>
>>> Have done some preliminary work and will have a patch for the list in a few weeks, but it would be a shame if somebody else has already gone there!
>>
>> Have you checked upstream?
>> https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/master
>>
>>> ppc_64 works fine.  As does x86, x86_64 on the same test program.
>>
>> Hrm...
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
>> Related?
>>
>>> --
>>> Dan Wilder
>>> Btw thanks Bryan for taking the cross-gcc helm and thanks Yann for the excellent work!
>>
>> :)
>>
>>>
>>>
>>> --
>>> For unsubscribe information see http://sourceware.org/lists.html#faq
>>>
>>
>> Cheers,
>>
>> -Bryan

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

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

end of thread, other threads:[~2014-12-16  4:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-04 23:47 Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!) Bryan Hundven
2014-12-05  0:24 ` Dan Wilder
2014-12-05  1:42   ` Bryan Hundven
2014-12-05  1:46     ` Dan Wilder
2014-12-05  2:01       ` Bryan Hundven
2014-12-16  0:43         ` Dan Wilder
2014-12-16  2:07           ` Bryan Hundven
2014-12-16  4:09             ` Dan Wilder

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).