Subject: pkg/10655: perl-5.6.0 compile breaks on ftello/fseeko
To: None <gnats-bugs@gnats.netbsd.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: netbsd-bugs
Date: 07/21/2000 23:08:21
>Number:         10655
>Category:       pkg
>Synopsis:       perl-5.6.0 compile breaks on ftello/fseeko
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 21 23:09:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Johnny C. Lam
>Release:        NetBSD-current 20000718
>Organization:
	Department of Statistics, Carnegie Mellon University
>Environment:
System: NetBSD mariposa.home.net 1.5B NetBSD 1.5B (MARIPOSA) #1: Wed Jul 19 17:03:34 EDT 2000 jlam@mariposa.home.net:/usr/src/sys/arch/i386/compile/MARIPOSA i386


>Description:
	Compiling perl-5.6.0 using pkgsrc/lang/perl-current on a NetBSD
system compiled from 20000718 sources yields the following output.  I'm
not sure where to begin with this problem.

===> real-patch [perl-5.6.0] ===> Patching for perl-5.6.0
===> do-patch [perl-5.6.0] ===> Applying NetBSD patches for perl-5.6.0
/bin/cp /tmp/lang/perl5-current/work/perl-5.6.0/ext/DynaLoader/hints/openbsd.pl /tmp/lang/perl5-current/work/perl-5.6.0/ext/DynaLoader/hints/netbsd.pl
===> real-configure [perl-5.6.0] ===> Configuring for perl-5.6.0
Sources for perl5 found in "/tmp/lang/perl5-current/work/perl-5.6.0".
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
3b1             dynix           isc             openbsd         sunos_4_0   
aix             dynixptx        isc_2           opus            sunos_4_1   
altos486        epix            linux           os2             svr4   
amigaos         esix4           lynxos          os390           svr5   
apollo          fps             machten         posix-bc        ti1500   
aux_3           freebsd         machten_2       powerux         titanos   
beos            genix           mint            qnx             ultrix_4   
bsdos           gnu             mips            rhapsody        umips   
convexos        greenhills      mpc             sco             unicos   
cxux            hpux            mpeix           sco_2_3_0       unicosmk   
cygwin          i386            ncr_tower       sco_2_3_1       unisysdynix   
darwin          irix_4          netbsd          sco_2_3_2       utekv   
dcosx           irix_5          newsos4         sco_2_3_3       uts   
dec_osf         irix_6          next_3          sco_2_3_4       uwin   
dgux            irix_6_0        next_3_0        solaris_2       vmesa   
dos_djgpp       irix_6_1        next_4          stellar   
Which of these apply, if any? [netbsd]  
Operating system name? [netbsd]  
Operating system version? [1.5b]  
Build a threading Perl? [n]  
Build Perl for multiplicity? [n]  
System manual is in /usr/share/man/man1.
Which memory models are supported? [none]  
Use which C compiler? [gcc]  
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/usr/pkg/lib /usr/lib]  
What is the file extension used for shared libraries? [so]  
Build Perl for SOCKS? [n]  
Checking for optional libraries...
What libraries to use? [-lm -lcrypt]  
What optimizer/debugger flag should be used? [-O2]  
Any additional cc flags? [-fno-strict-aliasing -I/usr/pkg/include]  
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [ -L/usr/pkg/lib]  
Checking your choice of C compiler and flags for coherency...
Checking to see how big your integers are...
off_t found.
Checking to see how big your file offsets are...
fpos_t found.
Checking the size of fpos_t...
Try to use 64-bit integers, if available? [n]  
Try to use maximal 64-bit support, if available? [n]  
What is your architecture name [i386-netbsd]  
Installation prefix to use? (~name ok) [/usr/pkg]  
AFS does not seem to be running...
What installation prefix should I use for installing files? (~name ok)
[/usr/pkg]  
Getting the current patchlevel...
Pathname where the private library files will reside? (~name ok)
[/usr/pkg/lib/perl5/5.6.0]  
Where do you want to put the public architecture-dependent libraries? (~name ok)
[/usr/pkg/lib/perl5/5.6.0/i386-netbsd]  
Binary compatibility with Perl 5.005? [y]  
Other username to test security of setuid scripts with? [none]  
I'll assume setuid scripts are *not* secure.
Does your kernel have *secure* setuid scripts? [n]  
Do you want to do setuid/setgid emulation? [n]  
Computing filename position in cpp output for #include directives...
<malloc.h> found.
<stdlib.h> found.
Do you wish to attempt to use the malloc that comes with perl5? [n]  
Your system wants malloc to return 'void *', it would seem.
Your system uses void free(), it would seem.
Do you want to configure vendor-specific add-on directories? [n]  
Checking out function prototypes...
Pathname where the public executables will reside? (~name ok) [/usr/pkg/bin]  
Installation prefix to use for add-on modules and utilities? (~name ok)
[/usr/pkg]  
Pathname for the site-specific library files? (~name ok)
[/usr/pkg/lib/perl5/site_perl/5.6.0]  
List of earlier versions to include in @INC? [none]  
Do you want to install perl as /usr/bin/perl? [n]  
Checking for GNU C Library...
Shall I use /usr/bin/nm to extract C symbols from the libraries? [y]  
Where is your C library? [/usr/lib/libc.so]  
Extracting names from the following files for later perusal:
	/usr/lib/libc.so
	/usr/lib/libcrypt.so.0.0
	/usr/lib/libm.so.0.1
