libgo patch committed: Update to go1.15rc1

Andreas Schwab schwab@linux-m68k.org
Mon Aug 3 17:28:48 GMT 2020


On Aug 03 2020, Ian Lance Taylor wrote:

> On Sun, Aug 2, 2020 at 12:50 AM Andreas Schwab <schwab@linux-m68k.org> wrote:
>>
>> This breaks ia64-linux.  According to
>> arch/ia64/kernel/syscalls/syscall.tbl, the getrandom syscall is 315 and
>> copy_file_range is 323.
>>
>> ../../../libgo/go/internal/syscall/unix/copy_file_range_linux.go:13:42: error: reference to undefined name 'copyFileRangeTrap'
>>    13 |         r1, _, errno := syscall.Syscall6(copyFileRangeTrap,
>>       |                                          ^
>> ../../../libgo/go/internal/syscall/unix/getrandom_linux.go:35:41: error: reference to undefined name 'getrandomTrap'
>>    35 |         r1, _, errno := syscall.Syscall(getrandomTrap,
>>       |                                         ^
>> make[4]: *** [internal/syscall/unix.lo] Error 1
>> make[4]: *** Waiting for unfinished jobs....
>
> Thanks.  Fixed like so.  Committed to mainline.

Actually, on ia64 syscall numbers are offset by 1024, thus the correct
numbers are 1339 and 1347.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Gcc-patches mailing list