Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46906 - missing "textflag.h" / go get -u golang.org/x/tools/container/intsets failed

Attached to Project: Arch Linux
Opened by Nicolas PLANEL (nplanel) - Thursday, 29 October 2015, 04:12 GMT
Last edited by Allan McRae (Allan) - Thursday, 29 October 2015, 06:44 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

After misreport this bug as an binutils/as issue, https://bugs.archlinux.org/task/46901
It's clearly an gcc-go issue as the header file seems to not exist anymore "textflag.h"
So cgo can't preprocess the file correctly

Additional info:
* package version : 5.2.0-2

Steps to reproduce:

go get -u golang.org/x/tools/container/intsets

Output :
# golang.org/x/tools/container/intsets
golang.org/x/tools/container/intsets/popcnt_amd64.s: Assembler messages:
golang.org/x/tools/container/intsets/popcnt_amd64.s:8: Error: no such instruction: `text ·havePOPCNT(SB),4,$0'
golang.org/x/tools/container/intsets/popcnt_amd64.s:13: Error: too many memory references for `mov'
golang.org/x/tools/container/intsets/popcnt_amd64.s:17: Error: no such instruction: `text ·popcnt(SB),NOSPLIT,$0-8'
golang.org/x/tools/container/intsets/popcnt_amd64.s:18: Error: too many memory references for `xor'
golang.org/x/tools/container/intsets/popcnt_amd64.s:19: Error: junk `(FP)' after expression
golang.org/x/tools/container/intsets/popcnt_amd64.s:19: Error: too many memory references for `movq'
golang.org/x/tools/container/intsets/popcnt_amd64.s:22: Error: no such instruction: `byte $0xf3'
golang.org/x/tools/container/intsets/popcnt_amd64.s:23: Error: no such instruction: `byte $0x48'
golang.org/x/tools/container/intsets/popcnt_amd64.s:24: Error: no such instruction: `byte $0x0f'
golang.org/x/tools/container/intsets/popcnt_amd64.s:25: Error: no such instruction: `byte $0xb8'
golang.org/x/tools/container/intsets/popcnt_amd64.s:26: Error: no such instruction: `byte $0xc6'
golang.org/x/tools/container/intsets/popcnt_amd64.s:27: Error: too many memory references for `movq'
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 29 October 2015, 06:44 GMT
Reason for closing:  Not a bug
Comment by Allan McRae (Allan) - Thursday, 29 October 2015, 05:16 GMT
That file has never been in a gcc-go package. Only in community/go. It is not in the gcc-go package of any other distribution either.
Comment by Nicolas PLANEL (nplanel) - Thursday, 29 October 2015, 06:26 GMT
Ok I understood my miscomprehention now.
It's a pitty that gcc-go didn't support go community asm fileformat (TEXT ·func...)

You can close this issue
Thanks for the help :)

Loading...