Subject: bin/18292: file/mkmagic not build as a host tool properly
To: None <gnats-bugs@gnats.netbsd.org>
From: None <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 09/14/2002 17:49:00
>Number: 18292
>Category: bin
>Synopsis: file/mkmagic not build as a host tool properly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 14 17:50:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Jason R Thorpe
>Release: NetBSD 1.6D
>Organization:
Wasabi Systems, Inc.
>Environment:
System: NetBSD yeah-baby.shagadelic.org 1.6D NetBSD 1.6D (YEAH-BABY-XP) #10: Wed Jul 10 11:36:52 PDT 2002 thorpej@yeah-baby.shagadelic.org:/u1/netbsd/src/sys/arch/i386/compile/YEAH-BABY-XP i386
Architecture: i386
Machine: i386
>Description:
mkmagic uses apprentice.c and print.c from the file sources.
However, it includes a "config.h" which is the target's config.h
in the file sources. It needs to include the host's config.h
generated for host tools (and that config.h also needs to define
macros that mksyntax needs).
To do this properly probably requires a separate directory in
which to build these the host tool.
>How-To-Repeat:
Code inspection.
>Fix:
Not provided.
>Release-Note:
>Audit-Trail:
>Unformatted: