[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GCC 7 Support
From: |
David Michael |
Subject: |
Re: GCC 7 Support |
Date: |
Sat, 6 May 2017 12:28:51 -0700 |
On Sat, May 6, 2017 at 2:26 AM, Samuel Thibault <samuel.thibault@gnu.org> wrote:
> Hello,
>
> David Michael, on ven. 05 mai 2017 22:33:57 -0700, wrote:
>> Can a linux/src/include/linux/compiler-gcc7.h be added to gnumach?
>
> Sure!
>
>> I just ran the following since the versioned compiler headers were
>> dropped upstream ~4.2.
>>
>> sed s/gcc6/gcc7/g < compiler-gcc6.h > compiler-gcc7.h
>>
>> It also needed __udivmoddi4 added to clib_routines in gnumach's Makefile.am.
>
> Could you post a patch?
Okay, I've sent what I used to build it. I haven't yet built older
compilers to test compatibility. (Also I think I first sent it while
my client was configured with the wrong From address, so please ignore
the patch if it's not from this address.)
>> Side note: I couldn't bootstrap cross-compilers with
>> tschwinge/Roger_Whittaker since the last proc defs changes.
>
> What issue do you get?
The new generated functions all get an additional
"mach_msg_type_name_t *msgportPoly" parameter and none of the callers
were updated, so they all fail to compile with "too few arguments"
errors.
Thanks.
David