richardwilkes / unison

A unified graphical user experience toolkit for Go desktop applications
Mozilla Public License 2.0
202 stars 10 forks source link

Support x86_64-unknown-linux-musl #44

Closed apprehensions closed 4 months ago

apprehensions commented 11 months ago
$ go run example/main.go 
go: downloading github.com/richardwilkes/toolbox v1.101.1
go: downloading github.com/go-gl/glfw/v3.3/glfw v0.0.0-20231124074035-2de0cf0c80af
go: downloading github.com/richardwilkes/json v0.1.0
go: downloading github.com/go-gl/gl v0.0.0-20231021071112-07e5d0ea2e71
go: downloading github.com/yuin/goldmark v1.6.0
go: downloading github.com/pkg/term v1.1.0
# command-line-arguments
/usr/lib/go/pkg/tool/linux_amd64/link: running cc failed: exit status 1
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkMatrixConvolutionImageFilter.o): in function `(anonymous namespace)::SkMatrixConvolutionImageFilter::onFilterImage(skif::Context const&) const':
SkMatrixConvolutionImageFilter.cpp:(.text._ZNK12_GLOBAL__N_130SkMatrixConvolutionImageFilter13onFilterImageERKN4skif7ContextE+0x1389): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLCompiler.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > __gnu_cxx::__to_xstring<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>(int (*)(char*, unsigned long, char const*, __va_list_tag*), unsigned long, char const*, ...) [clone .constprop.0]':
SkSLCompiler.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xd6): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLRasterPipelineBuilder.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > __gnu_cxx::__to_xstring<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>(int (*)(char*, unsigned long, char const*, __va_list_tag*), unsigned long, char const*, ...) [clone .constprop.0]':
SkSLRasterPipelineBuilder.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xf7): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLRasterPipelineCodeGenerator.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > __gnu_cxx::__to_xstring<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>(int (*)(char*, unsigned long, char const*, __va_list_tag*), unsigned long, char const*, ...) [clone .constprop.0]':
SkSLRasterPipelineCodeGenerator.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xd6): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLFunctionCall.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > __gnu_cxx::__to_xstring<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>(int (*)(char*, unsigned long, char const*, __va_list_tag*), unsigned long, char const*, ...) [clone .constprop.0]':
SkSLFunctionCall.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xf7): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLIndexExpression.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > __gnu_cxx::__to_xstring<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>(int (*)(char*, unsigned long, char const*, __va_list_tag*), unsigned long, char const*, ...) [clone .constprop.0]':
SkSLIndexExpression.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xde): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLSwitchStatement.o):SkSLSwitchStatement.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xde): more undefined references to `__vsnprintf_chk' follow
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(png_decode.SkPngCodec.o): in function `sk_error_fn(png_struct_def*, char const*)':
SkPngCodec.cpp:(.text._ZL11sk_error_fnP14png_struct_defPKc+0x12): undefined reference to `__longjmp_chk'
/usr/bin/ld: SkPngCodec.cpp:(.text._ZL11sk_error_fnP14png_struct_defPKc+0x24): undefined reference to `__longjmp_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(png_decode.SkPngCodec.o): in function `SkPngInterlacedDecoder::InterlacedRowCallback(png_struct_def*, unsigned char*, unsigned int, int)':
SkPngCodec.cpp:(.text._ZN22SkPngInterlacedDecoder21InterlacedRowCallbackEP14png_struct_defPhji[_ZN22SkPngInterlacedDecoder21InterlacedRowCallbackEP14png_struct_defPhji]+0xc4): undefined reference to `__longjmp_chk'
/usr/bin/ld: SkPngCodec.cpp:(.text._ZN22SkPngInterlacedDecoder21InterlacedRowCallbackEP14png_struct_defPhji[_ZN22SkPngInterlacedDecoder21InterlacedRowCallbackEP14png_struct_defPhji]+0xdb): undefined reference to `__longjmp_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(png_decode.SkPngCodec.o): in function `SkPngNormalDecoder::RowCallback(png_struct_def*, unsigned char*, unsigned int, int)':
SkPngCodec.cpp:(.text._ZN18SkPngNormalDecoder11RowCallbackEP14png_struct_defPhji[_ZN18SkPngNormalDecoder11RowCallbackEP14png_struct_defPhji]+0x11a): undefined reference to `__longjmp_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(png_decode.SkPngCodec.o):SkPngCodec.cpp:(.text._ZN18SkPngNormalDecoder11RowCallbackEP14png_struct_defPhji[_ZN18SkPngNormalDecoder11RowCallbackEP14png_struct_defPhji]+0x131): more undefined references to `__longjmp_chk' follow
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(gpu_shared.SkSLGLSLCodeGenerator.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > __gnu_cxx::__to_xstring<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>(int (*)(char*, unsigned long, char const*, __va_list_tag*), unsigned long, char const*, ...) [clone .constprop.0]':
SkSLGLSLCodeGenerator.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xf7): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(gpu_shared.SkSLMetalCodeGenerator.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > __gnu_cxx::__to_xstring<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>(int (*)(char*, unsigned long, char const*, __va_list_tag*), unsigned long, char const*, ...) [clone .constprop.0]':
SkSLMetalCodeGenerator.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xf7): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(gpu_shared.SkSLPipelineStageCodeGenerator.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > __gnu_cxx::__to_xstring<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>(int (*)(char*, unsigned long, char const*, __va_list_tag*), unsigned long, char const*, ...) [clone .constprop.0]':
SkSLPipelineStageCodeGenerator.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xf7): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(gpu_shared.SkSLSPIRVCodeGenerator.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > __gnu_cxx::__to_xstring<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>(int (*)(char*, unsigned long, char const*, __va_list_tag*), unsigned long, char const*, ...) [clone .constprop.0]':
SkSLSPIRVCodeGenerator.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xde): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(gpu_shared.SkSLWGSLCodeGenerator.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > __gnu_cxx::__to_xstring<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>(int (*)(char*, unsigned long, char const*, __va_list_tag*), unsigned long, char const*, ...) [clone .constprop.0]':
SkSLWGSLCodeGenerator.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xf7): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libpng.pngerror.o): in function `png_warning':
pngerror.c:(.text.png_warning+0x105): undefined reference to `__fprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libpng.pngerror.o): in function `png_chunk_warning':
pngerror.c:(.text.png_chunk_warning+0x14d): undefined reference to `__fprintf_chk'
/usr/bin/ld: pngerror.c:(.text.png_chunk_warning+0x183): undefined reference to `__fprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libpng.pngerror.o): in function `png_free_jmpbuf':
pngerror.c:(.text.png_free_jmpbuf+0xb8): undefined reference to `__longjmp_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libpng.pngerror.o): in function `png_default_error':
pngerror.c:(.text.png_default_error+0x33): undefined reference to `__fprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libpng.pngerror.o): in function `png_app_warning':
pngerror.c:(.text.png_app_warning+0x10c): undefined reference to `__fprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libpng.pngerror.o): in function `png_app_error':
pngerror.c:(.text.png_app_error+0x10c): undefined reference to `__fprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libpng.pngerror.o): in function `png_chunk_benign_error':
pngerror.c:(.text.png_chunk_benign_error+0x14d): undefined reference to `__fprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libpng.pngerror.o): in function `png_safe_error':
pngerror.c:(.text.png_safe_error+0x4a): undefined reference to `__longjmp_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(gpu.ClipStack.o): in function `skgpu::ganesh::ClipStack::apply(GrRecordingContext*, skgpu::ganesh::SurfaceDrawContext*, GrDrawOp*, GrAAType, GrAppliedClip*, SkRect*) const':
ClipStack.cpp:(.text._ZNK5skgpu6ganesh9ClipStack5applyEP18GrRecordingContextPNS0_18SurfaceDrawContextEP8GrDrawOp8GrAATypeP13GrAppliedClipP6SkRect+0x1d66): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkScan_Hairline.o): in function `void hair_path<(SkPaint::Cap)0>(SkPath const&, SkRasterClip const&, SkBlitter*, void (*)(SkPoint const*, int, SkRegion const*, SkBlitter*))':
SkScan_Hairline.cpp:(.text._Z9hair_pathILN7SkPaint3CapE0EEvRK6SkPathRK12SkRasterClipP9SkBlitterPFvPK7SkPointiPK8SkRegionS9_E[_Z9hair_pathILN7SkPaint3CapE0EEvRK6SkPathRK12SkRasterClipP9SkBlitterPFvPK7SkPointiPK8SkRegionS9_E]+0x420): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkScan_Hairline.o): in function `void hair_path<(SkPaint::Cap)2>(SkPath const&, SkRasterClip const&, SkBlitter*, void (*)(SkPoint const*, int, SkRegion const*, SkBlitter*))':
SkScan_Hairline.cpp:(.text._Z9hair_pathILN7SkPaint3CapE2EEvRK6SkPathRK12SkRasterClipP9SkBlitterPFvPK7SkPointiPK8SkRegionS9_E[_Z9hair_pathILN7SkPaint3CapE2EEvRK6SkPathRK12SkRasterClipP9SkBlitterPFvPK7SkPointiPK8SkRegionS9_E]+0x44e): undefined reference to `__memcpy_chk'
/usr/bin/ld: SkScan_Hairline.cpp:(.text._Z9hair_pathILN7SkPaint3CapE2EEvRK6SkPathRK12SkRasterClipP9SkBlitterPFvPK7SkPointiPK8SkRegionS9_E[_Z9hair_pathILN7SkPaint3CapE2EEvRK6SkPathRK12SkRasterClipP9SkBlitterPFvPK7SkPointiPK8SkRegionS9_E]+0x8e9): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkScan_Hairline.o): in function `void hair_path<(SkPaint::Cap)1>(SkPath const&, SkRasterClip const&, SkBlitter*, void (*)(SkPoint const*, int, SkRegion const*, SkBlitter*))':
SkScan_Hairline.cpp:(.text._Z9hair_pathILN7SkPaint3CapE1EEvRK6SkPathRK12SkRasterClipP9SkBlitterPFvPK7SkPointiPK8SkRegionS9_E[_Z9hair_pathILN7SkPaint3CapE1EEvRK6SkPathRK12SkRasterClipP9SkBlitterPFvPK7SkPointiPK8SkRegionS9_E]+0x44e): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkScan_Hairline.o):SkScan_Hairline.cpp:(.text._Z9hair_pathILN7SkPaint3CapE1EEvRK6SkPathRK12SkRasterClipP9SkBlitterPFvPK7SkPointiPK8SkRegionS9_E[_Z9hair_pathILN7SkPaint3CapE1EEvRK6SkPathRK12SkRasterClipP9SkBlitterPFvPK7SkPointiPK8SkRegionS9_E]+0x8e9): more undefined references to `__memcpy_chk' follow
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkString.o): in function `SkStrAppendScalar(char*, float)':
SkString.cpp:(.text._Z17SkStrAppendScalarPcf+0x96): undefined reference to `__snprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkString.o): in function `StringBuffer apply_format_string<1024>(char const*, __va_list_tag*, char (&) [1024], SkString*)':
SkString.cpp:(.text._Z19apply_format_stringILi1024EE12StringBufferPKcP13__va_list_tagRAT__cP8SkString+0x51): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: SkString.cpp:(.text._Z19apply_format_stringILi1024EE12StringBufferPKcP13__va_list_tagRAT__cP8SkString+0xbf): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkString.o): in function `SkString::insertS32(unsigned long, int)':
SkString.cpp:(.text._ZN8SkString9insertS32Emi+0x7e): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkString.o): in function `SkString::insertS64(unsigned long, long, int)':
SkString.cpp:(.text._ZN8SkString9insertS64Emli+0xc9): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkString.o): in function `SkString::insertU32(unsigned long, unsigned int)':
SkString.cpp:(.text._ZN8SkString9insertU32Emj+0x6e): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkString.o): in function `SkString::insertU64(unsigned long, unsigned long, int)':
SkString.cpp:(.text._ZN8SkString9insertU64Emmi+0xb4): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkString.o): in function `SkString::insertScalar(unsigned long, float)':
SkString.cpp:(.text._ZN8SkString12insertScalarEmf+0x98): undefined reference to `__snprintf_chk'
/usr/bin/ld: SkString.cpp:(.text._ZN8SkString12insertScalarEmf+0xb3): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkParsePath.o): in function `SkParsePath::ToSVGString(SkPath const&, SkParsePath::PathEncoding)':
SkParsePath.cpp:(.text._ZN11SkParsePath11ToSVGStringERK6SkPathNS_12PathEncodingE+0x195): undefined reference to `__snprintf_chk'
/usr/bin/ld: SkParsePath.cpp:(.text._ZN11SkParsePath11ToSVGStringERK6SkPathNS_12PathEncodingE+0x1e4): undefined reference to `__snprintf_chk'
/usr/bin/ld: SkParsePath.cpp:(.text._ZN11SkParsePath11ToSVGStringERK6SkPathNS_12PathEncodingE+0x24c): undefined reference to `__snprintf_chk'
/usr/bin/ld: SkParsePath.cpp:(.text._ZN11SkParsePath11ToSVGStringERK6SkPathNS_12PathEncodingE+0x29b): undefined reference to `__snprintf_chk'
/usr/bin/ld: SkParsePath.cpp:(.text._ZN11SkParsePath11ToSVGStringERK6SkPathNS_12PathEncodingE+0x457): undefined reference to `__snprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkParsePath.o):SkParsePath.cpp:(.text._ZN11SkParsePath11ToSVGStringERK6SkPathNS_12PathEncodingE+0x4a2): more undefined references to `__snprintf_chk' follow
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkTableMaskFilter.o): in function `SkTableMaskFilter::CreateClip(unsigned char, unsigned char)':
SkTableMaskFilter.cpp:(.text._ZN17SkTableMaskFilter10CreateClipEhh+0x76): undefined reference to `__memset_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLOutputStream.o): in function `SkSL::OutputStream::appendVAList(char const*, __va_list_tag*)':
SkSLOutputStream.cpp:(.text._ZN4SkSL12OutputStream12appendVAListEPKcP13__va_list_tag+0x5e): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: SkSLOutputStream.cpp:(.text._ZN4SkSL12OutputStream12appendVAListEPKcP13__va_list_tag+0xd0): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLString.o): in function `SkSL::String::vappendf(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, char const*, __va_list_tag*)':
SkSLString.cpp:(.text._ZN4SkSL6String8vappendfEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcP13__va_list_tag+0x5e): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: SkSLString.cpp:(.text._ZN4SkSL6String8vappendfEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcP13__va_list_tag+0xc9): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLFinalizationChecks.o): in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > __gnu_cxx::__to_xstring<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>(int (*)(char*, unsigned long, char const*, __va_list_tag*), unsigned long, char const*, ...) [clone .constprop.0]':
SkSLFinalizationChecks.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xd6): undefined reference to `__vsnprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLLayout.o):SkSLLayout.cpp:(.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z.constprop.0+0xd6): more undefined references to `__vsnprintf_chk' follow
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLType.o): in function `SkSL::Type::MakeAliasType(std::basic_string_view<char, std::char_traits<char> >, SkSL::Type const&)':
SkSLType.cpp:(.text._ZN4SkSL4Type13MakeAliasTypeESt17basic_string_viewIcSt11char_traitsIcEERKS0_+0x69): undefined reference to `__strcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLType.o): in function `SkSL::Type::MakeArrayType(std::basic_string_view<char, std::char_traits<char> >, SkSL::Type const&, int)':
SkSLType.cpp:(.text._ZN4SkSL4Type13MakeArrayTypeESt17basic_string_viewIcSt11char_traitsIcEERKS0_i+0x6f): undefined reference to `__strcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLType.o): in function `SkSL::Type::MakeMatrixType(std::basic_string_view<char, std::char_traits<char> >, char const*, SkSL::Type const&, int, signed char)':
SkSLType.cpp:(.text._ZN4SkSL4Type14MakeMatrixTypeESt17basic_string_viewIcSt11char_traitsIcEEPKcRKS0_ia+0x80): undefined reference to `__strcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLType.o): in function `SkSL::Type::MakeSpecialType(char const*, char const*, SkSL::Type::TypeKind)':
SkSLType.cpp:(.text._ZN4SkSL4Type15MakeSpecialTypeEPKcS2_NS0_8TypeKindE+0x76): undefined reference to `__strcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLType.o): in function `SkSL::Type::MakeScalarType(std::basic_string_view<char, std::char_traits<char> >, char const*, SkSL::Type::NumberKind, signed char, signed char)':
SkSLType.cpp:(.text._ZN4SkSL4Type14MakeScalarTypeESt17basic_string_viewIcSt11char_traitsIcEEPKcNS0_10NumberKindEaa+0x80): undefined reference to `__strcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkSLType.o):SkSLType.cpp:(.text._ZN4SkSL4Type14MakeAtomicTypeESt17basic_string_viewIcSt11char_traitsIcEEPKc+0x65): more undefined references to `__strcpy_chk' follow
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkOSFile_stdio.o): in function `sk_mkdir(char const*)':
SkOSFile_stdio.cpp:(.text._Z8sk_mkdirPKc+0xbc): undefined reference to `__fprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkDebug_stdio.o): in function `SkDebugf(char const*, ...)':
SkDebug_stdio.cpp:(.text._Z8SkDebugfPKcz+0xae): undefined reference to `__vfprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(png_encode.SkPngEncoderImpl.o): in function `sk_error_fn(png_struct_def*, char const*)':
SkPngEncoderImpl.cpp:(.text._ZL11sk_error_fnP14png_struct_defPKc+0x12): undefined reference to `__longjmp_chk'
/usr/bin/ld: SkPngEncoderImpl.cpp:(.text._ZL11sk_error_fnP14png_struct_defPKc+0x24): undefined reference to `__longjmp_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(png_encode.SkPngEncoderImpl.o): in function `SkPngEncoderImpl::onEncodeRows(int)':
SkPngEncoderImpl.cpp:(.text._ZN16SkPngEncoderImpl12onEncodeRowsEi+0x20): undefined reference to `__longjmp_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(png_encode.SkPngEncoderImpl.o): in function `SkPngEncoderMgr::setColorSpace(SkImageInfo const&, SkPngEncoder::Options const&)':
SkPngEncoderImpl.cpp:(.text._ZN15SkPngEncoderMgr13setColorSpaceERK11SkImageInfoRKN12SkPngEncoder7OptionsE+0x18): undefined reference to `__longjmp_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(png_encode.SkPngEncoderImpl.o): in function `SkPngEncoderMgr::writeInfo(SkImageInfo const&)':
SkPngEncoderImpl.cpp:(.text._ZN15SkPngEncoderMgr9writeInfoERK11SkImageInfo+0x14): undefined reference to `__longjmp_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(png_encode.SkPngEncoderImpl.o):SkPngEncoderImpl.cpp:(.text._ZN15SkPngEncoderMgr9setHeaderERK11SkImageInfoRKN12SkPngEncoder7OptionsE+0x25): more undefined references to `__longjmp_chk' follow
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskcms.skcms.o): in function `baseline::run_program(Op const*, void const**, char const*, char*, int, unsigned long, unsigned long)':
skcms.cc:(.text._ZN8baselineL11run_programEPK2OpPPKvPKcPcimm+0xd0): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskcms.skcms.o): in function `skx::run_program(Op const*, void const**, char const*, char*, int, unsigned long, unsigned long)':
skcms.cc:(.text._ZN3skxL11run_programEPK2OpPPKvPKcPcimm+0x137): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskcms.skcms.o): in function `hsw::run_program(Op const*, void const**, char const*, char*, int, unsigned long, unsigned long)':
skcms.cc:(.text._ZN3hswL11run_programEPK2OpPPKvPKcPcimm+0xfb): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libjpeg.jerror.o): in function `format_message':
jerror.c:(.text.format_message+0x9f): undefined reference to `__snprintf_chk'
/usr/bin/ld: jerror.c:(.text.format_message+0x114): undefined reference to `__snprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libjpeg.jerror.o): in function `output_message':
jerror.c:(.text.output_message+0x48): undefined reference to `__fprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libpng.png.o): in function `png_create_png_struct':
png.c:(.text.png_create_png_struct+0xd5): undefined reference to `__longjmp_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libpng.pngrutil.o): in function `png_do_read_interlace':
pngrutil.c:(.text.png_do_read_interlace+0xec): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libpng.pngwutil.o): in function `png_write_sCAL_s':
pngwutil.c:(.text.png_write_sCAL_s+0x6f): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libwebp.upsampling_sse2.o): in function `UpsampleRgba4444LinePair_SSE2':
upsampling_sse2.c:(.text.UpsampleRgba4444LinePair_SSE2+0x593): undefined reference to `__memcpy_chk'
/usr/bin/ld: upsampling_sse2.c:(.text.UpsampleRgba4444LinePair_SSE2+0x5a8): undefined reference to `__memcpy_chk'
/usr/bin/ld: upsampling_sse2.c:(.text.UpsampleRgba4444LinePair_SSE2+0x634): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libwebp.upsampling_sse2.o):upsampling_sse2.c:(.text.UpsampleRgba4444LinePair_SSE2+0x649): more undefined references to `__memcpy_chk' follow
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libwebp.anim_encode.o): in function `FlushFrames':
anim_encode.c:(.text.FlushFrames+0x126): undefined reference to `__fprintf_chk'
/usr/bin/ld: anim_encode.c:(.text.FlushFrames+0x191): undefined reference to `__snprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libwebp.anim_encode.o): in function `WebPAnimEncoderNewInternal':
anim_encode.c:(.text.WebPAnimEncoderNewInternal+0x123): undefined reference to `__fprintf_chk'
/usr/bin/ld: anim_encode.c:(.text.WebPAnimEncoderNewInternal+0x39a): undefined reference to `__fprintf_chk'
/usr/bin/ld: anim_encode.c:(.text.WebPAnimEncoderNewInternal+0x406): undefined reference to `__fprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libwebp.anim_encode.o): in function `WebPAnimEncoderAdd':
anim_encode.c:(.text.WebPAnimEncoderAdd+0x245): undefined reference to `__snprintf_chk'
/usr/bin/ld: anim_encode.c:(.text.WebPAnimEncoderAdd+0x2ac): undefined reference to `__snprintf_chk'
/usr/bin/ld: anim_encode.c:(.text.WebPAnimEncoderAdd+0x42f): undefined reference to `__snprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libwebp.anim_encode.o): in function `WebPAnimEncoderAssemble':
anim_encode.c:(.text.WebPAnimEncoderAssemble+0xcb): undefined reference to `__snprintf_chk'
/usr/bin/ld: anim_encode.c:(.text.WebPAnimEncoderAssemble+0x1aa): undefined reference to `__snprintf_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libwebp.anim_encode.o):anim_encode.c:(.text.WebPAnimEncoderAssemble+0x1ec): more undefined references to `__snprintf_chk' follow
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libwuffs.wuffs-v0.3.o): in function `wuffs_base__parse_number_f64':
wuffs-v0.3.c:(.text.wuffs_base__parse_number_f64+0x297): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libskia.SkScan_AAAPath.o): in function `SkScan::AAAFillPath(SkPath const&, SkBlitter*, SkIRect const&, SkIRect const&, bool)':
SkScan_AAAPath.cpp:(.text._ZN6SkScan11AAAFillPathERK6SkPathP9SkBlitterRK7SkIRectS7_b+0x5cb): undefined reference to `__memset_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(jpeg_encode.SkJPEGWriteUtility.o): in function `skjpeg_error_exit(jpeg_common_struct*)':
SkJPEGWriteUtility.cpp:(.text._Z17skjpeg_error_exitP18jpeg_common_struct+0x53): undefined reference to `__longjmp_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libwebp.vp8l_enc.o): in function `ApplyPalette':
vp8l_enc.c:(.text.ApplyPalette+0x404): undefined reference to `__memcpy_chk'
/usr/bin/ld: /home/meow/src/unison/internal/skia/libskia_linux.a(libwebp.vp8l_enc.o): in function `PaletteSortModifiedZeng':
vp8l_enc.c:(.text.PaletteSortModifiedZeng+0xcf): undefined reference to `__memcpy_chk'
collect2: error: ld returned 1 exit status
richardwilkes commented 11 months ago

To make this work, you'll need to build your own copy of skia that matches your particular platform. I've provided the common ones that I have access to, but currently have no plans to support anything beyond that. The specific issue that appears to be occurring here is that you're using musl rather than the typical C stdlib, which is what I've built skia with.