On Sun, Feb 24, 2008 at 2:43 AM, Jan Kratochvil <[EMAIL PROTECTED]> wrote: > Hi, > > original bugreport: > https://bugzilla.redhat.com/show_bug.cgi?id=342451 > patch: > > http://cvs.fedoraproject.org/viewcvs/*checkout*/rpms/libunwind/devel/libunwind-snap-070224-multilib-rh342451.patch > > Expecting it broke i386 builds on an x86_64 system with both libunwind arches > installed (as there will be x86_64 /usr/include/libunwind.h). Not tried. > [...] > diff -u -X /home/jkratoch/.diffi.list -ruNp -x Makefile -x Makefile.in > libunwind-0.99-alpha-orig/include/libunwind.h > libunwind-0.99-alpha/include/libunwind.h > --- libunwind-0.99-alpha-orig/include/libunwind.h 1970-01-01 > 01:00:00.000000000 +0100 > +++ libunwind-0.99-alpha/include/libunwind.h 2008-02-24 > 06:40:59.000000000 +0100 > @@ -0,0 +1,17 @@ > +/* Provide a real file - not a symlink - as it would cause multiarch > conflicts > + (when multiple different arch releases are installed simultaneously. > + https://bugzilla.redhat.com/show_bug.cgi?id=342451 */ > + > +#if defined __x86_64__ > +# include "libunwind-x86_64.h" > +#elif defined __i386__ > +# include "libunwind-x86.h" > +#elif defined __ia64__ > +# include "libunwind-ia64.h" > +#elif defined __powerpc64__ > +# include "libunwind-ppc64.h" > +#elif defined __hpux > +# include "libunwind-hppa.h" > +#else > +# error "Unsupported arch" > +#endif
ARM support is now committed to the repository, so I believe you also need to add: #elif defined __arm__ # include "libunwind-arm.h" here and on other files. Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia Manaus - Brazil _______________________________________________ Libunwind-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/libunwind-devel
