Your message dated Fri, 17 Jul 2020 02:26:45 +0800
with message-id 
<CAFyCLW--U3X_XJWQgcKv=t7smjcpmt1xagfio04qg8f9zqm...@mail.gmail.com>
and subject line Re: Bug#965081: gccgo-10: fail to build Go program after 
upgrading from testing to sid
has caused the Debian Bug report #965081,
regarding gccgo-10: fail to build Go program after upgrading from testing to sid
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
965081: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965081
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-10
Version: 10.1.0-6
Severity: important

Steps to reproduce:

git clone https://github.com/elves/elvish
cd elvish
go-10 build .

# github.com/elves/elvish
/usr/bin/ld: 
/root/.cache/go-build/f0/f0e9506d8a488f640fafc0e1b9367be18b83f9ed9e02b406d8a5ef7ed72dfdbe-d(_go_.o):
 warning: relocation against 
`github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk.github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk..thunk1..f'
 in read-only section `.text'
/usr/bin/ld: 
/root/.cache/go-build/f0/f0e9506d8a488f640fafc0e1b9367be18b83f9ed9e02b406d8a5ef7ed72dfdbe-d(_go_.o):
 in function 
`github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk.Next':
/root/elvish/pkg/edit/ /root/elvish/pkg/cli/addons/histwalk/histwalk.go:93: 
undefined reference to 
`github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk.github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk..thunk3..f'
/usr/bin/ld: /root/elvish/pkg/edit/ 
/root/elvish/pkg/cli/addons/histwalk/histwalk.go:93: undefined reference to 
`github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk.github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk..thunk2..f'
/usr/bin/ld: /root/elvish/pkg/edit/ 
/root/elvish/pkg/cli/addons/histwalk/histwalk.go:93: undefined reference to 
`github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk.github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk..thunk3..f'
/usr/bin/ld: /root/elvish/pkg/edit/ 
/root/elvish/pkg/cli/addons/histwalk/histwalk.go:93: undefined reference to 
`github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk.github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk..thunk2..f'
/usr/bin/ld: 
/root/.cache/go-build/f0/f0e9506d8a488f640fafc0e1b9367be18b83f9ed9e02b406d8a5ef7ed72dfdbe-d(_go_.o):
 in function 
`github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk.Prev':
/root/elvish/pkg/edit/ /root/elvish/pkg/cli/addons/histwalk/histwalk.go:86: 
undefined reference to 
`github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk.github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk..thunk1..f'
/usr/bin/ld: /root/elvish/pkg/edit/ 
/root/elvish/pkg/cli/addons/histwalk/histwalk.go:86: undefined reference to 
`github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk.github.x2ecom..z2felves..z2felvish..z2fpkg..z2fcli..z2faddons..z2fhistwalk..thunk0..f'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status

However it's fine in testing.

The situation is:

In bullseye/testing, both gcc-10/10.1.0-4 and gcc-snapshot/1:20200616-1 can 
build.
In sid, gcc-10/10.1.0-6 and gcc-snapshot/1:20200616-1 can't build, with same 
error above.

I'm really not sure which package causes this regression.
binutils is 2.34.90.20200706-1 in testing and sid.

Shengjing Zhu

--- End Message ---
--- Begin Message ---
On Thu, Jul 16, 2020 at 3:21 AM Shengjing Zhu <z...@debian.org> wrote:
> In bullseye/testing, both gcc-10/10.1.0-4 and gcc-snapshot/1:20200616-1 can 
> build.
> In sid, gcc-10/10.1.0-6 and gcc-snapshot/1:20200616-1 can't build, with same 
> error above.
>
> I'm really not sure which package causes this regression.
> binutils is 2.34.90.20200706-1 in testing and sid.
>

The error is not regression in gcc or other packages. I have messed up
the test env.
It's bug in gccgo upstream however https://github.com/golang/go/issues/40252.

-- 
Shengjing Zhu

--- End Message ---

Reply via email to