This may take a while....done
<dld.h> NOT found.
dlopen() found.
Do you wish to use dynamic loading? [y]  
Source file to use for dynamic loading [ext/DynaLoader/dl_dlopen.xs]  
Any special flags to pass to gcc -c to compile shared library modules?
[-DPIC -fPIC ]  
What command should be used to create dynamic libraries? [gcc]  
Any special flags to pass to gcc to create a dynamically loaded library?
[--whole-archive -shared  -L/usr/pkg/lib]  
Any special flags to pass to gcc to use dynamic linking?
[-Wl,-E -Wl,-R/usr/pkg/lib ]  
Build a shared libperl.so (y/n) [y]  
What name do you want to give to the shared libperl? [libperl.so]  

Adding -Wl,-R/usr/pkg/lib/perl5/5.6.0/i386-netbsd/CORE to the flags
passed to gcc so that the perl executable will find the 
installed shared libperl.so.

Where do the main Perl5 manual pages (source) go? (~name ok)
[/usr/pkg/man/man1]  
What suffix should be used for the main Perl5 man pages? [1]  
You can have filenames longer than 14 characters.
Where do the perl5 library man pages (source) go? (~name ok)
[/usr/pkg/man/man3]  
What suffix should be used for the perl5 library man pages? [3]  
Figuring out host name...
Your host name appears to be "mariposa.home.net". Right? [y]  
What is your domain name? [.home.net]  
What is your e-mail address? [kroot@mariposa.home.net]  
Perl administrator e-mail address [kroot@mariposa.home.net]  
What shall I put after the #! to start up perl ("none" to not use #!)?
[/usr/pkg/bin/perl]  
Where do you keep publicly executable scripts? (~name ok) [/usr/pkg/bin]  
Pathname for the site-specific architecture-dependent library files? (~name ok)
[/usr/pkg/lib/perl5/site_perl/5.6.0/i386-netbsd]  
Pathname where the add-on public executables should be installed? (~name ok)
[/usr/pkg/bin]  
sqrtl() NOT found.
Try to use long doubles if available? [n]  
Use the experimental PerlIO abstraction layer? [n]  
qgcvt() NOT found.
Checking to see how big your double precision numbers are...
Checking to see if you have long double...
Checking to see how big your long doubles are...
Checking how to print long doubles...
gconvert NOT found.
gcvt NOT found.
sprintf() found.
I'll use sprintf to convert floats into a string.
access() found.
<sys/file.h> defines the *_OK access constants.
accessx() NOT found.
alarm() found.
atolf() NOT found.
atoll() found.
Checking whether your compiler can handle __attribute__ ...
bcmp() found.
bcopy() found.
<unistd.h> found.
getpgrp() found.
You have to use getpgrp() instead of getpgrp(pid).
setpgrp() found.
You have to use setpgrp(pid,pgrp) instead of setpgrp().
bzero() found.
You have void (*signal())().
Checking whether your C compiler can cast large floats to int32.
Checking whether your C compiler can cast negative float to unsigned.
vprintf() found.
Your vsprintf() returns (int).
chown() found.
chroot() found.
chsize() NOT found.
Checking to see if your C compiler knows about "const"...
crypt() found.
cuserid() NOT found.
<limits.h> found.
<float.h> found.
DBL_DIG found.
difftime() found.
<dirent.h> found.
Your directory entries are struct dirent.
Good, your directory entry keeps length information in d_namlen.
dlerror() found.
<dlfcn.h> found.
What is the extension of dynamically loaded modules [so]  
Checking whether your dlsym() needs a leading underscore ...
dlsym doesn't need a leading underscore.
dup2() found.
eaccess() NOT found.
endgrent() found.
endhostent() found.
endnetent() found.
endprotoent() found.
endpwent() found.
endservent() found.
endspent() NOT found.
<sys/file.h> defines the O_* constants...
and you have the 3 argument form of open().
Using <string.h> instead of <strings.h>.
Figuring out the flag used by open() for non-blocking I/O...
Let's see what value errno gets from read() on a O_NONBLOCK file...
fchmod() found.
fchown() found.
fcntl() found.
Hmm... Looks like you have Berkeley networking support.
socketpair() found.
Checking the availability of certain socket constants...
<sys/select.h> found.
Testing to see if we should include <time.h>, <sys/time.h> or both.
We'll include <sys/time.h>.
Well, your system knows about the normal fd_set typedef...
and you have the normal fd_set macros (just as I'd expect).
fgetpos() found.
flock() found.
fork() found.
pathconf() found.
fpathconf() found.
Checking to see if you have fpos64_t...
<sys/param.h> found.
<sys/mount.h> found.
<sys/types.h> found.
Checking to see if your system supports struct fs_data...
fseeko() found.
fsetpos() found.
fstatfs() found.
statvfs() NOT found.
fstatvfs() NOT found.
ftello() found.
getcwd() found.
getfsstat() found.
getgrent() found.
gethostbyaddr() found.
gethostbyname() found.
gethostent() NOT found.
gethostname() found.
uname() found.
Shall I ignore gethostname() from now on? [n]  
<netdb.h> found.
getlogin() found.
getmnt() NOT found.
getmntent() NOT found.
getnetbyaddr() found.
getnetbyname() found.
getnetent() found.
getprotobyname() found.
getprotobynumber() found.
getprotoent() found.
getpgid() found.
getpgrp2() NOT found.
getppid() found.
getpriority() found.
getpwent() found.
getservbyname() found.
getservbyport() found.
getservent() found.
getspent() NOT found.
getspnam() NOT found.
gettimeofday() found.
<grp.h> found.
hasmntopt() NOT found.
<netinet/in.h> found.
<arpa/inet.h> found.
htonl() found.
iconv() NOT found.
strchr() found.
inet_aton() found.
<inttypes.h> found.
Checking to see if you have int64_t...
isascii() found.
killpg() found.
lchown() found.
LDBL_DIG found.
link() found.
localeconv() found.
lockf() found.
Checking to see if you have long long...
Checking to see how big your long longs are...
lstat() found.
madvise() found.
mblen() found.
mbstowcs() found.
mbtowc() found.
memchr() found.
memcmp() found.
memcpy() found.
memmove() found.
memset() found.
mkdir() found.
mkdtemp() found.
mkfifo() found.
mkstemp() found.
mkstemps() NOT found.
mktime() found.
<sys/mman.h> found.
mmap() found.
and it returns (caddr_t).
mprotect() found.
msgctl() found.
msgget() found.
msgsnd() found.
msgrcv() found.
You have the full msg*(2) library.
msync() found.
munmap() found.
nice() found.
Checking which 64-bit integer type we could use...
We could use 'long long' for 64-bit integers.
Checking to see how big your characters are (hey, you never know)...
What is the size of a character (in bytes)? [1]  
Choosing the C types to be used for Perl's internal types...
Checking whether your NVs can preserve your UVs...
Checking to see if you have off64_t...
<pthread.h> NOT found.
pause() found.
pipe() found.
poll() found.
<pwd.h> found.
readdir() found.
seekdir() found.
telldir() found.
rewinddir() found.
readlink() found.
rename() found.
rmdir() found.
<memory.h> found.
Checking to see if your bcopy() can do overlapping copies...
Checking to see if your memcpy() can do overlapping copies...
Checking if your memcmp() can compare relative magnitude...
select() found.
semctl() found.
semget() found.
semop() found.
You have the full sem*(2) library.
You do not have union semun in <sys/sem.h>.
You can use union semun for semctl IPC_STAT.
You can also use struct semid_ds* for semctl IPC_STAT.
setegid() found.
seteuid() found.
setgrent() found.
sethostent() found.
setlinebuf() found.
setlocale() found.
setnetent() found.
setprotoent() found.
setpgid() found.
setpgrp2() NOT found.
setpriority() found.
setpwent() found.
setregid() found.
setresgid() NOT found.
setreuid() found.
setresuid() NOT found.
setrgid() found.
*** WHOA THERE!!! ***
    The recommended value for $d_setrgid on this machine was "undef"!
    Keep the recommended value? [y]  
setruid() found.
*** WHOA THERE!!! ***
    The recommended value for $d_setruid on this machine was "undef"!
    Keep the recommended value? [y]  
setservent() found.
setsid() found.
setspent() NOT found.
setvbuf() found.
<sfio.h> NOT found.
shmctl() found.
shmget() found.
shmat() found.
and it returns (void *).
shmdt() found.
You have the full shm*(2) library.
sigaction() found.
POSIX sigsetjmp found.
<sys/stat.h> found.
Checking to see if your struct stat has st_blocks field...
<sys/vfs.h> NOT found.
<sys/statfs.h> NOT found.
Checking to see if your system supports struct statfs...
Checking to see if your struct statfs has f_flags field...
Checking how std your stdio is...
Checking how to access stdio streams by file descriptor number...
You can access stdio streams by file descriptor number by the __sF array.
strcoll() found.
Checking to see if your C compiler can copy structs...
strerror() found.
strtod() found.
strtol() found.
strtold() NOT found.
strtoll() found.
strtoul() found.
strtoull() found.
strtouq() found.
strxfrm() found.
symlink() found.
syscall() found.
sysconf() found.
system() found.
tcgetpgrp() found.
tcsetpgrp() found.
<sys/times.h> found.
times() found.
clock_t found.
truncate() found.
tzname[] found.
umask() found.
ustat() NOT found.
vfork() found.
Do you still want to use vfork()? [n]  
<sys/dir.h> found.
<sys/ndir.h> NOT found.
closedir() found.
Checking whether closedir() returns a status...
Checking to see if your C compiler knows about "volatile"...
wait4() found.
waitpid() found.
wcstombs() found.
wctomb() found.
Checking alignment constraints...
Doubles must be aligned on a how-many-byte boundary? [4]  
Checking to see how your cpp does stuff like catenate tokens...
Oh!  Smells like ANSI's been here.
<db.h> found.
Checking Berkeley DB version ...
Looks OK.
Checking return type needed for hash for Berkeley DB ...
Checking return type needed for prefix for Berkeley DB ...
Checking to see how well your C compiler groks the void type...
Good.  It appears to support void to the level perl5 wants.
Looking for a random number function...
Good, found drand48().
Use which function to generate random numbers? [drand48]  
Determining whether or not we are on an EBCDIC system...
Nope, no EBCDIC, probably ASCII or some ISO Latin.
Checking how to flush all pending stdio output...
Your fflush(NULL) works okay for output streams.
Let's see if it clobbers input pipes...
fflush(NULL) seems to behave okay with input streams.
Checking the size of gid_t...
Checking the sign of gid_t...
Checking how to print 64-bit integers...
Checking the format strings to be used for Perl's internal types...
Checking the format string to be used for gids...
getgroups() found.
setgroups() found.
What type pointer is the second argument to getgroups() and setgroups()?
[gid_t]  
Checking if your /usr/bin/make program sets $(MAKE)...
mode_t found.
size_t found.
What pager is used on your system? [/usr/bin/less]  
pid_t found.
Checking to see how big your pointers are...
Checking how to generate random libraries on your machine...
Your select() operates on 32 bits at a time.
Generating a list of signal names and numbers...
Checking the size of size_t...
Checking to see if you have socklen_t...
I'll be using ssize_t for functions returning a byte count.
Your stdio uses signed chars.
time() found.
time_t found.
Checking the size of uid_t...
Checking the sign of uid_t...
Checking the format string to be used for uids...
dbmclose() NOT found.
<sys/file.h> found.
We'll be including <sys/file.h>.
<fcntl.h> found.
We don't need to include <fcntl.h> if we include <sys/file.h>.
<iconv.h> NOT found.
<ieeefp.h> found.
<locale.h> found.
<math.h> found.
<mntent.h> NOT found.
<ndbm.h> found.
dbm_open() found.
<net/errno.h> NOT found.
<netinet/tcp.h> found.
<poll.h> found.
Guessing which symbols your C compiler and preprocessor define...
try.c:18903: warning: deprecated symbol "unix" is no longer predefined
tcsetattr() found.
You have POSIX termios.h... good!
<shadow.h> NOT found.
<socks.h> NOT found.
<stdarg.h> found.
<varargs.h> found.
We'll include <stdarg.h> to get va_dcl definition.
<stddef.h> found.
<sunmath.h> NOT found.
<sys/access.h> NOT found.
<sys/filio.h> found.
<sys/ioctl.h> found.
<syslog.h> found.
<sys/mode.h> NOT found.
<sys/resource.h> found.
<sys/security.h> NOT found.
<sys/statvfs.h> NOT found.
<sys/uio.h> found.
<sys/un.h> found.
<sys/utsname.h> found.
<sys/wait.h> found.
<ustat.h> NOT found.
<utime.h> found.
<values.h> NOT found.
<gdbm.h> NOT found.
Looking for extensions...
What extensions do you wish to load dynamically?
[B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Fcntl File/Glob IO IPC/SysV NDBM_File Opcode POSIX SDBM_File Socket Sys/Hostname Sys/Syslog attrs re]  
What extensions do you wish to load statically? [none]  
Stripping down executable paths...
Creating config.sh...
Doing variable substitutions on .SH files...
Extracting Makefile (with variable substitutions)
Extracting Policy.sh (with variable substitutions)
Extracting cflags (with variable substitutions)
Extracting config.h (with variable substitutions)
Extracting makeaperl (with variable substitutions)
Extracting makedepend (with variable substitutions)
Extracting makedir (with variable substitutions)
Extracting myconfig (with variable substitutions)
Extracting writemain (with variable substitutions)
Extracting x2p/Makefile (with variable substitutions)
Extracting x2p/cflags (with variable substitutions)
Run make depend now? [y]  
sh ./makedepend MAKE=make
sh writemain lib/auto/DynaLoader/DynaLoader.a  > writemain.tmp
sh mv-if-diff writemain.tmp perlmain.c
echo  av.c scope.c op.c doop.c doio.c dump.c hv.c mg.c perl.c perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c gv.c sv.c taint.c toke.c util.c deb.c run.c universal.c xsutils.c globals.c perlio.c perlapi.c miniperlmain.c perlmain.c | tr ' ' '\n' >.clist
Finding dependencies for av.o.
Finding dependencies for scope.o.
Finding dependencies for op.o.
Finding dependencies for doop.o.
Finding dependencies for doio.o.
Finding dependencies for dump.o.
Finding dependencies for hv.o.
Finding dependencies for mg.o.
Finding dependencies for perl.o.
Finding dependencies for perly.o.
Finding dependencies for pp.o.
Finding dependencies for pp_hot.o.
Finding dependencies for pp_ctl.o.
Finding dependencies for pp_sys.o.
Finding dependencies for regcomp.o.
Finding dependencies for regexec.o.
Finding dependencies for utf8.o.
Finding dependencies for gv.o.
Finding dependencies for sv.o.
Finding dependencies for taint.o.
Finding dependencies for toke.o.
Finding dependencies for util.o.
Finding dependencies for deb.o.
Finding dependencies for run.o.
Finding dependencies for universal.o.
Finding dependencies for xsutils.o.
Finding dependencies for globals.o.
Finding dependencies for perlio.o.
Finding dependencies for perlapi.o.
Finding dependencies for miniperlmain.o.
Finding dependencies for perlmain.o.
echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH  makedir.SH myconfig.SH writemain.SH | tr ' ' '\n' >.shlist
Updating makefile...
test -s perlmain.c && touch perlmain.c
cd x2p; make depend
sh ../makedepend MAKE=make
echo hash.c  str.c util.c walk.c | tr ' ' '\n' >.clist
Finding dependencies for hash.o.
Finding dependencies for str.o.
Finding dependencies for util.o.
Finding dependencies for walk.o.
echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
Updating makefile...
Now you must run a make.

If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.

===> real-build [perl-5.6.0] ===> Building for perl-5.6.0
`sh  cflags libperl.so miniperlmain.o` -DPIC -fPIC miniperlmain.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so perl.o` -DPIC -fPIC perl.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so gv.o` -DPIC -fPIC gv.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so toke.o` -DPIC -fPIC toke.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so perly.o` -DPIC -fPIC perly.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so op.o` -DPIC -fPIC op.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so regcomp.o` -DPIC -fPIC regcomp.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so dump.o` -DPIC -fPIC dump.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so util.o` -DPIC -fPIC util.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so mg.o` -DPIC -fPIC mg.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so hv.o` -DPIC -fPIC hv.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so av.o` -DPIC -fPIC av.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so run.o` -DPIC -fPIC run.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so pp_hot.o` -DPIC -fPIC pp_hot.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so sv.o` -DPIC -fPIC sv.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so pp.o` -DPIC -fPIC pp.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so scope.o` -DPIC -fPIC scope.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so pp_ctl.o` -DPIC -fPIC pp_ctl.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so pp_sys.o` -DPIC -fPIC pp_sys.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so doop.o` -DPIC -fPIC doop.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so doio.o` -DPIC -fPIC doio.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so regexec.o` -DPIC -fPIC regexec.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so utf8.o` -DPIC -fPIC utf8.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so taint.o` -DPIC -fPIC taint.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so deb.o` -DPIC -fPIC deb.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so universal.o` -DPIC -fPIC universal.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so xsutils.o` -DPIC -fPIC xsutils.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so globals.o` -DPIC -fPIC globals.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so perlio.o` -DPIC -fPIC perlio.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
`sh  cflags libperl.so perlapi.o` -DPIC -fPIC perlapi.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
gcc --whole-archive -shared  -L/usr/pkg/lib -o libperl.so perl.o  gv.o toke.o perly.o op.o regcomp.o dump.o util.o mg.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o 
rm -f opmini.c
/bin/ln -s op.c opmini.c
`sh  cflags libperl.so opmini.o` -DPIC -fPIC -DPERL_EXTERNAL_GLOB opmini.c
	  CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -I/usr/pkg/include -O2   
rm -f opmini.c
LD_LIBRARY_PATH=/tmp/lang/perl5-current/work/perl-5.6.0:/tmp/lang/perl5-current/work/perl-5.6.0 gcc  -L/usr/pkg/lib -o miniperl  miniperlmain.o opmini.o -L. -lperl -lm -lcrypt
./libperl.so: undefined reference to `fseeko'
./libperl.so: undefined reference to `ftello'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

>How-To-Repeat:
	Use a fairly -current system after ftello/fseeko were added to
libc/stdio.  Type "make" in pkgsrc/lang/perl-current.
>Fix:
	Unknown :(
>Release-Note:
>Audit-Trail:
>Unformatted: