public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/54918] New: libgo.so.0 is not runtime compatible between gcc-4.6.2 and gcc-4.7.x
@ 2012-10-13  0:34 gafton at gmail dot com
  2012-10-15  9:51 ` [Bug go/54918] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gafton at gmail dot com @ 2012-10-13  0:34 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54918

             Bug #: 54918
           Summary: libgo.so.0 is not runtime compatible between gcc-4.6.2
                    and gcc-4.7.x
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: gafton@gmail.com


gcc-4.6.2 shipped a libgo.so.0.0.0 runtime library.

Compiling a simple hello world binary against that libgo worked okay:

bash$ cat hello.go
package main
import "fmt"
func main() {
  fmt.Println("Hello, world")
}
bash$ gccgo -o hello hello.go
bash$ ./hello
Hello, world

When  the gcc runtime is updated on the system to gcc-4.7.2, the previouslt
compiled binary against the gcc-4.6.2 libgo.so.0 no longer works:

bash$ ./hello
./hello: symbol lookup error: ./hello: undefined symbol: libgo_os.os.Envs

Clearly the two libgo.so.0.0.0 libraries are not compatible between gcc-4.6.x
and gcc-4.7.x - as such, the soname versioning should reflect that.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-23 18:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-13  0:34 [Bug go/54918] New: libgo.so.0 is not runtime compatible between gcc-4.6.2 and gcc-4.7.x gafton at gmail dot com
2012-10-15  9:51 ` [Bug go/54918] " rguenth at gcc dot gnu.org
2012-10-15 17:54 ` gafton at gmail dot com
2012-10-23  5:01 ` ian at gcc dot gnu.org
2012-10-23  5:02 ` ian at airs dot com
2012-10-23 18:13 ` ian at gcc dot gnu.org
2012-10-23 18:14 ` ian at airs dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).