Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Upcoming moOde 6.5.0
#25
(02-21-2020, 04:22 AM)TheOldPresbyope Wrote: @Tim Curtis

I think it succeeded but I accidentally closed the terminal before I checked that the compile was actually complete. The resulting binary seemed ok. I used readelf -A to check it, for example. One thing though, the binary was smaller by almost 1.5MB than the one in your release. I've just now started a second build from scratch to make sure everything was ok. I also saw that the protocol stuff was taking an inordinate amount of time.

I wasted what time I had available this afternoon and evening trying to set up and cross compile on my x86 linux laptop using https://github.com/rust-embedded/cross

After weeding out the usual blunders by successive approximation (I never claimed to be a Rustacean!) I ran into a build error I couldn't get past

Code:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Cross compilation detected. Use PKG_CONFIG_ALLOW_CROSS=1 to override"', src/libcore/result.rs:1188:5

I see lots of posts about this Err value but no actionable answer. Setting the environmental variable in Linux doesn't resolve the error. The cross compile is done in a dynamically started Docker container and I probably need somehow to set the variable inside it.

Pity. I was hoping to be able to report a blazing fast build!

Maybe armed with what I learned about Rust today I can muddle through a cross compile on an RPi4B.

As for the RPi1B, doesn't it seem likely this is an just another memory size issue? When I'm running on the RPi0w, I see up to 60MB of swap being used. Of course using swap will cause the gears to grind even slower.

Regards,
Kent

You can always use the crossbuild framework that I sponsored some time ago. I'm currently using to build packages targeted for specific architecture (rpi, rpi2, rpi3) tuning relative compiler parameters, from my laptop. A full build takes (with all packages kernel, mpd, blue-alsa, shairport...) less than 1 hour on a core i7-7700...
Reply


Messages In This Thread
Upcoming moOde 6.5.0 - by Tim Curtis - 02-18-2020, 02:42 AM
RE: Upcoming moOde 6.5.0 - by ksone - 02-18-2020, 09:35 AM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-18-2020, 01:26 PM
RE: Upcoming moOde 6.5.0 - by ksone - 02-18-2020, 02:56 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-18-2020, 03:26 PM
RE: Upcoming moOde 6.5.0 - by JonPike - 02-19-2020, 12:44 AM
RE: Upcoming moOde 6.5.0 - by ksone - 02-19-2020, 07:23 AM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-18-2020, 08:26 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-19-2020, 12:37 AM
RE: Upcoming moOde 6.5.0 - by romain - 04-06-2020, 05:01 PM
RE: Upcoming moOde 6.5.0 - by philrandal - 04-07-2020, 11:04 AM
RE: Upcoming moOde 6.5.0 - by romain - 04-07-2020, 11:47 AM
RE: Upcoming moOde 6.5.0 - by romain - 04-07-2020, 01:15 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-19-2020, 12:51 AM
RE: Upcoming moOde 6.5.0 - by adrii - 02-19-2020, 08:01 AM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-19-2020, 12:35 PM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 02-19-2020, 12:58 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-19-2020, 05:50 PM
RE: Upcoming moOde 6.5.0 - by Norbert - 02-20-2020, 12:04 AM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 02-19-2020, 04:35 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-19-2020, 05:36 PM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 02-20-2020, 01:47 PM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 02-20-2020, 02:08 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-20-2020, 02:12 PM
RE: Upcoming moOde 6.5.0 - by partytime-excellent - 02-20-2020, 10:16 PM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 02-20-2020, 11:48 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-21-2020, 02:20 AM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 02-21-2020, 04:22 AM
RE: Upcoming moOde 6.5.0 - by badbat75 - 02-21-2020, 09:51 AM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 02-21-2020, 11:29 AM
RE: Upcoming moOde 6.5.0 - by badbat75 - 02-21-2020, 11:33 AM
RE: Upcoming moOde 6.5.0 - by badbat75 - 02-21-2020, 11:46 AM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 02-21-2020, 01:06 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-21-2020, 02:22 PM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 02-21-2020, 02:32 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-21-2020, 10:01 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-21-2020, 10:04 PM
RE: Upcoming moOde 6.5.0 - by JST1963 - 02-22-2020, 12:33 PM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 02-22-2020, 02:11 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-22-2020, 01:18 AM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-22-2020, 01:12 PM
RE: Upcoming moOde 6.5.0 - by Pieter - 02-24-2020, 08:14 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 02-24-2020, 01:56 AM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 03-02-2020, 12:00 AM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 03-02-2020, 12:04 AM
RE: Upcoming moOde 6.5.0 - by DRONE7 - 03-03-2020, 06:52 AM
RE: Upcoming moOde 6.5.0 - by TookaFace - 03-03-2020, 10:19 AM
RE: Upcoming moOde 6.5.0 - by philrandal - 03-03-2020, 02:50 PM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 03-03-2020, 03:42 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 03-03-2020, 12:42 PM
RE: Upcoming moOde 6.5.0 - by TookaFace - 03-03-2020, 12:55 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 03-03-2020, 01:04 PM
RE: Upcoming moOde 6.5.0 - by TookaFace - 03-03-2020, 02:56 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 03-03-2020, 04:20 PM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 03-03-2020, 04:48 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 03-03-2020, 05:45 PM
RE: Upcoming moOde 6.5.0 - by philrandal - 03-04-2020, 01:36 PM
RE: Upcoming moOde 6.5.0 - by TookaFace - 03-03-2020, 06:15 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 03-03-2020, 06:51 PM
RE: Upcoming moOde 6.5.0 - by corrobor - 03-14-2020, 09:04 AM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 03-14-2020, 12:52 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 03-22-2020, 10:57 PM
RE: Upcoming moOde 6.5.0 - by HemiRick - 03-23-2020, 02:13 AM
RE: Upcoming moOde 6.5.0 - by japumpy - 03-23-2020, 02:25 AM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 03-23-2020, 02:30 AM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 03-23-2020, 02:36 AM
RE: Upcoming moOde 6.5.0 - by Chris Tennant - 03-23-2020, 09:10 AM
RE: Upcoming moOde 6.5.0 - by vinnn - 03-23-2020, 02:27 PM
RE: Upcoming moOde 6.5.0 - by TheOldPresbyope - 04-06-2020, 05:08 PM
RE: Upcoming moOde 6.5.0 - by romain - 04-06-2020, 05:09 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 04-12-2020, 08:45 PM
RE: Upcoming moOde 6.5.0 - by Tim Curtis - 04-14-2020, 09:27 PM

Forum Jump: