{"action":"created","issue":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/1990","repository_url":"https://api.github.com/repos/supercollider/supercollider","labels_url":"https://api.github.com/repos/supercollider/supercollider/issues/1990/labels{/name}","comments_url":"https://api.github.com/repos/supercollider/supercollider/issues/1990/comments","events_url":"https://api.github.com/repos/supercollider/supercollider/issues/1990/events","html_url":"https://github.com/supercollider/supercollider/issues/1990","id":150490033,"number":1990,"title":"compile errors on Raspberry Pi 3","user":{"login":"thumbthumb","id":16723964,"avatar_url":"https://avatars.githubusercontent.com/u/16723964?v=3","gravatar_id":"","url":"https://api.github.com/users/thumbthumb","html_url":"https://github.com/thumbthumb","followers_url":"https://api.github.com/users/thumbthumb/followers","following_url":"https://api.github.com/users/thumbthumb/following{/other_user}","gists_url":"https://api.github.com/users/thumbthumb/gists{/gist_id}","starred_url":"https://api.github.com/users/thumbthumb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thumbthumb/subscriptions","organizations_url":"https://api.github.com/users/thumbthumb/orgs","repos_url":"https://api.github.com/users/thumbthumb/repos","events_url":"https://api.github.com/users/thumbthumb/events{/privacy}","received_events_url":"https://api.github.com/users/thumbthumb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-22T22:56:22Z","updated_at":"2016-04-24T00:53:21Z","closed_at":null,"body":"Hi, \r\nI recently followed the instructions on the wiki : [https://supercollider.github.io/development/building-raspberrypi.html]\r\nUnder the \"building with IDE\" heading. \r\nWhen I tried to compile SC, I got this error at 32% : \r\n\r\n[ 31%] Building CXX object editors/sc-ide/CMakeFiles/SuperCollider.dir/widgets/main_window.cpp.o\r\n[ 31%] Building CXX object editors/sc-ide/CMakeFiles/SuperCollider.dir/widgets/multi_editor.cpp.o\r\n[ 32%] Building CXX object editors/sc-ide/CMakeFiles/SuperCollider.dir/widgets/post_window.cpp.o\r\ng++-4.8: internal compiler error: Killed (program cc1plus)\r\nPlease submit a full bug report,\r\nwith preprocessed source if appropriate.\r\nSee <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.\r\neditors/sc-ide/CMakeFiles/SuperCollider.dir/build.make:788: recipe for target 'editors/sc-ide/CMakeFiles/SuperCollider.dir/widgets/lookup_dialog.cpp.o' failed\r\nmake[2]: *** [editors/sc-ide/CMakeFiles/SuperCollider.dir/widgets/lookup_dialog.cpp.o] Error 4\r\nmake[2]: *** Waiting for unfinished jobs....\r\n\r\nI'm using a raspberry pi 3 with Raspbian installed from NOOBS 1.9.0, ran all the update, upgrade and dependency installation steps with no issues. GCC version (gcc -v) is 4.9.2, but I also ran the steps to ensure 4.8.4 was used - I saw this line: \r\nThe C compiler identification is GNU 4.8.4\r\nI had checked out the 3.7 branch when I got the above error, but I also get an error in the same step using the Master branch. \r\n\r\nuname -a gives me:\r\nLinux raspberrypi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux\r\n\r\ncat /etc/os-release gives: \r\nPRETTY_NAME=\"Raspbian GNU/Linux 8 (jessie)\r\nNAME=\"Raspbian GNU/Linux\"\r\nVERSION_ID=\"8\"\r\nVERSION=\"8 (jessie)\"\r\nID=raspbian\r\nID_LIKE=debian\r\n\r\netc. \r\n\r\nAny help would be appreciated! "},"comment":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/comments/213859411","html_url":"https://github.com/supercollider/supercollider/issues/1990#issuecomment-213859411","issue_url":"https://api.github.com/repos/supercollider/supercollider/issues/1990","id":213859411,"user":{"login":"redFrik","id":1815476,"avatar_url":"https://avatars.githubusercontent.com/u/1815476?v=3","gravatar_id":"","url":"https://api.github.com/users/redFrik","html_url":"https://github.com/redFrik","followers_url":"https://api.github.com/users/redFrik/followers","following_url":"https://api.github.com/users/redFrik/following{/other_user}","gists_url":"https://api.github.com/users/redFrik/gists{/gist_id}","starred_url":"https://api.github.com/users/redFrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redFrik/subscriptions","organizations_url":"https://api.github.com/users/redFrik/orgs","repos_url":"https://api.github.com/users/redFrik/repos","events_url":"https://api.github.com/users/redFrik/events{/privacy}","received_events_url":"https://api.github.com/users/redFrik/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T00:53:21Z","updated_at":"2016-04-24T00:53:21Z","body":"those instructions were written before there was a rpi3 and before your (great) -fno-strict-aliasing discovery.\nbut thanks for good info.  i’ll try compiling on rpi3 when i get back home monday and will most likely revisit the build-instructions with your suggestions.\n\nthat jack error sounds familiar and is probably an easy one to fix.  just can’t remember exactly how right now.\n\ntry:\nexport DISPLAY=:0.0\nexport `dbus-launch | grep ADDRESS`\nexport `dbus-launch | grep PID`\njackd -P95 -dalsa -dhw:1 -p1024 -n3 -s -r 44100 &\n\nor\nsudo apt-get install screen\ndbus-launch screen\njackd -P95 -dalsa -dhw:1 -p1024 -n3 -s -r 44100 &\n\nthe distributed jackd _will work, but it’s messy to get going.  fiddly dbus issues that you’ll need to work around like above.  often easier to just build it from git without dbus.\n_f\n\n> 24 apr 2016 kl. 02:12 skrev Rainer Schütz <notifications@github.com>:\n> \n> I got it to build on an RP2b with Raspbian. I am not happy yet, get \"JackDriver: exception in real time: alloc failed, increase server's memory allocation (...)\", and simply increasing memSize doesn't help. But at least on the RP2b the build errors can be avoided with the current packages (Qt 5.3.2)\n> \n> What I did, what seems not to be mentioned in the build instructions, was to make sure Qt5 was used by setting the environment var QT_SELECT:\n> \n> export QT_SELECT=5\n> \n> Not sure what would have happened without that.\n> \n> And I noticed that closing X and building from the cli is significantly faster.\n> \n> I did use a slightly different approach as in the build instructions. Kept the default gcc 4.9.2, just switched supernova off, and used -fno-strict-aliasing in addition to the documented c/c++-flags:\n> \n> cmake -DSUPERNOVA=OFF -DCMAKE_C_FLAGS=\"-mtune=cortex-a7 -mfloat-abi=hard -mfpu=neon -funsafe-math-optimizations -fno-strict-aliasing\" -DCMAKE_CXX_FLAGS=\"-mtune=cortex-a7 -mfloat-abi=hard -mfpu=neon -funsafe-math-optimizations -fno-strict-aliasing\" ..\n> \n> I'll try to find out what's wrong with the server/jackd. If somebody has an idea... Just reinstalling jackd didn't help. Realtime priority for the audio group is set to 95, memlock unlimited, user pi a member of the audio group. Do I still need to compile jack or should the distributed version be fine?\n> \n> Will get a RP3 in 3 days, will try again then ;)\n> \n> —\n> You are receiving this because you commented.\n> Reply to this email directly or view it on GitHub\n> \n\n\n  #|\n     fredrikolofsson.com     musicalfieldsforever.com\n  |#\n\n"}}