Re: [go-nuts] building go 1.20.1 to C for use in Nodejs

2023-02-23 Thread Ian Lance Taylor
On Thu, Feb 23, 2023 at 1:18 PM David Choi (jsoneaday) wrote: > > Hi I'm trying to build my project as C so I can call it from Nodejs. But when > I run the command "go build -buildmode=c-shared -o keyring.so ." I get a so > file but no h C header. > > I am running this on Mac M1. I read somethin

[go-nuts] building go 1.20.1 to C for use in Nodejs

2023-02-23 Thread David Choi (jsoneaday)
Hi I'm trying to build my project as C so I can call it from Nodejs. But when I run the command "go build -buildmode=c-shared -o keyring.so ." I get a so file but no h C header. I am running this on Mac M1. I read something about cgo being disabled by default on mac's without the c toolchain bu

[go-nuts] Building Go 1.21 for openbsd/386

2023-02-22 Thread Jan Mercl
The subject target is not distributed by the Go team. Attempting to build if from sources in a qemu 4GB VM [OpenBSD 7.2 (GENERIC.MP) #404: Tue Sep 27 12:54:46 MDT 2022] via $ GOROOT_BOOTSTRAP=~/go1.19 nohup ./make.bash produces Building Go toolchain1 using /home/jnml/go1.19.

Re: [go-nuts] Building Go On Unsupported Platform (FreeBSD/PowerPC64)

2020-12-17 Thread Ian Lance Taylor
On Thu, Dec 17, 2020 at 5:37 PM Curtis Hamilton wrote: > > I know that my platform is not supported. However, I've been successful in > patching and building working go v1.13 on my Raptor Blackbird (Power9) > running FreeBSD v12.1. I'm also able to build versions 1.14 and 1.15 as well. > > I c

[go-nuts] Building Go On Unsupported Platform (FreeBSD/PowerPC64)

2020-12-17 Thread Curtis Hamilton
I know that my platform is not supported. However, I've been successful in patching and building working go v1.13 on my Raptor Blackbird (Power9) running FreeBSD v12.1. I'm also able to build versions 1.14 and 1.15 as well. I can build a working go v1.13 on FreeBSD v13 with the same patches used

Re: [go-nuts] building go 1.14.4 on CentOS 7 multiple test failures

2020-07-10 Thread Ian Lance Taylor
On Fri, Jul 10, 2020 at 1:19 PM Alastair Neil wrote: > > I'm not sure how I would check do you have suggestions? Also, is there a way > to just run the failing test rather than redoing the whole build? > Documentation on the build process seems sparse. To run the time package tests as the buil

Re: [go-nuts] building go 1.14.4 on CentOS 7 multiple test failures

2020-07-10 Thread Alastair Neil
I'm not sure how I would check do you have suggestions? Also, is there a way to just run the failing test rather than redoing the whole build? Documentation on the build process seems sparse. On Friday, 10 July 2020 15:54:02 UTC-4, David Riley wrote: > > On Jul 10, 2020, at 3:02 PM, Alastair N

Re: [go-nuts] building go 1.14.4 on CentOS 7 multiple test failures

2020-07-10 Thread David Riley
On Jul 10, 2020, at 3:02 PM, Alastair Neil wrote: > > > It's an old but not an especially slow machine: dual 8 core E5-2670 Xeon > with 64 GB Ram. > I wil try > GO_TEST_TIMEOUT_SCALE=4 I've successfully built on an older and slower (pre-Nehalem) 8-core Xeon with a similar RAM load just last

Re: [go-nuts] building go 1.14.4 on CentOS 7 multiple test failures

2020-07-10 Thread Alastair Neil
It's an old but not an especially slow machine: dual 8 core E5-2670 Xeon with 64 GB Ram. I wil try GO_TEST_TIMEOUT_SCALE=4 On Friday, 10 July 2020 14:24:54 UTC-4, Ian Lance Taylor wrote: > > On Fri, Jul 10, 2020 at 11:17 AM > wrote: > > > > I am attempting to build go v 1.14.4 from the git re

Re: [go-nuts] building go 1.14.4 on CentOS 7 multiple test failures

2020-07-10 Thread Alastair Neil
On Friday, 10 July 2020 14:24:54 UTC-4, Ian Lance Taylor wrote: > > On Fri, Jul 10, 2020 at 11:17 AM > wrote: > > > > I am attempting to build go v 1.14.4 from the git repo. I first built > version 1.4 without issue and the build itself seems fine however many of > the tests fail, see the at

Re: [go-nuts] building go 1.14.4 on CentOS 7 multiple test failures

2020-07-10 Thread Ian Lance Taylor
On Fri, Jul 10, 2020 at 11:17 AM wrote: > > I am attempting to build go v 1.14.4 from the git repo. I first built > version 1.4 without issue and the build itself seems fine however many of the > tests fail, see the attached log. > > The OS is latest CentOS 7, and go-1.4 was built using gcc 8.3

[go-nuts] Building Go Web Applications and Microservices Using Gin

2020-01-29 Thread Tomas Fernandez
[image: Building_Go_Web_Applications___Microservices_Using_Gin.png] https://semaphoreci.com/community/tutorials/building-go-web-applications-and-microservices-using-gin A comprehensive tutorial covering: - Go introduction - How to use the Gin framework to build an API and a Web applica

[go-nuts] Building go 1.13 on aarch64 failed in pkg testing

2019-08-28 Thread Xiangdong JI
Hello, I got the following error while building the latest source code (synced to d0eaec79f9) on aarch64, both cache and /tmp/go-build* had been cleaned in advance, can anyone shed a light? Thanks a lot. go tool dist: unexpected stale targets reported by go list -gcflags="" -ldflags="" for [st

Re: [go-nuts] Building Go

2018-03-08 Thread Ian Lance Taylor
On Thu, Mar 8, 2018 at 3:53 AM, Krzysztof Kwiatkowski wrote: > > > I've quite newbe question, but I would like to double-check my understanding > before doing something stupid. > > > I'm building a toolchain for which I need to compile go from sources (I > modify the sources). In order to compile

[go-nuts] Building Go

2018-03-08 Thread Krzysztof Kwiatkowski
Hi, I've quite newbe question, but I would like to double-check my understanding before doing something stupid. I'm building a toolchain for which I need to compile go from sources (I modify the sources). In order to compile Go I need some version of Go to be installed on my system. Does

[go-nuts] Building Go from Source / Managing my ${GOROOT}

2017-02-18 Thread Ayan George
I'm somewhat new to go and I've been relying on FreeBSD and Ubuntu packages for the compiler. I decided to try building Go from source to get go1.8 and I realized it is really convenient to simply clone the repo into my ${GOROOT}/src (which is now simply ${HOME}/go), build Go (I did extract 1.8 bi

[go-nuts] Building Go 1.7.3 from source on windows

2016-10-30 Thread Henry
Hi, I am trying to build go 1.7.3 from source on windows. When running all.bat, other than the "MYSQL not recognized as internal/external command" message, the build appears to go just fine. However, I don't see "All Tests Passed" at the end of the build process. The last message was "cmd/comp