cgo is now broken on all architectures

Bug #1436530 reported by Stéphane Graber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gccgo-5 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The latest gccgo upload broke cgo on all architectures.

It used to be working properly on amd64, i386, armhf, arm64 and ppc64el and broken on powerpc.

Now as far as I can tell it's broken on all architectures (tried arm64, ppc64el and powerpc).

https://launchpad.net/~stgraber/+archive/ubuntu/experimental-devirt/+packages

Revision history for this message
Stéphane Graber (stgraber) wrote :

Note that my test builds are of a rather complex piece of go using cgo, however the exact same result can be tested with this minimal cgo hello world:

package main

/*
#include <stdio.h>
now
void hello() {
        printf("Hello world!\n");
}
*/
import "C"

func main() {
    C.hello()
}

I'd very strongly recommend a simple "go run" of the code above be added as a gccgo test so that we'd stop regressing cgo support.

Revision history for this message
Matthias Klose (doko) wrote :

let's keep this version in -proposed for now

tags: added: block-proposed
Revision history for this message
Matthias Klose (doko) wrote :

fixed in -1ubuntu3

tags: removed: block-proposed
Changed in gccgo-5 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.