FAQ
Hi,

It looks like building from source is no longer working on the Mac after
installing the latest and greatest tool chain, XCode 5. Building packages
works fine until it hits 'cgo'.
The Go source version is 1.1.2.

XCode 5.0 removes the gcc frontend of LLVM, the 'gcc' command is just a
wrapper around 'clang' now. And that breaks things.

.......
cmd/gofmt
testing/quick
cmd/fix
cmd/api
cmd/vet
runtime/cgo
# runtime/cgo
clang: warning: argument unused during compilation: '-pthread'
# runtime/cgo
clang: error: no such file or directory: 'libgcc.a'




--


--
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/groups/opt_out.

Search Discussions

  • Minux at Sep 19, 2013 at 8:04 pm

    On Thu, Sep 19, 2013 at 3:04 PM, Gé Weijers wrote:
    It looks like building from source is no longer working on the Mac after
    installing the latest and greatest tool chain, XCode 5. Building packages
    works fine until it hits 'cgo'.
    The Go source version is 1.1.2.

    XCode 5.0 removes the gcc frontend of LLVM, the 'gcc' command is just a
    wrapper around 'clang' now. And that breaks things.

    .......
    cmd/gofmt
    testing/quick
    cmd/fix
    cmd/api
    cmd/vet
    runtime/cgo
    # runtime/cgo
    clang: warning: argument unused during compilation: '-pthread'
    # runtime/cgo
    clang: error: no such file or directory: 'libgcc.a'
    I think the problem has been fixed on tip (i.e. Go 1.2 will be released
    with this fix), could you please give it a try?

    --
    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/groups/opt_out.
  • Gé Weijers at Sep 19, 2013 at 8:16 pm

    On Thu, Sep 19, 2013 at 1:04 PM, minux wrote:

    I think the problem has been fixed on tip (i.e. Go 1.2 will be released
    with this fix), could you please give it a try?
    It works just fine, no problems. Thanks.


    --


    --
    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/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedSep 19, '13 at 7:17p
activeSep 19, '13 at 8:16p
posts3
users2
websitegolang.org

2 users in discussion

Gé Weijers: 2 posts Minux: 1 post

People

Translate

site design / logo © 2021 Grokbase