SuperCollider

Created on 2020-10-14T10:54:08+00:00

Return to the Index

This card can also be read via Gemini.

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 resolves the symbol errors but you still get crashes down in a memcpy.

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