SuperCollider
Created on 2020-10-14T10:54:08+00:00
on alpine
compile error via fortified headers
/usr/include/fortify/unistd.h: At global scope: /usr/include/fortify/unistd.h:146:1: error: type of 'cv::write' is unknown 146 | _FORTIFY_FN(write) ssize_t write(int __f, const void *__s, size_t __n) | ^~~~~~~~~~~ In file included from ../modules/videoio/src/cap_ffmpeg_impl.hpp:116, from ../modules/videoio/src/cap_ffmpeg.cpp:50: /usr/include/fortify/unistd.h: In function 'ssize_t write(int, const void*, size_t)': /usr/include/fortify/unistd.h:152:35: error: '__orig_write' cannot be used as a function 152 | return __orig_write(__f, __s, __n); |
disabling fortified
Shimming a #define _FORTIFIED_UNISTD_H in QtCollider/common.h results in crashes.
Fixing through including
Disabling through a global -D_FORTIFIED_SOURCE=0 results in crashes via
0x000055555566263a in addMsgSlot(scpacket<65516>*, pyrslot*) ()
Looks like SuperCollider is just straight broken.
sclang
- sclang talks over stdin and stdout
- but new lines do NOT trigger code!
- you must send 0x1b (press
) for what has been sent so far to be run - 0x0c runs what has been sent and prints result to stdout