CC'd to mailing list.
On 05/09/12 17:42, Peter Miller wrote:
> On 29/04/12 17:20, wrote:
>> On 25/04/12 19:20,Lee Noar<> wrote:
>>>
>>> On 25/04/12 17:17, wrote:
>>>> I've just installed GCC 4.1.2 release 1 onto my VRPC AdjustSA
>>>> RO 6.20 system, including SharedUnixlib 1.12, and the latest
>>>> !SharedLibs. I get a
>>>> segmentation fault when compiling certain c files. It looks
>>>> like they are
>>>> greater than a certain size in some way. They compile ok with
>>>> the previous
>>>> GCC release. I don't remember getting this error with the
>>>> previous release, or having to do anything to increase a slot
>>>> size, etc. My next slot is set
>>>> to 10240k. Have I missed or forgotten to do something, or is it
>>>> a real bug.
>>>
>>> Could you please post one of the offending files that will
>>> demonstrate the problem.
>>>
>>> Thanks, Lee.
>>
>> Hmm, not the answer I was hoping for.
>
> Yes, sorry, but unless we can reproduce the same result, it's
> virtually impossible to find the cause.
>
> [snip]
>
>> If you still need it I can send a zip file of a peprocessed C file
>> containing the problem code I described at the start of this
>> email, unfortunately unpreprocessed its 15000 lines long,
>> preprocessed and zipped its 115KB.
>
> Yes, I think that's the only way.
>
>> If so, would you prefer it sent to your email address you used to
>> reply to this message. Please let me know.
>
>> Yes, that should be fine.
>
>> Lee.
>
> Sorry I haven't replied until now. My development system got
> destroyed by windows. I've just managed to rebuild it and finish some
> development. Unfortunately, the file I was going to send you was
> lost. However, *I think* I've found an earlier file with a
> preprocessed compile exhibiting the segmentation fault which I've
> attached. Hope its still of use. IIRC the -O2 flags is set when the
> segmentation fault occurs, but its a while ago so I'm not sure.
Ok, thanks for sending the file.
I suspect that this is another occurrence of bug#243. I have
successfully compiled the file you sent, with and without optimising,
using a fixed GCC.
Could you download this test build of GCC 4.1.2 Release 2 that John has
made available and see if it fixes your problem:
<http://www.riscos.info/downloads/gccsdk/testing/4.1.2/>
Thanks,
Lee.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment