1. Non-functioning ARM (Raspberry Pi) builds >= 6169:7a92d21111fe
- Posted by rkdavis Dec 28, 2013
- 1469 views
I just noticed that after powl() was added to be_runtime.c for FreeBSD then my ARM builds (Raspberry Pi) produce non-functioning executables. When run they just sit there looking pretty with no output at all and have to be killed.
Any ideas why the powl() addition would cause this?
2. Re: Non-functioning ARM (Raspberry Pi) builds >= 6169:7a92d21111fe
- Posted by mattlewis (admin) Dec 28, 2013
- 1457 views
I just noticed that after powl() was added to be_runtime.c for FreeBSD then my ARM builds (Raspberry Pi) produce non-functioning executables. When run they just sit there looking pretty with no output at all and have to be killed.
Any ideas why the powl() addition would cause this?
I wouldn't have expected that. I'll take a look.
Matt
3. Re: Non-functioning ARM (Raspberry Pi) builds >= 6169:7a92d21111fe
- Posted by rkdavis Dec 28, 2013
- 1440 views
i did a quick test c prog to check that the libs on the raspi had powl (they do) so i've changed the #ifndef powl to #ifdef EFREEBSD and it sees to be ok. i'm flummuxed why it messed things up and i guess that that ifdef is probably not the correct way to do it but it seems to be ok for now
4. Re: Non-functioning ARM (Raspberry Pi) builds >= 6169:7a92d21111fe
- Posted by mattlewis (admin) Dec 29, 2013
- 1403 views
i did a quick test c prog to check that the libs on the raspi had powl (they do) so i've changed the #ifndef powl to #ifdef EFREEBSD and it sees to be ok. i'm flummuxed why it messed things up and i guess that that ifdef is probably not the correct way to do it but it seems to be ok for now
My raspberry pi's memory card seems to have died, so I can't test this right now, but can you please try:
#if !defined(powl) && INTPTR_MAX != INT32_MAX
We only need this on 64 bit platforms, which right now we don't support on ARM.
Matt
5. Re: Non-functioning ARM (Raspberry Pi) builds >= 6169:7a92d21111fe
- Posted by rkdavis Dec 30, 2013
- 1358 views
instead of the original ifndef powl or my ifdef EFREEBSD ?
if yes then seems to be fine, no hang when running eui and seems to pass/fail the same tests (so far)