PHP 4.0 Bug #7731: compilation with deprecated abi (no -n32)

From: Date: Thu, 09 Nov 2000 17:20:51 +0000
Subject: PHP 4.0 Bug #7731: compilation with deprecated abi (no -n32)
Groups: php.dev 
Request: Send a blank email to php-dev+get-37590@lists.php.net to get a copy of this message
From: p.pastori@acsys.it Operating system: IRIX 6.5 (6.5.8m) PHP version: 4.0.3pl1 PHP Bug Type: *Install and Config Bug description: compilation with deprecated abi (no -n32) Under IRIX OS all code is generally compiled at least with the -n32 option. Since more than one object format exists SGI states that a portable lib/app would be compiled with the -n32 option. Moreover this is a de facto standard when you need to link toghether more libs (from separate vendors) because different object abi does not link togheter. Under newer platform this is the default but on older you must specify the option above NOT ONLY to the compiler but to the linker too (if as you do do not let the compiler to invoke the linker). I do not known the GNU libtool but to overcome the problem i simply set the following environment variables before run the configure script: setenv CFLAGS '-n32 -INLINE -O2 -OPT:Olimit=0' setenv LDFLAGS -n32 apart from the csh syntax note that the -INLINE directive is given to ensure proper inlining and the -O2 and following Olimit is for ensure that optimization is turned on without memory limit -- Edit Bug report at: http://bugs.php.net/?id=7731&edit=1

« previous php.dev (#37590) next »