[go-nuts] Re: Failed to compile apptainer on Ubuntu 22.04.4 LTS.

2024-06-11 Thread Hongyi Zhao
On Tuesday, June 11, 2024 at 9:23:19 PM UTC+8 Hongyi Zhao wrote: On Ubuntu 22.04.4 LTS, I tried to compile the latest GitHub version of apptainer using the guidance [here]( https://github.com/apptainer/apptainer/blob/main/INSTALL.md), but failed at the `make` step: ```shell $ go version go

[go-nuts] Failed to compile apptainer on Ubuntu 22.04.4 LTS.

2024-06-11 Thread Hongyi Zhao
On Ubuntu 22.04.4 LTS, I tried to compile the latest GitHub version of apptainer using the guidance [here](https://github.com/apptainer/apptainer/blob/main/INSTALL.md), but failed at the `make` step: ```shell $ go version go version devel go1.23-62711d61e5 Thu May 23 03:44:19 2024 + linux/

Re: [go-nuts] If the go program compiled by a completely static compiled version of go binary compiler will also be static automatically?

2021-01-31 Thread Hongyi Zhao
On Mon, Feb 1, 2021 at 1:46 PM Ian Lance Taylor wrote: > > On Sun, Jan 31, 2021 at 5:54 AM Hongyi Zhao wrote: > > > > If the go program compiled by a completely static compiled version of go > > binary compiler will also be static automatically? To be more specific, on

[go-nuts] If the go program compiled by a completely static compiled version of go binary compiler will also be static automatically?

2021-01-31 Thread Hongyi Zhao
If the go program compiled by a completely static compiled version of go binary compiler will also be static automatically? To be more specific, on Ubuntu 20.04, I've compiled the latest git master version of go compiler in a completely static manner as shown below: $ which go | xargs file /hom

Re: [go-nuts] Building a totally static go binary.

2021-01-20 Thread Hongyi Zhao
version 1 (SYSV), statically linked, Go BuildID=5jq4NVhOUQBZ9qoSzZZP/ZGpiMeW1vV69o1mL-B9A/6YaUKXNOw58uUviv4EeO/4sUw0l9CinylaK_Pov59, not stripped Regards, HY > > On Wed, Jan 20, 2021 at 5:28 PM Hongyi Zhao wrote: > >> On Ubuntu 20.10, I use the following steps to build the go bina

Re: [go-nuts] Building a totally static go binary.

2021-01-20 Thread Hongyi Zhao
On Thursday, January 21, 2021 at 8:27:02 AM UTC+8 Ian Lance Taylor wrote: > On Wed, Jan 20, 2021 at 8:28 AM Hongyi Zhao wrote: > > > > On Ubuntu 20.10, I use the following steps to build the go binary: > > > > $ sudo apt-get build-dep -y golang > > $ gi

[go-nuts] Building a totally static go binary.

2021-01-20 Thread Hongyi Zhao
On Ubuntu 20.10, I use the following steps to build the go binary: $ sudo apt-get build-dep -y golang $ git clone https://github.com/golang/go.git go.git $ cd go.git/src $ ./make.bash $ cd ../ $ ldd bin/go linux-vdso.so.1 (0x7ffef27ee000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread