Bug 93020 - Final patches to build gcc-10 on GNU/Hurd
Summary: Final patches to build gcc-10 on GNU/Hurd
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: go (show other bugs)
Version: 10.0
: P3 normal
Target Milestone: ---
Assignee: Ian Lance Taylor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-19 19:58 UTC by Svante Signell
Modified: 2019-12-24 05:15 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Fixes FTBFS for gcc-10 on GNU/Hurd (393 bytes, patch)
2019-12-19 19:58 UTC, Svante Signell
Details | Diff
Fixes libgo os test. (265 bytes, patch)
2019-12-20 11:06 UTC, Svante Signell
Details | Diff
Fixes libgo syscall test (263 bytes, patch)
2019-12-20 11:07 UTC, Svante Signell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Svante Signell 2019-12-19 19:58:28 UTC
Created attachment 47529 [details]
Fixes FTBFS for gcc-10 on GNU/Hurd

Hello,

Test-compiling Debian Version gcc-10-10-20191217-1 reveals that two small fixes are still needed for a successful build, one in runtime/os_hurd.go and one in poll/errno_unix.go. The attached patch hurd.diff fixes that.

Thanks!
Comment 1 Svante Signell 2019-12-20 11:06:35 UTC
Created attachment 47530 [details]
Fixes libgo os test.
Comment 2 Svante Signell 2019-12-20 11:07:17 UTC
Created attachment 47531 [details]
Fixes libgo syscall test
Comment 3 ian@gcc.gnu.org 2019-12-24 05:06:04 UTC
Author: ian
Date: Tue Dec 24 05:05:32 2019
New Revision: 279724

URL: https://gcc.gnu.org/viewcvs?rev=279724&root=gcc&view=rev
Log:
	PR go/93020
    libgo: Hurd portability patches
    
    By Svante Signell.
    
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/212409

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/internal/poll/errno_unix.go
    trunk/libgo/go/os/export_unix_test.go
    trunk/libgo/go/runtime/os_hurd.go
    trunk/libgo/go/syscall/export_unix_test.go
Comment 4 Ian Lance Taylor 2019-12-24 05:15:49 UTC
Patches committed.