dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Segfault with Faster MDCT patch and -fPIC

Re: Segfault with Faster MDCT patch and -fPIC

From: Dave Hooper <>
Date: Mon, 20 Sep 2010 19:24:22 +0100

I suspect gcc is failing to stack it because it thinks I want to modify it.
The explicit register("r10") stuff is a bit of a hack really, and I could
easily see that gcc interprets my intentions differently than I had
originally assumed.
> On 20.09.2010 19:27, Dave Hooper wrote:
>> Oh sorry, you mean changing the register used for pic. I got mixed up.
>> I personally don't know if that's expected to work for r11 or not,
>> although that's not really the actual problem (or solution) here
> Isn't it the only way to determine the pic register in the code? It
> might be r10 or r9 otherwise.
> If we know the pic reg for sure we could stack it manually in asm parts
> (since gcc apparently fails to do so).
> Best regards.
Received on 2010-09-20

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy