https://bugzilla.redhat.com/show_bug.cgi?id=1405688
Vincent Batts <vbatts(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CLOSED
Resolution|--- |WORKSFORME
Last Closed| |2017-01-25 08:55:53
--- Comment #1 from Vincent Batts <vbatts(a)redhat.com> ---
I've just tried this on a clean f24 with latest updates and it does not fail.
```
-bash-4.3# go build -x -v app.go
WORK=/tmp/go-build224186443
command-line-arguments
mkdir -p $WORK/command-line-arguments/_obj/
mkdir -p
$WORK/command-line-arguments/_obj/exe/
cd /root
/usr/lib/golang/pkg/tool/linux_amd64/compile -o $WORK/command-line-arguments.a
-trimpath $WORK -p main -complete -buildid
4c77b9903fcb697d3446b41b6b8de5fd0ac273e0 -D _/root -I $WORK -pack ./app.go
cd .
/usr/lib/golang/pkg/tool/linux_amd64/link -o
$WORK/command-line-arguments/_obj/exe/a.out -L $WORK -extld=gcc -buildmode=exe
-buildid=4c77b9903fcb697d3446b41b6b8de5fd0ac273e0
$WORK/command-line-arguments.a
cp $WORK/command-line-arguments/_obj/exe/a.out app
```
And it runs successfully as well.
```
-bash-4.3# rpm -q golang gcc gcc-c++
golang-1.6.4-2.fc24.x86_64
gcc-6.3.1-1.fc24.x86_64
package gcc-c++ is not installed
```
Perhaps the gcc update solved this issue.
--
You are receiving this mail because:
You are on the CC list for the bug.