This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |