C-sources with Go 1.1 under certain conditions not compiled

209 views
Skip to first unread message

mau...@murus.org

unread,
May 19, 2013, 10:02:20 AM5/19/13
to golan...@googlegroups.com
Dear everyone,

after installing Go 1.1 the attempt to compile with "go install" the part of a package, that is appended,
on a machine with an AMD FX(tm)-6300 Six-Core Processor with OpenSUSE 12.3 in 32-bit-mode
with gcc (SUSE Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012] fails with the following result:

  /usr/local/go/pkg/tool/linux_386/8c: unknown flag -FVw

With 1.0.3 everything worked, and now, with 1.1, things also work on several other machines
(also openSUSE 12.3, same status of actualization, 32-bit, same gcc).

As far as I have understood some doc, the flags should be "-F -V -w" - but how do I achieve that?
Or do I miss something else?

Greetings, Christian
framebuffer.go

minux

unread,
May 19, 2013, 10:16:20 AM5/19/13
to mau...@murus.org, golan...@googlegroups.com
iiuc, you mean when you issued "go install" in some package's directory, you got:
/usr/local/go/pkg/tool/linux_386/8c: unknown flag -FVw
?

seems you're using an older version of cmd/go with newer version of the toolchain (8c).

what does "go version" tell you?

mau...@murus.org

unread,
May 19, 2013, 7:49:25 PM5/19/13
to golan...@googlegroups.com
Dear minux,

thankyou very much indeed for your extremely quick and very helpful hint!

I today deleted my old Go installation ("rm -rf /usr/local/go")
and installed Go - thus I thought, I was sure to have now 1.1
- but "go version" now tells me, that I still have go1.0.3.
But somewhere, there must be some sort of memory of this
particular bloody computer - I have not yet an idea, what went on.

However - due to your help - I now should be able to solve the problem.

My "thankyou" will follow you as silent shadow at least for one day ;-)

Mit freundlichen Grüßen, Christian

 
Am Sonntag, 19. Mai 2013 16:02:20 UTC+2 schrieb mau...@murus.org:
Dear everyone,

after installing Go 1.1 the attempt to compile with "go install" the part of a package, that is appended,
on a machine with an AMD FX(tm)-6300 Six-Core Processor with OpenSUSE 12.3 i2-bit-mode
Reply all
Reply to author
Forward
0 new messages