Thanks for the answers :)

Yes, i've run al of the above commands except the oen with MAKEOPTS="-j1"

Also re-emerge extutils-depends and extutils-pkgconfig didn't helped,
but is strange that they emerged fine.

One thing which took my atention but seem not to be critical was:

[code] * Updating ph files.
 * Ignore all "No such file..." messages!
Can't open syslimits.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stdarg.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
[/code]

Also strange the path which is returned by running:

[b]perl-cleaner --leftovers[/b]
[code]

 * Finding left over modules and header

 * The following files remain. These were either installed by hand
 * or edited. This script cannot deal with them.

/usr/lib32/perl5/5.8.8/i686-linux/auto/B/B.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/B/C/C.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/ByteLoader/ByteLoader.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Cwd/Cwd.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/DB_File/DB_File.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Devel/DProf/DProf.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Devel/PPPort/PPPort.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Devel/Peek/Peek.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Byte/Byte.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/CN/CN.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/EBCDIC/EBCDIC.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/JP/JP.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/KR/KR.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Symbol/Symbol.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/TW/TW.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Unicode/Unicode.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/File/Glob/Glob.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Filter/Util/Call/Call.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/GDBM_File/GDBM_File.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/I18N/Langinfo/Langinfo.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/IO/IO.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/IPC/SysV/SysV.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/List/Util/Util.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/MIME/Base64/Base64.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/NDBM_File/NDBM_File.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Opcode/Opcode.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/PerlIO/encoding/encoding.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/PerlIO/scalar/scalar.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/PerlIO/via/via.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/SDBM_File/SDBM_File.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Socket/Socket.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Storable/Storable.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Sys/Hostname/Hostname.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Sys/Syslog/Syslog.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Time/HiRes/HiRes.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Unicode/Normalize/Normalize.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/XS/APItest/APItest.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/XS/Typemap/Typemap.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/attrs/attrs.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/re/re.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/threads/shared/shared.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/threads/threads.so
/usr/lib64/perl5/vendor_perl/5.8.8/XML/SAX/ParserDetails.ini
/usr/lib64/perl5/5.8.8/x86_64-linux/Encode/ConfigLocal.pm
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode/ConfigLocal.pm
[/code]

[b]$ls /usr/lib32/perl5/[/b]
[code]
5.8.8[/code]

[b]$ls /usr/lib64/perl5/[/b]
[code]5.12.2  5.8.8  vendor_perl[/code]

Would it be safe to remove 5.8.8 directory? what's also strange is
that the system has been running fine for years...

That's the error i get when trying to emerge perl and chost is set to
[b]CHOST="x86_64-pc-linux-gnu"[/b]  at /etc/make.conf

emerge perl
[code]emerge -va perl
 * Mounting 2048M of memory to /var/tmp/portage ...

     [ ok ]
 * emerging -va perl


 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-lang/perl-5.12.2-r2  USE="ithreads -berkdb -build
-debug -doc -gdbm" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-lang/perl-5.12.2-r2
 * perl-5.12.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

    [ ok ]
 * perl-5.12.2-5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

    [ ok ]
 * Package:    dev-lang/perl-5.12.2-r2
 * Repository: gentoo
 * Maintainer: p...@gentoo.org
 * USE:  amd64 elibc_glibc ithreads kernel_linux multilib userland_GNU

 * THREADS WARNING:
 * PLEASE NOTE: You are compiling perl-5.12.2 with
 * interpreter-level threading enabled.
 * Threading is not supported by all applications
 * that compile against perl. You use threading at
 * your own discretion.
