Re: another GCC bug

From: Alexander Kabaev <kan_at_freebsd.org>
Date: Thu, 29 Jul 2004 20:14:40 +0000
On Thu, Jul 29, 2004 at 03:22:01PM -0400, Mike Jakubik wrote:
> This warning occurs when compiling php4-mbstrings.
> 
> ---
> cc -DHAVE_CONFIG_H -I.
> -I/usr/ports/converters/php4-mbstring/work/php-4.3.8/ext/mbstring
> -DPHP_ATOM_INC
> -I/usr/ports/converters/php4-mbstring/work/php-4.3.8/ext/mbstring/include
> -I/usr/ports/converters/php4-mbstring/work/php-4.3.8/ext/mbstring/main
> -I/usr/ports/converters/php4-mbstring/work/php-4.3.8/ext/mbstring
> -I/usr/local/include/php -I/usr/local/include/php/main
> -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM
> -I/usr/ports/converters/php4-mbstring/work/php-4.3.8/ext/mbstring/mbregex
> -I/usr/ports/converters/php4-mbstring/work/php-4.3.8/ext/mbstring/libmbfl
> -I/usr/ports/converters/php4-mbstring/work/php-4.3.8/ext/mbstring/libmbfl/mbfl
> -DHAVE_CONFIG_H -O2 -pipe -march=pentium3 -prefer-pic -c
> /usr/ports/converters/php4-mbstring/work/php-4.3.8/ext/mbstring/mbregex/mbregex.c
>  -fPIC -DPIC -o mbregex/.libs/mbregex.lo
> cc: unrecognized option `-prefer-pic'
> ---
 
GCC bug you say? Well, explain this then: 

% gcc -prefer-pic t.c
gcc: unrecognized option `-prefer-pic'
gcc: No input files specified

% gcc --version    
gcc (GCC) 3.3.3 [FreeBSD] 20031106
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Pay attention to the GCC version number. Still looks like GCC bug for you?

--
Alexander Kabaev
Received on Thu Jul 29 2004 - 18:14:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC