Subject: toolchain/22177: problems in building toolchain on AIX for ~current
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <kamalrpr@in.ibm.com>
List: netbsd-bugs
Date: 07/18/2003 11:18:32
>Number:         22177
>Category:       toolchain
>Synopsis:       problems in building toolchain on AIX for ~current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 18 11:19:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kamal R. Prasad
>Release:        current
>Organization:
IBM (Not official activity of -but employed by)
>Environment:
AIX <conf_machine name> 3 4 000173374C00
>Description:
I got a patch from Fredrick Bruckman to check for u_long on AIX and that helped to move forward on the build, but there was another problem.
The details when the build gets stuck are given below. if any more info is reqd or if a patch can be given, pl. do let me know.
thanks
-kamal

------------------------------------------------
cc -O -qnolm -D_POSIX_SOURCE  -I. -I./include -I/tmp/kamalfs/netbsd/src/tools/co
mpat -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE -D__DBINTERFACE_PRIVATE -I/tmp/kamalfs/netbsd/src/lib/libc/include -c -o atoll.lo.o /tmp/kamalfs/n
etbsd/src/tools/compat/../../lib/libc/stdlib/atoll.c
"/tmp/kamalfs/netbsd/src/tools/compat/compat_defs.h", line 149.2: 1506-205 (S) #
error cannot figure out how to turn a DIR * into a fd
*** Error code 1

Stop.
nbmake: stopped in /tmp/kamalfs/netbsd/src/tools/compat
*** Error code 1

Stop.
nbmake: stopped in /tmp/kamalfs/netbsd/src/tools/compat
*** Error code 1

Stop.
nbmake: stopped in /tmp/kamalfs/netbsd/src/tools

ERROR: Failed to make tools
*** BUILD ABORTED ***
-----------------------------------------------------

>How-To-Repeat:
on AIX,

./build.sh -m prep -u -U -D${TOPDIR}/src -T${TOPDIR}/tools

>Fix:
not known
>Release-Note:
>Audit-Trail:
>Unformatted: