marco@reynes ict2 $ gcc --version 2.95.3 configure results: Support for shared libraries: yes C++ language binding for PDFlib: yes Java language binding for PDFlib: yes Perl language binding for PDFlib: yes Python language binding for PDFlib: yes Tcl language binding for PDFlib: yes PHP language binding for PDFlib: yes (see bind/php/readme.txt for details) PDF import library (PDI): no cd tiff && make cd flate && make make[1]: Entering directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/flate' ../libtool --silent --mode=compile gcc -c -DHAVE_DLFCN_H=1 -march=i686 -03 -pipe -DPDF_PLATFORM=\""Linux 2.4.19-gentoo-r7"\" adler32.c make[1]: Entering directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/tiff' ../libtool --silent --mode=compile gcc -c -I../pdflib -DHAVE_DLFCN_H=1 -march=i686 -03 -pipe -DPDF_PLATFORM=\""Linux 2.4.19-gentoo-r7"\" tif_auxx.c gcc: unrecognized option `-03' gcc: No input files make[1]: *** [adler32.lo] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/flate' make: *** [libz] Erreur 2 make: *** Attente des tâches non terminées.... ../libtool --silent --mode=compile gcc -c -I../pdflib -DHAVE_DLFCN_H=1 -march=i686 -03 -pipe -DPDF_PLATFORM=\""Linux 2.4.19-gentoo-r7"\" tif_close.c gcc: unrecognized option `-03' gcc: No input files make[1]: *** [adler32.lo] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/flate' make: *** [libz] Erreur 2 make: *** Attente des tâches non terminées.... ../libtool --silent --mode=compile gcc -c -I../pdflib -DHAVE_DLFCN_H=1 -march=i686 -03 -pipe -DPDF_PLATFORM=\""Linux 2.4.19-gentoo-r7"\" tif_close.c gcc: unrecognized option `-03' gcc: No input files make[1]: *** [tif_close.lo] Erreur 1 make[1]: *** Attente des tâches non terminées.... gcc: unrecognized option `-03' gcc: No input files make[1]: *** [tif_auxx.lo] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/tiff' make: *** [libtiff] Erreur 2 !!! ERROR: media-libs/pdflib-4.0.3-r1 failed. !!! Function src_compile, Line -238, Exitcode 2 !!! (no error message) I tried to emerge again tiff but there is no impact on pdflib Reproducible: Always Steps to Reproduce: 1. 2. 3.
marco@reynes ict2 $ gcc --version 2.95.3 configure results: Support for shared libraries: yes C++ language binding for PDFlib: yes Java language binding for PDFlib: yes Perl language binding for PDFlib: yes Python language binding for PDFlib: yes Tcl language binding for PDFlib: yes PHP language binding for PDFlib: yes (see bind/php/readme.txt for details) PDF import library (PDI): no cd tiff && make cd flate && make make[1]: Entering directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/flate' ../libtool --silent --mode=compile gcc -c -DHAVE_DLFCN_H=1 -march=i686 -03 -pipe -DPDF_PLATFORM=\""Linux 2.4.19-gentoo-r7"\" adler32.c make[1]: Entering directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/tiff' ../libtool --silent --mode=compile gcc -c -I../pdflib -DHAVE_DLFCN_H=1 -march=i686 -03 -pipe -DPDF_PLATFORM=\""Linux 2.4.19-gentoo-r7"\" tif_auxx.c gcc: unrecognized option `-03' gcc: No input files make[1]: *** [adler32.lo] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/flate' make: *** [libz] Erreur 2 make: *** Attente des tâches non terminées.... ../libtool --silent --mode=compile gcc -c -I../pdflib -DHAVE_DLFCN_H=1 -march=i686 -03 -pipe -DPDF_PLATFORM=\""Linux 2.4.19-gentoo-r7"\" tif_close.c gcc: unrecognized option `-03' gcc: No input files make[1]: *** [adler32.lo] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/flate' make: *** [libz] Erreur 2 make: *** Attente des tâches non terminées.... ../libtool --silent --mode=compile gcc -c -I../pdflib -DHAVE_DLFCN_H=1 -march=i686 -03 -pipe -DPDF_PLATFORM=\""Linux 2.4.19-gentoo-r7"\" tif_close.c gcc: unrecognized option `-03' gcc: No input files make[1]: *** [tif_close.lo] Erreur 1 make[1]: *** Attente des tâches non terminées.... gcc: unrecognized option `-03' gcc: No input files make[1]: *** [tif_auxx.lo] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/tiff' make: *** [libtiff] Erreur 2 !!! ERROR: media-libs/pdflib-4.0.3-r1 failed. !!! Function src_compile, Line -238, Exitcode 2 !!! (no error message) I tried to emerge again tiff but there is no impact on pdflib Reproducible: Always Steps to Reproduce: 1. 2. 3.
my CFLAGS was equal to CFLAGS="-march=i686 -03 -pipe" I fixed the problem with changing that to CFLAGS="-march=i686" emerge pdflib This option usually doesn't provide me any problems, even if I don't know what is the use of it.
the option is -O3 not -03 (that is oh three, NOT zero three)