>>> Unpacking source...
>>> Unpacking perl-5.12.2.tar.bz2 to 
>>> /var/tmp/portage/dev-lang/perl-5.12.2-r2/work
>>> Unpacking perl-5.12.2-5.tar.bz2 to 
>>> /var/tmp/portage/dev-lang/perl-5.12.2-r2/work
>>> Source unpacked in /var/tmp/portage/dev-lang/perl-5.12.2-r2/work
>>> Preparing source in 
>>> /var/tmp/portage/dev-lang/perl-5.12.2-r2/work/perl-5.12.2 ...
 * Applying various patches (bugfixes/updates) ...
 *   0001-gentoo_MakeMaker-RUNPATH.diff ...

    [ ok ]
 *   0002-gentoo_config__over.diff ...

    [ ok ]
 *   0003-gentoo_cpan__definstalldirs.diff ...

    [ ok ]
 *   0004-gentoo_cpanplus__definstalldirs.diff ...

    [ ok ]
 *   0005-gentoo_create-libperl-soname.diff ...

    [ ok ]
 *   0006-gentoo_MakeMaker-delete__packlist.diff ...

    [ ok ]
 *   0007-fixes_8d66b3f9__h2hp__fix.diff ...

    [ ok ]
 *   0008-fixes_f178b03b__h2ph__using__deprecated__goto.diff ...

    [ ok ]
 *   0009-gentoo_mod-paths.diff ...

    [ ok ]
 *   0010-gentoo_enc2xs.diff ...

    [ ok ]
 * Done with patching
>>> Source prepared.
>>> Configuring source in 
>>> /var/tmp/portage/dev-lang/perl-5.12.2-r2/work/perl-5.12.2 ...
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.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
/usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error
[b]You need to find a working C compiler.[/b]
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
 * ERROR: dev-lang/perl-5.12.2-r2 failed:
[/code]

After changing chost at /etc/make.conf to CHOST="x86_64-pc-linux-gnu-gcc"
emerge perl runs fine:
[code]emerge -va perl
 * Mounting 2048M of memory to /var/tmp/portage ...

     [ ok ]
 * emerging -va perl

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies
... done!
[ebuild   R   ] dev-lang/perl-5.12.2-r2  USE="ithreads -berkdb -build
-debug -doc -gdbm" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-lang/perl-5.12.2-r2
 * perl-5.12.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

    [ ok ]
 * perl-5.12.2-5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

    [ ok ]
 * Package:    dev-lang/perl-5.12.2-r2
 * Repository: gentoo
 * Maintainer: p...@gentoo.org
 * USE:  amd64 elibc_glibc ithreads kernel_linux multilib userland_GNU

 * THREADS WARNING:
 * PLEASE NOTE: You are compiling perl-5.12.2 with
 * interpreter-level threading enabled.
 * Threading is not supported by all applications
 * that compile against perl. You use threading at
 * your own discretion.
>>> Unpacking source...
>>> Unpacking perl-5.12.2.tar.bz2 to 
>>> /var/tmp/portage/dev-lang/perl-5.12.2-r2/work
>>> Unpacking perl-5.12.2-5.tar.bz2 to 
>>> /var/tmp/portage/dev-lang/perl-5.12.2-r2/work
>>> Source unpacked in /var/tmp/portage/dev-lang/perl-5.12.2-r2/work
>>> Preparing source in 
>>> /var/tmp/portage/dev-lang/perl-5.12.2-r2/work/perl-5.12.2 ...
 * Applying various patches (bugfixes/updates) ...
 *   0001-gentoo_MakeMaker-RUNPATH.diff ...

    [ ok ]
 *   0002-gentoo_config__over.diff ...

    [ ok ]
 *   0003-gentoo_cpan__definstalldirs.diff ...

    [ ok ]
 *   0004-gentoo_cpanplus__definstalldirs.diff ...

    [ ok ]
 *   0005-gentoo_create-libperl-soname.diff ...

    [ ok ]
 *   0006-gentoo_MakeMaker-delete__packlist.diff ...

    [ ok ]
 *   0007-fixes_8d66b3f9__h2hp__fix.diff ...

    [ ok ]
 *   0008-fixes_f178b03b__h2ph__using__deprecated__goto.diff ...

    [ ok ]
 *   0009-gentoo_mod-paths.diff ...

    [ ok ]
 *   0010-gentoo_enc2xs.diff ...

    [ ok ]
 * Done with patching
