Subject: port-m68k/12662: mkdep for /src/sys/arch/m68k/060sp/netbsd060sp.S failing on amiga in 1.5.1_BETA
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@netbsd.org>
List: netbsd-bugs
Date: 04/15/2001 13:05:44
>Number: 12662
>Category: port-m68k
>Synopsis: mkdep for /src/sys/arch/m68k/060sp/netbsd060sp.S failing on amiga in 1.5.1_BETA
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-m68k-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 15 04:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Thorsten Frueauf
>Release: <NetBSD-current source date> 1.5.1_BETA from 09.04.2001
>Organization:
private
>Environment:
NetBSD cyberdyne 1.5.1_BETA NetBSD 1.5.1_BETA (amiga) #0: Mon Apr 9 19:07:22 MEST 2001 frueauf@cyberdyne:/home/frueauf/amiga amiga
Amiga 3000 with 48 MB memory and cyberstorm mkII with 060@50mhz.
/src for 1.5.1_BETA via anoncvs from 09.04.2001
userland build with /etc/mk.conf:
COPTS?= -m68060
M68060= 1
>Description:
When trying to compile e.g. GENERIC kernel with src from 09.04.2001 (1.5.1_BETA)
the following error occurs while doing 'make depend':
[...]
mkdep -a -x assembler-with-cpp -traditional-cpp -D_LOCORE -I. -I/src/sys/arch -I/src/sys -nostdinc -DM68060 -DM060SP -DM68030 -DLKM -DNMBCLUSTERS="0x400" -DDIAGNOSTIC -DDEBUG -DSCSIDEBUG -DMAXUSERS=32 -D_KERNEL -Damiga -DFPCOPROC /src/sys/arch/m68k/m68k/bcopy.s /src/sys/arch/m68k/m68k/copy.s /src/sys/arch/m68k/m68k/copypage.s /src/sys/arch/m68k/m68k/oc_cksum.s /src/sys/arch/m68k/m68k/reenter_syscall.s /src/sys/arch/m68k/060sp/netbsd060sp.S
/src/sys/arch/m68k/060sp/netbsd060sp.S:347: invalid format `#line' directive
mkdep: compile failed.
*** Error code 1
Strange enough, a followig 'make' compiles the kernel without problems and the
resulting kernel even works.
I did not see this error when compiling 1.5.1_ALPHA from src 03.03.2001.
>How-To-Repeat:
Get 1.5.1_BETA src from 09.04.2001, build userland with above options enabled
in /etc/mk.conf and try to build GENERIC on an amiga with 060.
Note that after booting with the kernel for 1.5.1_BETA (09.04.2001) I did
a full rebuild of the userland world - still the same problem.
So maybe my build options trigger some compiler bug?!
I even build a libc.so without the recent
src/lib/libc/arch/m68k/string/memccpy.S because that was the only m68k
related change I spotted between 03.03. and 09.04. that could have
brought some change... but it did not change the 'make depend' error.
But note that I did not reboot or rebuild the full world with this
libc.so that used the MI memccpy.c.
>Fix:
I don't know, sorry :( I made this bug "critical-high" because 1.5.1 is
currently in beta. Otherwise its not critical as the resulting kernel
works, so feel free to change priority if needed.
>Release-Note:
>Audit-Trail:
>Unformatted:
mkdep for /src/sys/arch/m68k/060sp/netbsd060sp.S failing on amiga in 1.5.1_BETA