FAQ
hi, i'm just wondering if anyone is having the following kind of problem
lately?

/usr/bin/ld: .eh_frame_hdr refers to overlapping FDEs.
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
  go/pkg/tool/linux_amd64/6l: running g++ failed: unsuccessful exit status
0x100

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Dave Cheney at Oct 1, 2014 at 4:14 am
    It's a bit hard to debug the problem without more details.

    Which version did you come from, which version are you on now? Where did you get them from? Are you sure you've removed the old version? Which platform are you using? What package are you trying to compile? Etc

    Dave

    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Dorival Pedroso at Oct 1, 2014 at 4:27 am
    all right, here you are

    i've deleted everything (rm -rf $GOPATH/bin && rm $GOPATH/pkg) and did a
    clean
    hg clone https://code.google.com/p/go
    followed by
    ./all.bash
    thus, it's the latest version (output of hg iden just now):
    304279587445 tip

    i'm trying to compile the code from:
    https://code.google.com/p/gemlab/
    by means of:
    go get code.google.com/p/gemlab
    and then running
    touch gemlab.go
    ./all.bash
    which uses cgo

    it used to work a while ago...
    cheers
    d

    On Wednesday, October 1, 2014 2:14:31 PM UTC+10, Dave Cheney wrote:

    It's a bit hard to debug the problem without more details.

    Which version did you come from, which version are you on now? Where did
    you get them from? Are you sure you've removed the old version? Which
    platform are you using? What package are you trying to compile? Etc

    Dave
    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Dorival Pedroso at Oct 1, 2014 at 4:30 am
    oh yeah:

    Which platform are you using? => Debian/unstable (updated just now)
    $ gcc --version
    gcc (Debian 4.9.1-15) 4.9.1
    Copyright (C) 2014 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Dave Cheney at Oct 1, 2014 at 4:38 am
    What did you upgrade from? Can you check that 'which go' points to the version of go you just built, and that you do not have GOROOT set.

    If that doesn't fix the problem, please paste the full output from go install -x, that should make it pretty easy to figure out what is going wrong.

    Dave


    On 1 Oct 2014, at 14:27, Dorival Pedroso wrote:

    all right, here you are

    i've deleted everything (rm -rf $GOPATH/bin && rm $GOPATH/pkg) and did a clean
    hg clone https://code.google.com/p/go
    followed by
    ./all.bash
    thus, it's the latest version (output of hg iden just now):
    304279587445 tip

    i'm trying to compile the code from:
    https://code.google.com/p/gemlab/
    by means of:
    go get code.google.com/p/gemlab
    and then running
    touch gemlab.go
    ./all.bash
    which uses cgo

    it used to work a while ago...
    cheers
    d

    On Wednesday, October 1, 2014 2:14:31 PM UTC+10, Dave Cheney wrote:
    It's a bit hard to debug the problem without more details.
    Which version did you come from, which version are you on now? Where did you get them from? Are you sure you've removed the old version? Which platform are you using? What package are you trying to compile? Etc

    Dave
    --
    You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
    To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/SZf3bXzMEVk/unsubscribe.
    To unsubscribe from this group and all its topics, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Dorival Pedroso at Oct 2, 2014 at 12:56 am
    I cannot find what upgrade (debian, gcc, go) caused the problem...

    I've created a smaller (tiny/clean) test; but can no longer find any error.

    Basically, there are two files part1.go and part2.go; each one needs to be
    linked to an external library. Files attached.

    To run (if interested; otherwise forget it and THANKS for the help).
    cd cgoproblem/uselib
    go run main.go

    we should see a window with a sphere in interactive mode (by VTK)
    cheers
    d


    On Wednesday, October 1, 2014 2:38:09 PM UTC+10, Dave Cheney wrote:

    What did you upgrade from? Can you check that 'which go' points to the
    version of go you just built, and that you do not have GOROOT set.

    If that doesn't fix the problem, please paste the full output from go
    install -x, that should make it pretty easy to figure out what is going
    wrong.

    Dave



    On 1 Oct 2014, at 14:27, Dorival Pedroso <dorival...@gmail.com
    <javascript:>> wrote:

    all right, here you are

    i've deleted everything (rm -rf $GOPATH/bin && rm $GOPATH/pkg) and did a
    clean
    hg clone https://code.google.com/p/go
    followed by
    ./all.bash
    thus, it's the latest version (output of hg iden just now):
    304279587445 tip

    i'm trying to compile the code from:
    https://code.google.com/p/gemlab/
    by means of:
    go get code.google.com/p/gemlab
    and then running
    touch gemlab.go
    ./all.bash
    which uses cgo

    it used to work a while ago...
    cheers
    d

    On Wednesday, October 1, 2014 2:14:31 PM UTC+10, Dave Cheney wrote:

    It's a bit hard to debug the problem without more details.

    Which version did you come from, which version are you on now? Where did
    you get them from? Are you sure you've removed the old version? Which
    platform are you using? What package are you trying to compile? Etc

    Dave

    --
    You received this message because you are subscribed to a topic in the
    Google Groups "golang-nuts" group.
    To unsubscribe from this topic, visit
    https://groups.google.com/d/topic/golang-nuts/SZf3bXzMEVk/unsubscribe.
    To unsubscribe from this group and all its topics, send an email to
    golang-nuts...@googlegroups.com <javascript:>.
    For more options, visit https://groups.google.com/d/optout.
    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Epruesse at Oct 3, 2014 at 6:19 pm

    Am Donnerstag, 2. Oktober 2014 02:56:06 UTC+2 schrieb Dorival Pedroso:
    I cannot find what upgrade (debian, gcc, go) caused the problem...
    The failure to link was caused by a patch to binutils:

    https://www.sourceware.org/ml/binutils/2014-09/msg00175.html
    https://www.sourceware.org/ml/binutils/2014-09/msg00094.html

    I'm still wondering what's causing the condition, or more importantly, how
    to work around this (in ARB).

    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedOct 1, '14 at 4:10a
activeOct 3, '14 at 6:19p
posts7
users3
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase