Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17300 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32350 invoked by uid 1010); 18 Jul 2005 02:35:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 32335 invoked from network); 18 Jul 2005 02:35:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2005 02:35:57 -0000 X-Host-Fingerprint: 64.233.184.205 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.205:20610] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity HEAD r(6212)) with SMTP id 7A/03-05256-D851BD24 for ; Sun, 17 Jul 2005 22:35:57 -0400 Received: by wproxy.gmail.com with SMTP id i23so932286wra for ; Sun, 17 Jul 2005 19:35:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iwaVVWD7dmFfj+9iwu5+O+2IyPFFjNCmO5Caj0MKF3RdvhQxiFatq3SBSP/u0DwpTJ0COXfMlQrESs9YCfn0oCEnj8QRVDOlzx4TUHtSYjqaFcCTVhCuCJeuyJSAKjG5aL1c9wWCtJOH5NzB0v9luyzSoHYzpKOErTHj4GJMc20= Received: by 10.54.80.5 with SMTP id d5mr218445wrb; Sun, 17 Jul 2005 19:35:53 -0700 (PDT) Received: by 10.54.101.5 with HTTP; Sun, 17 Jul 2005 19:35:46 -0700 (PDT) Message-ID: Date: Sun, 17 Jul 2005 22:35:46 -0400 Reply-To: Olivier Hill To: Rasmus Lerdorf Cc: internals In-Reply-To: <42DAE15D.5010501@lerdorf.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42DAE15D.5010501@lerdorf.com> Subject: Re: [PHP-DEV] Need to inherit apxs compiler flags From: olivier.hill@gmail.com (Olivier Hill) On 7/17/05, Rasmus Lerdorf wrote: >=20 > 3:47pm colo:~> apxs -q CFLAGS > -DLINUX=3D22 -DEAPI -DTARGET=3D"apache" -DHAVE_SET_DUMPABLE > -DDB_DBM_HSEARCH=3D1 -DDEV_RANDOM=3D/dev/random -DUSE_HSREGEX -O1 -g -Wa= ll > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 >=20 > Anybody see a better way to solve this? IIRC, Gentoo devs added those flags (-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64) on PHP ebuilds because it caused incompatibilities with Apache that was compiled with those flags. Besides, I can use to be able to open >2G files from PHP where Apache can. I'm +1 on this. Anybody can anticipate a problem doing that sort of change? Could it break with some libs that were not compiled with 64 bits FPs or am I missing something? Sincerely, Olivier