From owner-freebsd-current@FreeBSD.ORG Thu Jul 29 20:14:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E646216A4CE for ; Thu, 29 Jul 2004 20:14:40 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8C5143D1F; Thu, 29 Jul 2004 20:14:40 +0000 (GMT) (envelope-from kan@FreeBSD.org) Received: from freefall.freebsd.org (kan@localhost [127.0.0.1]) i6TKEeei084033; Thu, 29 Jul 2004 20:14:40 GMT (envelope-from kan@freefall.freebsd.org) Received: (from kan@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6TKEeV8084032; Thu, 29 Jul 2004 20:14:40 GMT (envelope-from kan) Date: Thu, 29 Jul 2004 20:14:40 +0000 From: Alexander Kabaev To: Mike Jakubik Message-ID: <20040729201440.GA83893@freefall.freebsd.org> References: <1904.66.11.183.182.1091128921.squirrel@66.11.183.182> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1904.66.11.183.182.1091128921.squirrel@66.11.183.182> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org Subject: Re: another GCC bug X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2004 20:14:41 -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