Unexpected redirection of compiler output to /dev/null on koji

Jochen Schmitt Jochen at herr-schmitt.de
Wed Sep 10 19:58:05 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakub Jelinek schrieb:
> On Wed, Sep 10, 2008 at 09:01:06PM +0200, Jochen Schmitt wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>
>> Unfortunately, I have to find out, the a new package which I have
>>  imported into cvs failed on koji.
>>
>> After I have a look on the build log, I have to recorgnised the
>> unexpected inserteion of redirection of the compiler output to
>> /dev/null.
>
> You are using libtool and libtool's default behavior is only show
> compiler messages from -fPIC compilation and suppress them in the
> non-pic one.  You can pass -no-suppress to libtool to avoid this
> suppression.
>
>
Tank you for your response, but you explaination seem not to be the
whole true.

It will be nice, if you can explain me why the compiler output was
redirected to /dev/null
in the following example:

if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
- -I. -I..      -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
- -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
- -mtune=generic -fPIC -finline-functions -fsigned-char -Wall
- -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -MT
libcob_la-numeric.lo -MD -MP -MF ".deps/libcob_la-numeric.Tpo" -c -o
libcob_la-numeric.lo `test -f 'numeric.c' || echo './'`numeric.c; \
        then mv -f ".deps/libcob_la-numeric.Tpo"
".deps/libcob_la-numeric.Plo"; else rm -f
".deps/libcob_la-numeric.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall
- -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
- --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -finline-functions
- -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes
- -Wno-format-y2k -MT libcob_la-strings.lo -MD -MP -MF
.deps/libcob_la-strings.Tpo -c strings.c -o libcob_la-strings.o
> /dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -g -pipe -Wall
- -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
- --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -finline-functions
- -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes
- -Wno-format-y2k -MT libcob_la-common.lo -MD -MP -MF
.deps/libcob_la-common.Tpo -c common.c -o libcob_la-common.o>/dev/null
2>&1

Best Regards:

Jochen Schmitt

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjIJsMACgkQT2AHK6txfgz0BQCeIF65BEaVu5f14mkmnDuAFeiH
aWUAnAlbXE/G1WI+GWfGeU+TtGHVs6y6
=3QNT
-----END PGP SIGNATURE-----




More information about the fedora-devel-list mailing list