The new ABI broke Go-QML compilation 
(https://github.com/go-qml/qml/issues/190). The error is:

    cdata.Ref: relocation target runtime.acquirem not defined for ABI0 (but is 
defined for ABIInternal)

    cdata.Ref: relocation target runtime.releasem not defined for ABI0 (but is 
defined for ABIInternal)

Unfortunately using other Qt bindings would require to rewrite the UI part of 
my application from the ground up. Moreover, there are licensing issues with 
therecipe/qt and qamel misses some functionality I need.

So it would be great to be able to keep go-qml on life support.

I don't understand what the assembly code does and what the cdata package 
(which compilation fails) is for (I suppose it exposes some go runtime 
internals to C code).

The code is available at https://github.com/go-qml/qml/tree/v1/cdata.

Unfortunately, as stated in 
https://github.com/golang/go/issues/27539#issuecomment-467496599 about the code 
for cdata package, "reaching into the runtime implementation like this is 
really, really not supported".

This seems to contradict what in the proposal 
(https://github.com/golang/proposal/blob/master/design/27539-internal-abi.md#compatibility),
 that is "the situations that cause these link failures [...] all have 
reasonable workarounds."

I tried to use //go:linkname, the suggested way, with no success.

Can please someone help?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to