Browsing this Thread:
1 Anonymous Users
|
Re: Code crashes icaros
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Quote:
Yes, I just meant adding -O0 to CFLAGS. I think it crashes somewhere in this function (compiler/mlib/s_rint.c):
double
Posted on: 2013/7/26 20:15
|
|||
|
||||
|
Re: Code crashes icaros
|
||||
|---|---|---|---|---|
|
Just can't stay away
![]() |
With the included lrint() it doesn't crash anymore, even with -O3 set. I only commented out the math.h coz else it wouldn't compile correctly (round() issue).
Attach file: Link only for registered users
Posted on: 2013/7/26 18:53
|
|||
|
||||
|
Re: Code crashes icaros
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
Quote:
Excuse my ignorance - but what is mlib optimisation? If you mean gcc optimising the mlib code - then probably yes (unless you can see why it breaks?) If its gcc's ability to replace math with more efficient routines, then it might be worth finding out what routines are failing. It would be nice to know exactly why it fails though so the same problem doesn't crop up again.
Posted on: 2013/7/26 18:43
|
|||
|
||||
|
Re: Code crashes icaros
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
It crashes in lrint(). It can be worked around by turning off optimisation for mlib.
@Kalamatee and other developers: Should I turn off mlib optimisation for ABIv0?
Posted on: 2013/7/26 17:28
|
|||
|
||||
|
Re: Code crashes icaros
|
||||
|---|---|---|---|---|
|
Just can't stay away
![]() |
<p>Abi V1 uses a newer version of gcc, which could be the solution. I couldn't compile it myself because of an error with gcc, libgcc.a (file format) doesn't get recognised. The error is also there under nightly abi 0. Also no problem with vbcc aros.</p><p></p><p></p><p> </p><p></p><p> </p><p> </p><p></p><p> </p><p></p><p> </p>
Posted on: 2013/7/26 10:54
|
|||
|
||||
|
Re: Code crashes icaros
|
||||
|---|---|---|---|---|
|
Home away from home
![]()
|
I tried under ABI v1 and it works correctly there so it must be specific to ABI v0.
You could always try in AROS hosted and see if you can use GDB to identify where/why it crashes.
Posted on: 2013/7/25 23:39
|
|||
|
||||
|
Code crashes icaros
|
||||
|---|---|---|---|---|
|
Just can't stay away
![]() |
<p> When you compile and run the supplied code, then vmware and vbox (with icaros 1.5.2) are reset completely (starting from the beginning with the grub window). I found the code crashing when running the configure file from libsndfile. Hope someone can check it out and fix this one.</p><p> </p><p></p><p> </p><p> </p><p> </p><p></p><p> </p>
Attach file: Link only for registered users
Posted on: 2013/7/25 21:01
|
|||
|
||||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.







