Subject: toolchain/21707: linbcompat should provide atoll(3)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <uwe@netbsd.org>
List: netbsd-bugs
Date: 05/29/2003 00:37:41
>Number: 21707
>Category: toolchain
>Synopsis: linbcompat should provide atoll(3)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 29 00:38:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Valeriy E. Ushakov
>Release: -current as of 2003-05-29
>Organization:
>Environment:
FreeBSD sampo 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu May 22 02:57:54 MSD 2003 uwe@sampo:/usr/src/sys/compile/SAMPO i386
>Description:
Cross-building for sparc64 on a FreeBSD/i386 fails:
dependall ===> gnu/usr.bin/gcc
dependall ===> gnu/usr.bin/gcc/backend
cc -pipe -mcpu=pentiumpro -O2 -I. -I/nb/src/gnu/usr.bin/gcc/backend/../arch/sparc64 -DIN_GCC -DHAIFA -DHAVE_CONFIG_H -I/nb/src/gnu/dist/toolchain/gcc -I/nb/src/gnu/dist/toolchain/gcc/config -I/nb/src/gnu/dist/toolchain/gcc/../include -I/nb/src/gnu/usr.bin/gcc/backend/.. -o gengenrtl /nb/src/gnu/dist/toolchain/gcc/gengenrtl.c -L/usr/nb/obj/sparc64/tools/compat -lnbcompat
./gengenrtl genrtl.h genrtl.c
cc -pipe -mcpu=pentiumpro -O2 -I. -I/nb/src/gnu/usr.bin/gcc/backend/../arch/sparc64 -DIN_GCC -DHAIFA -DHAVE_CONFIG_H -I/nb/src/gnu/dist/toolchain/gcc -I/nb/src/gnu/dist/toolchain/gcc/config -I/nb/src/gnu/dist/toolchain/gcc/../include -I/nb/src/gnu/usr.bin/gcc/backend/.. -o genpeep /nb/src/gnu/dist/toolchain/gcc/genpeep.c /nb/src/gnu/dist/toolchain/libiberty/obstack.c /nb/src/gnu/dist/toolchain/gcc/rtl.c /nb/src/gnu/dist/toolchain/gcc/bitmap.c /nb/src/gnu/dist/toolchain/gcc/print-rtl.c -L/usr/nb/obj/sparc64/tools/compat -lnbcompat
/tmp/cc3n1WNd.o: In function `read_rtx':
/tmp/cc3n1WNd.o(.text+0xf86): undefined reference to `atoll'
*** Error code 1
Stop.
nbmake: stopped in /nb/src/gnu/usr.bin/gcc/backend
*** Error code 1
>How-To-Repeat:
Try to cross-build netbsd on a 32-bit platform that doesn't have atoll(3).
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: