Re: Building old systems

2023-04-19 Thread Lloyd Parkes
On 20/04/23 10:34, Brook Milligan wrote: I am trying to build an old kernel with build.sh on a recent (9.99.108) amd64 system. However, compiling nbmake fails immediately with errors like /usr/bin/ld: buf.o:(.bss+0x0): multiple definition of `debug_file'; arch.o:(.bss+0x0): first

daily CVS update output

2023-04-19 Thread NetBSD source update
Updating src tree: P src/distrib/utils/embedded/conf/armv7.conf U src/distrib/utils/embedded/files/boot.cfg P src/games/worms/worms.c P src/sys/arch/amd64/amd64/locore.S P src/sys/arch/i386/stand/efiboot/boot.c P src/sys/arch/i386/stand/efiboot/efiboot.c P

Re: Building old systems

2023-04-19 Thread Brook Milligan
> On Apr 19, 2023, at 5:12 PM, Havard Eidnes wrote: > > -V HOST_CFLAGS="-O -fcommon" Indeed, this (without -O) works. The key is the HOST_CFLAGS variable; I was thinking of just CFLAGS at first. Thanks a lot. Cheers, Brook

Re: Building old systems

2023-04-19 Thread Havard Eidnes
>> It might be better to use corresponding older tools to build older >> kernels. Modern gcc switched to -fno-common by default, so if you >> want to compile an older kernel that has multiple variable definitions >> you will need to arrange for -fcommon option to be used. > > Is there any way to

Re: Building old systems

2023-04-19 Thread Brook Milligan
> On Apr 19, 2023, at 4:45 PM, Valery Ushakov wrote: > > It might be better to use corresponding older tools to build older > kernels. Modern gcc switched to -fno-common by default, so if you > want to compile an older kernel that has multiple variable definitions > you will need to arrange

Re: Building old systems

2023-04-19 Thread Valery Ushakov
On Wed, Apr 19, 2023 at 16:34:19 -0600, Brook Milligan wrote: > I am trying to build an old kernel with build.sh on a recent > (9.99.108) amd64 system. However, compiling nbmake fails > immediately with errors like > > /usr/bin/ld: buf.o:(.bss+0x0): multiple definition of `debug_file'; >

Building old systems

2023-04-19 Thread Brook Milligan
I am trying to build an old kernel with build.sh on a recent (9.99.108) amd64 system. However, compiling nbmake fails immediately with errors like /usr/bin/ld: buf.o:(.bss+0x0): multiple definition of `debug_file'; arch.o:(.bss+0x0): first defined here Unless I am doing something

Re: Total sysupgrade failure - 10.99.3 -> 10.99.3, 4 days difference

2023-04-19 Thread Chavdar Ivanov
On Wed, 19 Apr 2023 at 14:47, Christos Zoulas wrote: > > In article > , > Chavdar Ivanov wrote: > >On Tue, 18 Apr 2023 at 22:16, Chavdar Ivanov wrote: > >> > >> Hi, ... > >> > > Yup, that was my fault. It was broken for a few hours and you caught it > during that time. If it makes you

Re: Total sysupgrade failure - 10.99.3 -> 10.99.3, 4 days difference

2023-04-19 Thread Christos Zoulas
In article , Chavdar Ivanov wrote: >On Tue, 18 Apr 2023 at 22:16, Chavdar Ivanov wrote: >> >> Hi, >> >> I do my builds with sysbuild and my upgrades with sysupgrade, many >> years now, basically since these two tools were made available. I >> haven't had much problems with them so far. >> >> My

Re: Panic on yesterday's -current amd64

2023-04-19 Thread Chavdar Ivanov
On Fri, 14 Apr 2023 at 10:09, Chavdar Ivanov wrote: > > Hi, > > I got: > .. > Apr 14 00:28:34 ymir syslogd[2516]: restart > [ 19830.9541169] panic: kernel diagnostic assertion "offset < > map->dm_mapsize" failed: file > "/home/sysbuild/src/sys/arch/x86/x86/bus_dma.c", line 826 bad offset >

Re: Total sysupgrade failure - 10.99.3 -> 10.99.3, 4 days difference

2023-04-19 Thread Chavdar Ivanov
On Tue, 18 Apr 2023 at 22:16, Chavdar Ivanov wrote: > > Hi, > > I do my builds with sysbuild and my upgrades with sysupgrade, many > years now, basically since these two tools were made available. I > haven't had much problems with them so far. > > My previous build was from 14th of April and