>>> Source prepared.
>>> Configuring source in 
>>> /var/tmp/portage/dev-lang/perl-5.12.2-r2/work/perl-5.12.2 ...
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.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
3b1           dos_djgpp       irix_6          openbsd       sunos_4_1
aix           dragonfly       irix_6_0        opus          super-ux
aix_3         dynix           irix_6_1        os2           svr4
aix_4         dynixptx        isc             os390         svr5
altos486      epix            isc_2           os400         ti1500
amigaos       esix4           linux           posix-bc      titanos
apollo        fps             lynxos          powerux       ultrix_4
atheos        freebsd         midnightbsd     qnx           umips
aux_3         genix           mips            rhapsody      unicos
beos          gnu             mirbsd          riscos        unicosmk
bsdos         gnukfreebsd     mpc             sco           unisysdynix
catamount     gnuknetbsd      mpeix           sco_2_3_0     utekv
convexos      greenhills      ncr_tower       sco_2_3_1     uts
cxux          haiku           netbsd          sco_2_3_2     uwin
cygwin        hpux            newsos4         sco_2_3_3     vmesa
darwin        i386            next_3          sco_2_3_4     vos
dcosx         interix         next_3_0        solaris_2
dec_osf       irix_4          next_4          stellar
dgux          irix_5          nonstopux       sunos_4_0
Which of these apply, if any? [linux]

