Bug#728710: [Jack-Devel] Bug#728710: jackd2: Bus error w/ POST_PACKED_STRUCTURE on powerpc G4 32bit

Robin Gareus robin at gareus.org
Fri Mar 21 11:35:12 UTC 2014


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



More information about the pkg-multimedia-maintainers mailing list