Subject: port-powerpc/16893: COMPAT_LINUX is broken on PowerPC platforms
To: None <gnats-bugs@gnats.netbsd.org>
From: None <pino@dohd.org>
List: netbsd-bugs
Date: 05/19/2002 10:10:03
>Number: 16893
>Category: port-powerpc
>Synopsis: COMPAT_LINUX is broken on PowerPC platforms
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: port-powerpc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 19 01:10:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.5ZC - freshly checked out sources
>Organization:
Eindhoven University of Technology
>Environment:
System: NetBSD grannysmith.ipv6.stack.nl 1.5ZC NetBSD 1.5ZC (GRANNYSMITH) #4: Thu May 16 09:49:28 CEST 2002 martijnb@grannysmith.ipv6.stack.nl:/usr/src/sys/arch/macppc/compile/GRANNYSMITH macppc
Architecture: powerpc
Machine: macppc
>Description:
Enabling COMPAT_LINUX in the kernel configuration file results in a
failed build of the kernel, due to missing symbols (Namely:
linux_sys_stat64, linux_sys_lstat64, linux_sys_fstat64,
linux_sys_gedents64 and linux_sys_fcntl64, defined in
compat/linux/common/linux_fil64.c to my best knowledge). A quick-fix
attempt by adding compat/linux/common/linux_file64.c to
compat/linux/arch/powerpc/files.linux_powerpc failed due to other
compile errors (Nonexisting members in structs, illegal definitions,
etc.)
>How-To-Repeat:
add 'option COMPAT_LINUX' to a kernel configuration file for a PowerPC
architecture, and try to compile the kernel
>Fix:
Unknown
>Release-Note:
>Audit-Trail:
>Unformatted: