#42318 [NEW]: problem with nm
From: rainer dot tammer at schulergroup dot com
Operating system: AIX 5.2/5.3
PHP version: 5.2.3
PHP Bug Type: *Compile Issues
Bug description: problem with nm
Description:
------------
During the AIX build nm could not find the .o files.
Reproduce code:
---------------
export CC=cc_r
export CXX=xlC_r
./configure \
--disable-ipv6 \
--with-libxml-dir=/usr/local \
--with-mysql=/usr/local/mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--with-zlib=/opt/freeware \
--with-jpeg-dir=/opt/freeware \
--with-png-dir=/opt/freeware \
--with-gd \
--enable-gd-native-ttf \
--enable-mbstring \
--with-curl=/usr/local \
--enable-ftp
Expected result:
----------------
On recent AIX systems the .o files are placed in .libs/xxx.o
./sapi/cgi/config9.m4
BUILD_CGI="... | sed 's/\([A-Za-z0-9_]*\)\.lo/\1.o/g'\` | ...
-> change
BUILD_CGI="... | sed 's/\([A-Za-z0-9_]*\)\.lo/.libs\/\1.o/g'\` | ...
./sapi/cli/config.m4
BUILD_CLI="... | sed 's/\([A-Za-z0-9_]*\)\.lo/\1.o/g'\` | ...
-> change
BUILD_CLI="... | sed 's/\([A-Za-z0-9_]*\)\.lo/.libs\/\1.o/g'\` | ...
With the above changes (and a newly generated configre) the build
completes withot errors.
Is this an acceptable solution to the build problem ??
Bye
Rainer
Actual result:
--------------
N/A
--
Edit bug report at http://bugs.php.net/?id=42318&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42318&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42318&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42318&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42318&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42318&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42318&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42318&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42318&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42318&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42318&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42318&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42318&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42318&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42318&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42318&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42318&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42318&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42318&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42318&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42318&r=mysqlcfg
Thread (32 messages)
- rainer dot tammer at schulergroup dot com
- jani@php.net#42318 [Opn->Fbk]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Fbk->Opn]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Opn]: problem with nm not finding object files
- jani@php.net#42318 [Opn->Fbk]: problem with nm not finding object files
- jani@php.net#42318 [Asn]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Asn]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Asn]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Asn]: problem with nm not finding object files
- jani@php.net#42318 [Fbk->Asn]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Asn]: problem with nm not finding object files
- tony2001@php.net#42318 [Asn->Fbk]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Fbk->Opn]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Opn]: problem with nm not finding object files
- jani@php.net#42318 [Opn->Fbk]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Fbk->Opn]: problem with nm not finding object files
- jani@php.net#42318 [Opn->Asn]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Asn]: problem with nm not finding object files
- dmitry@php.net#42318 [Asn]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Asn]: problem with nm not finding object files
- ppryor at pobox dot com#42318 [Com]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Asn]: problem with nm not finding object files
- bduncan8 at yahoo dot com#42318 [Com]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Asn]: problem with nm not finding object files
- jani@php.net#42318 [Asn->Opn]: problem with nm not finding object files
- jani@php.net#42318 [Opn->Asn]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Com]: problem with nm not finding object files
- dmitry@php.net#42318 [Asn]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Asn]: problem with nm not finding object files
- dmitry@php.net#42318 [Asn]: problem with nm not finding object files
- rainer dot tammer at schulergroup dot com#42318 [Asn]: problem with nm not finding object files
- dmitry@php.net#42318 [Asn->Csd]: problem with nm not finding object files