Re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-03 Thread Sevan Janiyan
On 03/03/18 22:06, matthew green wrote: > we occasionally have to deal with this and either link against > libgcc or provide them in libkern/libsa. there can be new > things from newer compilers, etc., when it starts emitting > new calls it expects in libgcc or other. kernels should not > be us

Re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-03 Thread Valery Ushakov
On Sun, Mar 04, 2018 at 09:06:08 +1100, matthew green wrote: > > On 03/03/18 02:06, matthew green wrote: > > > you didn't grep enough :-) eg: > > > > > > dist/gcc/config/rs6000/rs6000.c:prefix = (sel & SAVRES_SAVE) ? > > > "_savegpr_" : "_restgpr_"; > > > > > > is the part that matters

re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-03 Thread matthew green
> BTW, we already have HAVE_LIBGCC and LIBGCC -that defaults exactly to > ${DESTDIR}/usr/lib/libgcc.a (NB: you need to grep enough too to find > it (LIB\$ in bsd.prog.mk). ah good point. (the original code used the bad way, so this was an old problem already.) .mrg.

re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-03 Thread matthew green
> On 03/03/18 02:06, matthew green wrote: > > you didn't grep enough :-) eg: > > > > dist/gcc/config/rs6000/rs6000.c:prefix = (sel & SAVRES_SAVE) ? > > "_savegpr_" : "_restgpr_"; > > > > is the part that matters. > > Just so I understand, where does this come into play from the bootxx

Re: CVS commit: src/sys/kern

2018-03-03 Thread Manuel Bouyer
On Sat, Mar 03, 2018 at 07:29:23PM +0100, Joerg Sonnenberger wrote: > On Mon, Oct 16, 2017 at 03:03:57PM +, Manuel Bouyer wrote: > > Module Name:src > > Committed By: bouyer > > Date: Mon Oct 16 15:03:57 UTC 2017 > > > > Modified Files: > > src/sys/kern: subr_pc

Re: CVS commit: src/sys/kern

2018-03-03 Thread Joerg Sonnenberger
On Mon, Oct 16, 2017 at 03:03:57PM +, Manuel Bouyer wrote: > Module Name: src > Committed By: bouyer > Date: Mon Oct 16 15:03:57 UTC 2017 > > Modified Files: > src/sys/kern: subr_pcu.c > > Log Message: > PR port-arm/52603: This change is responsible for an instant trap of init

Re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-03 Thread Sevan Janiyan
On 03/03/18 09:23, Valery Ushakov wrote: > Please, don't duplicate that line like that, variables were invented > for a reason... LDADD is probably the right one to use here. Sorry, uwe :) I took mrg's recommendation to "putting the old code back for ${HAVE_GCC:U0} > 0 builds" quite literally.

Re: CVS commit: src/sys/arch/macppc/stand/bootxx

2018-03-03 Thread Valery Ushakov
On Sat, Mar 03, 2018 at 03:44:57 +, Sevan Janiyan wrote: > Like so? > > > Index: sys/arch/macppc/stand/bootxx/Makefile > === > RCS file: /cvsroot/src/sys/arch/macppc/stand/bootxx/Makefile,v > retrieving revision 1.18 > diff -u -