Announce: Revisiting Patchwork (aka, if you have a patch in patchwork, your attention is ***required***!)
Dan Wilder
Dan.Wilder@watchguard.com
Fri Dec 5 00:24:00 GMT 2014
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
More information about the crossgcc
mailing list