Bug 103573 - [12 Regression] trunk 20211203 fails to build libgo on i686-gnu (hurd)
Summary: [12 Regression] trunk 20211203 fails to build libgo on i686-gnu (hurd)
Status: RESOLVED DUPLICATE of bug 104290
Alias: None
Product: gcc
Classification: Unclassified
Component: go (show other bugs)
Version: 12.0
: P3 normal
Target Milestone: 12.0
Assignee: Ian Lance Taylor
URL:
Keywords: build
Depends on:
Blocks:
 
Reported: 2021-12-06 09:39 UTC by Matthias Klose
Modified: 2022-02-18 18:28 UTC (History)
2 users (show)

See Also:
Host:
Target: i686-gnu
Build:
Known to work: 11.2.1
Known to fail: 12.0
Last reconfirmed: 2021-12-06 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Klose 2021-12-06 09:39:51 UTC
seen with trunk 20211203 on i686-gnu

../../../src/libgo/go/net/unixsock_posix.go:116:56: error: reference to undefined name 'readMsgFlags
'
  116 |         n, oobn, flags, sa, err = c.fd.readMsg(b, oob, readMsgFlags)
      |                                                        ^
../../../src/libgo/go/net/unixsock_posix.go:117:12: error: reference to undefined name 'readMsgFlags
'
  117 |         if readMsgFlags == 0 && err == nil && oobn > 0 {
      |            ^
../../../src/libgo/go/net/unixsock_posix.go:118:17: error: reference to undefined name 'setReadMsgCl
oseOnExec'
  118 |                 setReadMsgCloseOnExec(oob[:oobn])
      |                 ^
Makefile:3026: recipe for target 'net.lo' failed
make[6]: *** [net.lo] Error 1
Comment 1 GCC Commits 2022-02-17 17:30:12 UTC
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:

https://gcc.gnu.org/g:3f2a6b041d910cab08332ae01a8a9fcfe2e9036a

commit r12-7280-g3f2a6b041d910cab08332ae01a8a9fcfe2e9036a
Author: Ian Lance Taylor <iant@golang.org>
Date:   Wed Feb 16 16:57:28 2022 -0800

    net: add hurd build tag for setReadMsgCloseOnExec
    
    Patch from Svante Signell.
    
            PR go/103573
            PR go/104290
    
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/386216
Comment 2 Ian Lance Taylor 2022-02-18 18:28:31 UTC
Closing in favor of PR 104290.

*** This bug has been marked as a duplicate of bug 104290 ***