UB Audio Drivers and the AudioReflector blitter lib
UB Audio Drivers and the AudioReflector blitter lib
- Subject: UB Audio Drivers and the AudioReflector blitter lib
- From: "B.J. Buchalter" <email@hidden>
- Date: Sat, 21 Jan 2006 22:36:56 -0500
- Thread-topic: UB Audio Drivers and the AudioReflector blitter lib
Hi Folks,
Just a quick warning to anyone using the Float <-> Int blitter lib from the
AudioReflector driver on Intel.
AFAICT, you MUST have GCC 4's optimization level set to -O3 when you compile
the Intel (x86) version. If you don't, it appears that the code generated
can attempt to access aligned data on an unaligned stack. In the kernel,
this causes a kernel panic; I have seen this when the watchdog fires
(although the main I/O path does not seem to trigger this). This seems to
come from the unoptimized code stuffing a constant vector onto the unaligned
stack.
So, if you are using this code, I would recommend carefully copying over the
target configuration settings from the AudioReflectorDriver Project. Of
course, the AudioReflectorDriver is set up to be built as a native binary,
but not as a UB, so you will have to deal with the UB configuration stuff
for KEXTs independently from the other configuration settings.
Bill or Jeff, does this need a Radar? Seems very bad that the compiler can
generate code (or the system can generate a stack) that can cause a bus
error storing a constant...
Best regards,
B.J. Buchalter
Metric Halo
5 Donovan Drive
Hopewell Junction, NY 12533 USA
tel +1 845 223-6112
fax +1 603 250-2451
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Universal AUs (From: Adrian Pflugshaupt <email@hidden>) |