Hi Ian

Since the new gccgo mangling scheme, libgo compilation is broken on AIX (or in 
Linux with -gstabs) because of a type symbol having a " in its name. I've made 
a patch (see attachment) in order to fix stabstring generation, because, IMO, 
it should be handled anyway.
However, it happens only once in the whole libgo so I don't know if this " is 
intended or not. The problematic type is there: 
https://github.com/golang/go/blob/master/src/crypto/x509/x509.go#L2674. Other 
similar types don't trigger the bug though.

I've a minimal test which might can be added if you wish, in Golang tests or in 
Gcc Go tests or in both ?

If the patch is okay, could you please apply it for me ?
Thanks,


Clément Chigot
ATOS Bull SAS
1 rue de Provence - 38432 Échirolles - France

Attachment: 0001-gcc-handle-double-quotes-in-symbol-name-during-stabs.patch
Description: 0001-gcc-handle-double-quotes-in-symbol-name-during-stabs.patch

Reply via email to