You appear to have ELF support.  I'll try to use it for dynamic loading.
If dynamic loading doesn't work, read hints/linux.sh for further information.
nm: /usr/lib/libdb.so: no symbols
nm: /usr/lib64/libdb.so: no symbols
Operating system name? [linux]
Operating system version? [2.6.32-reiser4-r7]
Installation prefix to use? (~name ok) [/usr]
AFS does not seem to be running...
What installation prefix should I use for installing files? (~name ok)
[/usr]
Build Perl for SOCKS? [n]
Use the PerlIO abstraction layer? [y]
Getting the current patchlevel...
Build a threading Perl? [y]
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/local/lib64 /lib64 /usr/lib64]
What is the file extension used for shared libraries? [so]
Try to use long doubles if available? [n]
Checking for optional libraries...
What libraries to use? [-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc]
What optimizer/debugger flag should be used?
[-march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2]
Any additional cc flags?
[-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[-Wl,-O1 -Wl,--as-needed -fstack-protector]
Checking your choice of C compiler and flags for coherency...
Computing filename position in cpp output for #include directives...
<stdlib.h> found.
Checking to see how big your integers are...
Checking to see if you have long long...
Checking to see how big your long longs are...
<inttypes.h> found.
Checking to see if you have int64_t...
Checking which 64-bit integer type we could use...
We could use 'long' for 64-bit integers.
Try to use maximal 64-bit support, if available? [y]
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...
What is your architecture name [x86_64-linux-thread]
Threads selected.
...and architecture name already has -thread.
Multiplicity selected.
...setting architecture name to x86_64-linux-thread-multi.
This architecture is naturally 64-bit, not changing architecture name.
Perlio selected.
Pathname where the public executables will reside? (~name ok) [/usr/bin]
Use relocatable @INC? [n]
Pathname where the private library files will reside? (~name ok)
[/usr/lib64/perl5/5.12.2]
Where do you want to put the public architecture-dependent libraries? (~name ok)
[/usr/lib64/perl5/5.12.2/x86_64-linux-thread-multi]
Other username to test security of setuid scripts with? [none]
Well, the recommended value is *not* secure.
Does your kernel have *secure* setuid scripts? [n]
Installation prefix to use for add-on modules and utilities? (~name ok)
[/usr]
Pathname for the site-specific library files? (~name ok)
[/usr/lib64/perl5/site_perl/5.12.2]
List of earlier versions to include in @INC?
[5.12.1/x86_64-linux-thread-multi 5.12.1
5.12.0/x86_64-linux-thread-multi 5.12.0 ]
<malloc/malloc.h> NOT found.
<malloc.h> found.
Checking to see how well your C compiler groks the void type...
Good.  It appears to support void to the level perl5 wants.
Checking to see how big your pointers are...
Do you wish to wrap malloc calls to protect against potential overflows? [y]
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.
Pathname for the site-specific architecture-dependent library files? (~name ok)
[/usr/lib64/perl5/site_perl/5.12.2/x86_64-linux-thread-multi]
Do you want to configure vendor-specific add-on directories? [y]
Installation prefix to use for vendor-supplied add-ons? (~name ok) [/usr]
Pathname for the vendor-supplied library files? (~name ok)
[/usr/lib64/perl5/vendor_perl/5.12.2]
Pathname for vendor-supplied architecture-dependent files? (~name ok)
[/usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux-thread-multi]
Colon-separated list of additional directories for perl to search? [none]
Checking out function prototypes...
Support DTrace if available? [n]
Install any extra modules (y or n)? [n]
Directory for the main Perl5 html pages? (~name ok) [none]
Directory for the Perl5 module html pages? (~name ok) [none]
Checking for GNU C Library...
Shall I use /usr/bin/nm to extract C symbols from the libraries? [n]
<dld.h> NOT found.
Checking for C++...
dlopen() found.
<unistd.h> 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?
[-fPIC]
What command should be used to create dynamic libraries? [gcc]
Any special flags to pass to gcc to create a dynamically loaded library?
[-shared -march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1
-msse4.2 -fstack-protector]
Any special flags to pass to gcc to use dynamic linking? [-Wl,-E]
Build a shared libperl.so (y/n) [y]
What name do you want to give to the shared libperl? [libperl.so.5.12.2]

Adding -Wl,-rpath,/usr/lib64/perl5/5.12.2/x86_64-linux-thread-multi/CORE
to the flags
passed to gcc so that the perl executable will find the
installed shared libperl.so.5.12.2.

System manual is in /usr/share/man/man1.
Where do the main Perl5 manual pages (source) go? (~name ok)
[/usr/share/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/share/man/man3]
What suffix should be used for the perl5 library man pages? [3pm]
Figuring out host name...
Your host name appears to be "localhost". Right? [y]
What is your domain name? [.(none)]
What is your e-mail address? [gen...@localhost.(none)]
Perl administrator e-mail address [r...@localhost]
Do you want to install only the version-specific parts of perl? [n]
What shall I put after the #! to start up perl ("none" to not use #!)?
[/usr/bin/perl]
Where do you keep publicly executable scripts? (~name ok) [/usr/bin]
Pathname where the add-on public executables should be installed? (~name ok)
[/usr/bin]
Pathname where the site-specific html pages should be installed? (~name ok)
[none]
Pathname where the site-specific library html pages should be
installed? (~name ok)
[none]
Pathname where the site-specific manual pages should be installed? (~name ok)
[/usr/share/man/man1]
Pathname where the site-specific library manual pages should be
installed? (~name ok)
[/usr/share/man/man3]
Pathname where add-on public executable scripts should be installed? (~name ok)
[/usr/bin]
Use the "fast stdio" if available? [n]
off_t found.
Checking to see how big your file offsets are...
fpos_t found.
Checking the size of fpos_t...
Try to understand large files, if available? [y]
Rechecking to see how big your file offsets are...
Rechecking the size of fpos_t... 16 bytes.
Pathname for the vendor-supplied executables directory? (~name ok)
[/usr/bin]
Pathname for the vendor-supplied html pages? (~name ok) [none]
Pathname for the vendor-supplied html pages? (~name ok) [none]
Pathname for the vendor-supplied manual section 1 pages? (~name ok)
[/usr/share/man/man1]
Pathname for the vendor-supplied manual section 3 pages? (~name ok)
[/usr/share/man/man3]
Pathname for the vendor-supplied scripts directory? (~name ok) [/usr/bin]
Using <string.h> instead of <strings.h>.
qgcvt() found.
Checking how to print long doubles...
gconvert NOT found.
gcvt() found.
I'll use gcvt to convert floats into a string.
fwalk() NOT found.
access() found.
<sys/file.h> defines the *_OK access constants.
accessx() NOT found.
aintl() NOT found.
alarm() found.
ctime64() NOT found.
localtime64() NOT found.
gmtime64() NOT found.
mktime64() NOT found.
difftime64() NOT found.
asctime64() NOT found.
<pthread.h> found.
<sys/types.h> found.
<sys/select.h> found.
Testing to see if we should include <time.h>, <sys/time.h> or both.
We'll include <time.h>.
We'll include <sys/time.h>.
Checking to see if your struct tm has tm_zone field...
Checking to see if your struct tm has tm_gmtoff field...
asctime_r() found.
atolf() NOT found.
atoll() found.
Checking whether your compiler can handle __attribute__((format)) ...
Checking whether your compiler allows __printf__ format to be null ...
Checking whether your compiler can handle __attribute__((malloc)) ...
Checking whether your compiler can handle __attribute__((nonnull(1))) ...
Checking whether your compiler can handle __attribute__((noreturn)) ...
Checking whether your compiler can handle __attribute__((pure)) ...
Checking whether your compiler can handle __attribute__((unused)) ...
Checking whether your compiler can handle __attribute__((deprecated)) ...
Checking whether your compiler can handle
__attribute__((warn_unused_result)) ...
bcmp() found.
bcopy() found.
getpgrp() found.
You have to use getpgrp() instead of getpgrp(pid).
setpgrp() found.
You have to use setpgrp() instead of setpgrp(pid,pgrp).
Checking whether your compiler can handle __builtin_choose_expr ...
Checking whether your compiler can handle __builtin_expect ...
bzero() found.
<stdarg.h> found.
<varargs.h> found.
We'll include <stdarg.h> to get va_dcl definition.
You have <stdarg.h> and <stdlib.h>, so checking for C99 variadic macros.
You have C99 variadic macros.
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.
class() NOT found.
clearenv() found.
Hmm... Looks like you have Berkeley networking support.
socketpair() found.
Checking the availability of certain socket constants...
<sys/uio.h> found.
Checking to see if your system supports struct cmsghdr...
Checking to see if your C compiler knows about "const"...
copysignl() found.
crypt() found.
<crypt.h> found.
crypt_r() found.
ctermid() found.
ctermid_r() NOT found.
ctime_r() found.
cuserid() found.
<limits.h> found.
<float.h> found.
DBL_DIG found.
dbmclose() NOT found.
difftime() found.
<dirent.h> found.
Your directory entries are struct dirent.
Your directory entry does not know about the d_namlen field.
Checking to see if DIR has a dd_fd member variable
<sys/dir.h> found.
<sys/ndir.h> NOT found.
dirfd() found.
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.
drand48_r() found.
dup2() found.
eaccess() found.
endgrent() found.
<grp.h> found.
endgrent_r() NOT found.
endhostent() found.
<netdb.h> found.
endhostent_r() NOT found.
endnetent() found.
endnetent_r() NOT found.
endprotoent() found.
endprotoent_r() NOT found.
endpwent() found.
<pwd.h> found.
endpwent_r() NOT found.
endservent() found.
endservent_r() NOT found.
<sys/file.h> defines the O_* constants...
and you have the 3 argument form of open().
<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>.
fork() found.
pipe() found.
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...
try.c: In function 'main':
try.c:36: warning: ignoring return value of 'pipe', declared with
attribute warn_unused_result
try.c:37: warning: ignoring return value of 'pipe', declared with
attribute warn_unused_result
try.c:53: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
try.c:66: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
try.c:72: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
try.c:78: warning: ignoring return value of 'read', declared with
attribute warn_unused_result
Checking how std your stdio is...
Checking to see what happens if we set the stdio ptr...
Increasing ptr in your stdio decreases cnt by the same amount.  Good.
You seem to have 'fast stdio' to directly manipulate the stdio buffers.
fchdir() found.
fchmod() found.
fchown() found.
fcntl() found.
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.
finite() found.
finitel() found.
flock() found.
fp_class() NOT found
[/code]

Reply via email to