Date: Thu, 29 Jul 2004 20:14:40 +0000 From: Alexander Kabaev <kan@freebsd.org> To: Mike Jakubik <mikej@rogers.com> Cc: freebsd-current@freebsd.org Subject: Re: another GCC bug Message-ID: <20040729201440.GA83893@freefall.freebsd.org> In-Reply-To: <1904.66.11.183.182.1091128921.squirrel@66.11.183.182> References: <1904.66.11.183.182.1091128921.squirrel@66.11.183.182>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040729201440.GA83893>