You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I started receiving this error in Bindgen after performing a system update which bumps my libgc's version to 8.0.4:
/usr/bin/ld: ... /spec/integration/tmp/../tmp/instance_properties.o: in function `operator new(unsigned long, GCPlacement, void (*)(void*, void*), void*)':
instance_properties.cpp:(.text._Znwm11GCPlacementPFvPvS0_ES0_[_Znwm11GCPlacementPFvPvS0_ES0_]+0xc6): undefined reference to `GC_throw_bad_alloc()'
collect2: error: ld returned 1 exit status
Today I started receiving this error in Bindgen after performing a system update which bumps my libgc's version to 8.0.4:
This is due to ivmai/bdwgc#268 (comment). According to that issue there are 3 solutions:
-lgccpp
to everywhere in Bindgen that has-lgc
;-lgctba
to everywhere in Bindgen that has-lgc
;#define GC_NEW_ABORTS_ON_OOM
prior to#include <gc/gc_cpp.h>
.The text was updated successfully, but these errors were encountered: