[Pianod] Compiling on Raspberry Pi A+
Perette Barella
perette at barella.org
Sat Jul 23 16:38:47 PDT 2016
Darren,
‘Illegal instruction’ from the compiler is bad news, like the hardware is screwed up. Bad memory, bus problems… but let’s start with the fixable ones. If you’re overclocking the pi, set it back to normal. If you’re using some no-name SD card, try a reputable one; if it’s an old one, replace it; if it’s new and reputable try a different brand in case there’s a bad piece or batch.
You could do something like this to make sure what’s being written to the SD card is consistent
- Get the free space on the device:
$ df -k .
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 15183756 5530452 8980448 39% /
- Now make a temp file a little smaller than the free capacity. dd uses 512-byte blocks:
dd if=/dev/random count=30000000 | tee foobar | cksum
- When that completes
cksum foobar
- If the checksums don’t match… then I/O to your SD card isn’t being consistent. Of course, this checks free space, and there could be bad areas that contain operating system and the compiler.
What are the outputs of `uname -a` and `g++ --version`?
The automatic script ran against February’s Raspbian release. Testing it against the May Raspbian release is on my to-do list.
Perette
--
Perette Barella • perette at barella.org • 585-286-1312
176 Middlesex Road, Rochester NY 14610
> On 2016年07月23日, at 11:02, darren <1 at crotchett.com> wrote:
>
> I have been working on getting pianod2 installed on my Pi A+. I ran the script designed for the pi, which didn't completely work 100%. Skipping ahead, I am now trying to finish without the script by doing a make in the pianod sources directory. And, although extremely slow, it did work to a point where it finally failed. The output suggested creating a bug report. So, do you have any idea why this failed? I'll try compiling again, just in case maybe my pi ran out of resources or something and just gave an erroneous error. But, I have little hope that will work.
>
> …
> filesystemcommand.cpp: In member function ‘virtual void FilesystemCommands::handleCommand(PianodConnection&, FSCOMMAND)’:
> filesystemcommand.cpp:57:6: internal compiler error: Illegal instruction
> void FilesystemCommands::handleCommand (PianodConnection &conn, FSCOMMAND command) {
> ^
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20160723/71422ee7/attachment-0002.htm>
More information about the Pianod
mailing list