On 03/21/2014 11:25 AM, Adrian Knoth wrote: > On 11/04/13 15:49, Benoît Delcour wrote: > > Hi! > >> I just got myself a dual Powermac G4 out of a garbage bin, >> and immediately installed debian and jackd2. >> It fails with an obscure "Bus error"; since I also own a raspberry pi, >> I first tried to patch source with the same fix, and it works. >> See "Usage of __attribute__((__packed__)) causes bus error on ARM": > > OK, got you. > >> Modifiying source to #undef & #define it unconditionnally did the trick. >> Bug report tagged as patch, but I don't know the correct flag. >> I can prepare an actual patch if/when I get the __powerpc__ 32bit-only >> thingy > > Did you ever find the correct macro? We're close to a new jackd release > and would include this fix, if necessary (and correct).
gcc -dM -E - < /dev/null lists all compiler defines, I hazard a guess that __ppc__ is appropriate (there's also __ppc64__). But going by compiler defines alone is tricky (OSX for example allows multi-arch builds, even though osx <= 10.5 PPC users are rare these days). This should be really be set/auto-detected during waf configure. 2c, robin _______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers